Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > RE: FileLoadException. Access is denied. (0x80070005)

Reply
Thread Tools

RE: FileLoadException. Access is denied. (0x80070005)

 
 
Brock Allen
Guest
Posts: n/a
 
      04-14-2005
A partially trusted caller can't call into a strongly named assembly. I'm
wondering if your calling code is not FullyTrusted? You can add the AllowPartiallyTrustedCallers
attribute to your assembly to your strongly named assembly, but this should
only be done after you've done a security code review and checked your code
for possible vulnrabilities. Here's the syntax:

[assembly: AllowPartiallyTrustedCallers]

-Brock
DevelopMentor
http://staff.develop.com/ballen



> I experienced the same problem. Getting a FileLoadException for my
> ASP.NET apps when using strongly named external dll.
>
> Resolved my problem by removing the strong name.
>




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very annoying error: Access to the path is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity Jay ASP .Net 2 08-20-2007 07:38 PM
403 Forbidden: You were denied access because: Access denied by access control list Southern Kiwi NZ Computing 6 03-19-2006 05:19 AM
one computer can access shared files the other can't even access =?Utf-8?B?SiBIYW1lcg==?= Wireless Networking 4 12-07-2004 03:13 AM
Desktop can't access Laptop but Laptop can access desktop =?Utf-8?B?Qmx1Y2FkZHk3MQ==?= Wireless Networking 2 11-23-2004 01:52 AM
How do I let people access the internet via an access point but not allow them access to my network yar Wireless Networking 4 09-21-2004 03:48 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57