Home   Help Login Register  
Welcome, Guest. Please login or register.

Login with username, password and session length

Search
Free Website WooThemes - Quality Themes, Great Support
Pages: [1]   Go Down
Print
Topic: assembly does not allow partially trusted callers  (Read 2163 times)
« on: January 18, 2007, 09:52:11 PM »
scott Offline
Newbie

View Profile
*

iTrader: 0
Posts: 33



Hello,

I have developed an application using Asp.Net and MySQL. It is working fine in my local system but when I have uploaded it to my web site but it is giving me below error..

System.Security.SecurityException: That assembly does not allow partially trusted callers.

I am using MySql.Data.dll.

Any help would be appreciated.

Thanks,

Scott

Share this topic on AskShare this topic on BlinkbitsShare this topic on BlinklistShare this topic on BloglinesShare this topic on BmarksShare this topic on Del.icio.usShare this topic on DiggShare this topic on DzoneShare this topic on FacebookShare this topic on Feed Me LinksShare this topic on FurlShare this topic on GoogleShare this topic on LiveShare this topic on MagnoliaShare this topic on MySpaceShare this topic on NetvouzShare this topic on NewsvineShare this topic on OneviewShare this topic on RedditShare this topic on RojoShare this topic on ScuttleShare this topic on ShadowsShare this topic on SlashdotShare this topic on SpurlShare this topic on SquidooShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on TipdShare this topic on YahooShare this topic on Google buzz
« Last Edit: December 31, 1969, 05:00:00 PM by scott » Logged
« Reply #1 on: January 20, 2007, 02:02:10 AM »
Kailash Offline
Administrator
Newbie

View Profile WWW
*****

iTrader: 50
Posts: 285



Hi Scott,

Welcome to the forum!

It seems that you have developed your application in full trust level and your hosting provider doesn’t allow full trust level on their server. You have to either modify your application to run under the trust level which is set on the server (Most of the hosting providers set the medium trust level on the server for security reasons) or you have to contact your hosting provider to change the trust level on the server.

If you modify your application then you have to recompile your DLL file ‘MySql.Data.dll’ and have to upload it again.

Thanks,
« Last Edit: March 03, 2007, 12:10:49 AM by Kailash » Logged

« Reply #2 on: January 20, 2007, 07:47:25 PM »
scott Offline
Newbie

View Profile
*

iTrader: 0
Posts: 33



Thanks Kailash,

It fixed... :D

Scott
« Last Edit: December 31, 1969, 05:00:00 PM by scott » Logged
Pages: [1]   Go Up
Print
Jump to:  

Untitled Document
(c) 2010 HELM, WHM, cPanel, ASP, .Net development, PHP, MySQL, MSSQL Server, SEO support forum
Powered by SMF 1.1.16 | SMF © 2011, Simple Machines | Forum style designed by PixelSlot
Web Hosting - Sitemap - XML Sitemap