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
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