Hi,
I've just signed up to RFH and so far I'm very impressed. I've just hit a bit of a problem with connecting to a MySQL database from ASP.NET 2.0
I've created the MySQL database and user with no problems, copied the data across successfully, but get the following error when trying to access the data with ASP.NET 2 code :
Security Exception : That assembly does not allow partially trusted callers.
Having tried to set the trusted level to medium in my web.config, which didn't work, I'm now a bit stuck....![]()
Can anyone please help ? Is there a best practice to be followed when connecting to MySQL from ASP.NET 2.0 ? Do I need to use MSSQL instead ?
Thanks.


Reply With Quote

Bookmarks