M
Michael Tissington
I have converted an application to asp.net 2.0.
a C# file in my App_Code folder calls a C++ DLL that is in my BIN folder.
In the previous version of .NET this worked correctly. However in a hosted
environment I'm now getting a a security error when I try to call the
external dll.
---
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:
System.Security.Permissions.SecurityPermission
a C# file in my App_Code folder calls a C++ DLL that is in my BIN folder.
In the previous version of .NET this worked correctly. However in a hosted
environment I'm now getting a a security error when I try to call the
external dll.
---
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:
System.Security.Permissions.SecurityPermission