views:

16

answers:

0

Hi, I have hosted my website on godaddy and referenced MYSQL.Data.dll. This works fine on localhost. However when i try to run the same code online it throws the following error. System.Security.SecurityException: That assembly does not allow partially trusted callers.

I have downloaded the MqSQL.Data code version 6.2.4. which already has using System.Security; and [assembly: AllowPartiallyTrustedCallers()].

Please let me know if there is a known solution for this.