Error Running MVC2 application in IIS on .NET 4.0

Posted by Matt Wrock on Stack Overflow See other posts from Stack Overflow or by Matt Wrock
Published on 2010-04-10T01:06:47Z Indexed on 2010/04/10 1:13 UTC
Read the original article Hit count: 956

Filed under:
|
|
|

I recently installed the RTM version of 4.0. I now receive an error when running MVC2 websites in a .net 4 app pool. The error is "User is not available in this context." All works fine on .net 2.0 app pools or if I run the app within the VS10 web server. The error only occurs in IIS on .net 4.0. To verify that it was not something specific to my app, I created a new MVC test app from the VS template and even that app encounters this error. My next step is to reinstall .net 4.0.

Has anyone else seen this error?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about .NET