Last post Jan 02, 2008 12:46 PM by HostingASPNet
Jan 02, 2008 10:48 AM|Dollarjunkie|LINK
I keep getting the below Exception message when I try to run my code. can anyone please help me ?? I have tried the fix on this page
http://forums.codecharge.com/posts.php?post_id=67135 and it has yet to work for me .
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: Requested registry access is not allowed.
Jan 02, 2008 12:46 PM|HostingASPNet|LINK
It seems that user which runs your program has not access to the registry. Give your user higher security permission, by example add it to administrators group, or execute your code with another user, which already has such permissions.