MySQL Database, Security Exception

I am building a my first VB.NET website using a MySQL Database.
Offline everything works fine. Online i get an error message:

"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 failed."

Can anyone help me to solve this problem



Answer this question

MySQL Database, Security Exception

  • JayZeus

    In my opinion: where the MySql database  server create a  database it make a new directory for the database. It may be also an authorization problem. and the mysql server may be refuse the request.(It has not enough authority)
    if not this problem you may check out you web.config file as well

  • esc

    Your web application is attempting to perform a function that it does not have permissions to do.

    Have a look at the following page for more information: http://msdn2.microsoft.com/en-us/library/tkscy493.aspx.

    Regards

    David



  • MySQL Database, Security Exception