I'm trying to setup an ASP.NET MVC 3 project to run in medium trust in visual studio with IIS Express because I have to deploy the app to GoDaddy :(
So in <system.web>
I added <trust level="Medium" />
but when running the project, I see this YSOD:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
What am I doing wrong?
Did you take a look at this thread http://forums.iis.net/t/1148147.aspx