Configuration Error - Access is denied: 'Microsoft.Web.UI.WebControls'

K

KMart

Hello,
I have a ASP.NET/C# application that uses the IE Web Controls. Everything
was working fine. Then, for some unknown reason, everything stopped working.
Here's the error information:


Server Error in '/application' Application.
----------------------------------------------------------------------------
----

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'Microsoft.Web.UI.WebControls'.

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:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

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

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls
(Partial)
LOG: Appbase = file:///D:/[path to application]
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.Web.UI.WebControls
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/Microsoft.Web.UI.WebControls/Microsoft.W
eb.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///D:/[path to
application]/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, PublicKeyToken=null

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


Sure enough the path to the temporary ASP.NET files
(C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/) is locked and cannot be accessed. The
only way I've been able to recover is to reboot my machine.


What is this error? Why does it happen? How can I prevent it? Is there any
other way to recover than rebooting?


Thanks.
 
V

Vaibhav

This is indeed a weird problem and has happened lot of times on my machine
also.

One option i found on the internet is to delete the temporary application
folder under the .NetFramework directory.

Other is to reboot.

HTH


KMart said:
Hello,
I have a ASP.NET/C# application that uses the IE Web Controls. Everything
was working fine. Then, for some unknown reason, everything stopped
working.
Here's the error information:


Server Error in '/application' Application.
----------------------------------------------------------------------------
----

Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Access is denied: 'Microsoft.Web.UI.WebControls'.

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:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

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

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Web.UI.WebControls
(Partial)
LOG: Appbase = file:///D:/[path to application]
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.Web.UI.WebControls
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/Microsoft.Web.UI.WebControls/Microsoft.W
eb.UI.WebControls.DLL.
LOG: Attempting download of new URL file:///D:/[path to
application]/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: Microsoft.Web.UI.WebControls,
Version=1.0.2.226,
Culture=neutral, PublicKeyToken=null

----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032


Sure enough the path to the temporary ASP.NET files
(C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/application/31993a5c/ec8863c9/) is locked and cannot be accessed.
The
only way I've been able to recover is to reboot my machine.


What is this error? Why does it happen? How can I prevent it? Is there any
other way to recover than rebooting?


Thanks.
 

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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top