From ASP.NET 1.1 to 2.0:

M

mlfblom

Hi,

Recently, my hosting partner (shared hosting) updated my account from
..NET 1.1 to 2.0. After this update one particular call to a DLL
(freeware Metabuilders FirstFocus) results in an error:

System.Security.SecurityException: That assembly does not allow
partially trusted callers
From the info that I found on www and usenet, this means that my
partially trusted web app is referencing a strongly-named assembly
Firstfocus.dll and that is not allowed. I also read that this mechanism
is also in place for .NET 1.1 but I had never seen this before as it
all worked fine.

My questions
1. why did I not have this issue with .NET 1.1?
2. what can I do about it?

Thanks,

Mark
 
D

Dominick Baier [DevelopMentor]

Hello (e-mail address removed),

your hoster has also set the web sites to partial trust during the update
(a wise decision).

Only assemblies that have the [AllowPartiallyTrustedCallers] attribute can
be called from partially trusted code. This does not seem to be the case
here.
 
D

Dominick Baier [DevelopMentor]

Hello (e-mail address removed),

try to put a

<trust level="Full" />

into your local web.config - you should get an error saying you can't override
that setting - if you don't get an error - your hoster did a bad job - but
worth a try :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,145
Messages
2,570,824
Members
47,370
Latest member
desertedtyro29

Latest Threads

Top