Ok, I precompiled website, used ftp to connect, copied it to a real envirovment, and hit my head into the wall for the past few days. Half of the website works and half does not. Even after loging in as an administrator, makes no difference, here is the code.
__________________________________________________ _-------
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.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' 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.
Stack Trace:
[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
System.Security.CodeAccessSecurityEngine.Check(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.Configuration.BaseConfigurationRecord.Check PermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
_--------------------_------------------------_----------------
THIS is not all, I went to my asp web event in database and this is what i pulled out:
Event code: 4010Event message: An unhandled security exception has occurred.Event time: 8/42007 4:04:51 PMEvent ID: 0ac939688861433eb3dc9b4cafc095e6Event sequence: 124Event occurrence: 21Event detail code: 0 Application information: Application domain: /LM/W3SVC/1268647/Root-229-128304758184117307 Trust level: Custom Application Virtual Path: / Application Path: E:\0\1\27\162\1190977\user\1268647\htdocs\ Machine name: W2K3-WEB19 Process information: Process ID: 1264 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Request information: Request URL:
http://www.olmv.net/Default1.aspx Request path: /Default1.aspx User host address: something something ⦠User: Admin Is authenticated: True Authentication Type: Forms Thread account name: NT AUTHORITY\NETWORK SERVICE
âSystem.Web.Management.WebFailureAuditEventâ
________________-_________________________________________
So help me before i get internal bleeding from trying to figure this out...