I've got a build with a subset of GET requests that work in one environment but not in another. Even weirder, they do work on initial request, but craps out on all subsequent requests. The error returned is this badboy:
The view at '..' must derive from ViewPage, ViewPage<TModel>, ViewUserControl, or ViewUserControl<TModel>.
It seems to be almost certainly assemblies stepping on each other, but I can't get my head wrapped around it. There were changes in bin assemblies (that, in turn, referenced System.Web.Mvc) between builds, but that doesn't explain why one environment works but the other doesn't. I don't see much GAC differences either.
I'm not asking specifically about this error (it generally has to do with out of sync System.Web.Mvc assemblies), but more about the weird behavior I'm seeing.
Why would an initial request succeed, but subsequent requests fail with the above error?
Has anyone else seen behavior similar to this?