Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

That assembly does not allow partially trusted callers

Status
Not open for further replies.

tlhawkins

Programmer
Dec 28, 2000
797
US
Hey,

I'm moving a website from a dedicated server to a hosted account. There are several assemblies that were created rather loosely on the dedicated server and of course everyone played nice because they were all fully trusted.

On the hosted account, of course, I'm getting errors about the assemblies not being trusted.

I've searched (am I the first to say BING instead of google) and found several pages about it. I've added:
[assembly: AllowPartiallyTrustedCallers]

to all the assemblies and they are still giving the same error. Is there something else I'm missing?

Thanks in advance

Travis Hawkins
jobs.bestcodingpractices.com
 
Are the assemblies calling any of the assemblies / classes detailed here, as they have attributes on them preventing partial trust.

I also recall something that can be set in the web.config to make your application allow partially trusted assemblies. However, it may also be that your hosted provider is stopping you..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top