ASP.NET app with VS2005 running on Win2003 with IIS6, and SQL2000 on a WinXP Box
I've betting the following for days... it's driving me insane:
Server Error in '/' Application.
Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=22.214.171.124,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified
using the exception stack trace below.
The referenced token can be found here:
ConnectionRef="strMRConn_Test_System (Web.config)" [...]
ScalarCallRetval="System.Object, mscorlib, Version=126.96.36.199,
This is in my XSD (DataSet) file.
I believe this is a compile error (not an RTE), as the default page has no connection to SQL and it's plain HTML. Yet I can buil successfully! Running (w/ or w/out debugging won't work).
The ASPNET account of the IIS6 server has full permission on the site folders (under wwwroot).