View Single Post
  #3 (permalink)  
Old 01-02-2007
Nici Nici is offline
Administrator
 
Join Date: Sep 2004
Posts: 30
Rep Power: 10
Nici has disabled reputation
Default

Ralph,

It seems that your hosting provider has partial trust enabled on the server for ASP.NET, which is good as far security is concerned. So, i would recommend you to write down your code acceptable in partial trust environment.

Make sure that the MySQL provider is not strongly signed (which would give an implicit LinkDemand for FullTrust on every public and protected method of every publicly visible class), as it refuses to be called by partially trusted code. In this case, you should recompile the MySql.Data.dll without strongly signing it.

Let me know if that works for you.

Thanks,
__________________
Nici @ AccuWebHosting.Com
----------------------
Technical Leader // Forum Admin
AccuWebHosting.com
Reply With Quote