Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Access Denied to Reference dll

Reply
Thread Tools

Access Denied to Reference dll

 
 
byrd48
Guest
Posts: n/a
 
      10-30-2005
Hi,
I have a web project that uses a dll file for email functions. When
I'm working on the program in VS, something happens (for no reason
apparent to me) that causes an access denied error as posted below. Is
another process using the dll file? I have to reboot the computer
before I can compile or run the application again.
Thanks,
Jon
Parser Error Message: Access is denied: 'qqMail'.

Source Error:


Line 256: <add assembly="System.EnterpriseServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 257: <add assembly="System.Web.Mobile,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line 258: <add assembly="*"/>
Line 259: </assemblies>
Line 260:


Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
Line: 258

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'qqMail' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = qqMail
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/jpg
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: qqMail
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jpg/4e3a0e9d/931153c7/qqMail.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/jpg/4e3a0e9d/931153c7/qqMail/qqMail.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/jpg/bin/qqMail.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: qqMail, Version=4.0.2016.38570,
Culture=neutral, PublicKeyToken=null

 
Reply With Quote
 
 
 
 
Patrick.O.Ige
Guest
Posts: n/a
 
      10-31-2005
Give ComputerNmae/ASPNET acct the right persmissions.
Patrick


"byrd48" <> wrote in message
news: ups.com...
> Hi,
> I have a web project that uses a dll file for email functions. When
> I'm working on the program in VS, something happens (for no reason
> apparent to me) that causes an access denied error as posted below. Is
> another process using the dll file? I have to reboot the computer
> before I can compile or run the application again.
> Thanks,
> Jon
> Parser Error Message: Access is denied: 'qqMail'.
>
> Source Error:
>
>
> Line 256: <add assembly="System.EnterpriseServices,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 257: <add assembly="System.Web.Mobile,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 258: <add assembly="*"/>
> Line 259: </assemblies>
> Line 260:
>
>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Confi g\machine.config
> Line: 258
>
> Assembly Load Trace: The following information can be helpful to
> determine why the assembly 'qqMail' could not be loaded.
>
>
> === Pre-bind state information ===
> LOG: DisplayName = qqMail
> (Partial)
> LOG: Appbase = file:///c:/inetpub/wwwroot/jpg
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Policy not being applied to reference at this time (private,
> custom, partial, or location-based assembly bind).
> LOG: Post-policy reference: qqMail
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/jpg/4e3a0e9d/931153c7/qqMail.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/jpg/4e3a0e9d/931153c7/qqMail/qqMail.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/jpg/bin/qqMail.DLL.
> LOG: Policy not being applied to reference at this time (private,
> custom, partial, or location-based assembly bind).
> LOG: Post-policy reference: qqMail, Version=4.0.2016.38570,
> Culture=neutral, PublicKeyToken=null
>



 
Reply With Quote
 
 
 
 
byrd48
Guest
Posts: n/a
 
      10-31-2005
Thanks for the response.

But why would it compile normally then suddenly get access denied? I
use this control in my project successfully all the time, it's just
when I'm developing and debugging, it will suddenly do this. This
morning, I debugged and ran the app probably 20 times before this
happened.

Jon

 
Reply With Quote
 
Patrick.O.Ige
Guest
Posts: n/a
 
      10-31-2005
Is it ok now?
Patrick

"byrd48" <> wrote in message
news: ps.com...
> Thanks for the response.
>
> But why would it compile normally then suddenly get access denied? I
> use this control in my project successfully all the time, it's just
> when I'm developing and debugging, it will suddenly do this. This
> morning, I debugged and ran the app probably 20 times before this
> happened.
>
> Jon
>



 
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
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments