Access is denied when using Enterprise library

J

John Dalberg

I am getting the error below many times when I am trying to use the
Enterprise Library. The solution seems to be a reboot. I am using Windows
2003 as my dev box. The error also happens with other library blocks. I am
in the admin group in the machine and I changed the processmodel in
machine.config to SYSTEM. AFAIK, I have elevated my access to the highest.





Parser Error Message: Access is denied:
'Microsoft.Practices.EnterpriseLibrary.Configuration'.

Source Error:


Line 196: <add
assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/> Line 197:
<add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"/> Line 198:
<add assembly="*"/> Line 199: </assemblies>
Line 200: </compilation>


Source File:
c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
198

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


=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Practices.EnterpriseLibrary.Configuration
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/DemoDepotEmailScripts
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:
Microsoft.Practices.EnterpriseLibrary.Configuration
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/demodepotemailscripts/dc3af59d/f286a47/Microsoft.Practices.Enterpri
se Library.Configuration.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/demodepotemailscripts/dc3af59d/f286a47/Microsoft.Practices.Enterpri
se
Library.Configuration/Microsoft.Practices.EnterpriseLibrary.Configuration
.D LL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/DemoDepotEmailScripts/bin/Microsoft.Practices.
En terpriseLibrary.Configuration.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference:
Microsoft.Practices.EnterpriseLibrary.Configuration, Version=1.1.0.0,
Culture=neutral, PublicKeyToken=null
 

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

No members online now.

Forum statistics

Threads
473,955
Messages
2,570,117
Members
46,705
Latest member
v_darius

Latest Threads

Top