
May 24th, 2002, 02:38 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
Security Exception when running ASP.NET Web Application
<i><b>Originally posted by : Kenny Petro (pofo14@yahoo.com)</b></i><br /><br />I am having trouble running ANY aspx file. I created a new project and try to view the WebForm1.aspx file when it has no code just text and get the following security exception. I assuming some setting is off, I have tried many things any help would be appreciated.<br /><br />Server Error in '/WebApplication1' Application.<br />--------------------------------------------------------------------------------<br /><br />Security Exception <br />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. <br /><br />Exception Details: System.Security.SecurityException: Requested registry access is not allowed.<br /><br />Source Error: <br /><br />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. <br /><br />Stack Trace: <br /><br /><br />[SecurityException: Requested registry access is not allowed.]<br /> Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473<br /> Microsoft.Win32.RegistryKey.OpenSubKey(String name) +27<br /> System.Web.Util.ReadWriteSpinLock..cctor() +110<br /><br /> <br />
|