Code: Select all
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.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source Error: [No relevant source lines]
I don not understand why 2 out of the 3 work but not the last. I have tried to find an example but have not been able to find the information I need. The web.config file for the most part is setup right out of the help doc that comes with the provider. Can someone please help me out here. I have been fighting this issue for a few days now.
PS> The only reason I am using the MySQL Direct Provider is because my host does not allow people to use the DBO account in mSQL. And the default membership provider requires access to the dbo account.
Thanks!