Access is denied: 'Microsoft.Web.UI.WebControls'.

G

Guest

Recently I am getting this error randomly while working with visual studio
..NET 2003 on a C# project and browsing my application. Everything comes to
normal after rebooting. Can someone help on this? The following is the detail
error message:

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 329: type="Microsoft.VJSharp.VJSharpCodeProvider,
VJSharpCodeProvider, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" /></compilers>
Line 330: <assemblies>
Line 331:<!--
Line 332:BEGIN section inserted by Device Update 4 installer.
Line 333:-->


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

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:///C:/Inetpub/wwwroot/MaestroTec/DMS
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:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/maestrotec_dms/062d8651/b2222df4/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/maestrotec_dms/062d8651/b2222df4/Microsoft.Web.UI.WebControls/Microsoft.Web.UI.WebControls.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/MaestroTec/DMS/bin/Microsoft.Web.UI.WebControls.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Web.UI.WebControls, Version=1.0.2.226,
Culture=neutral, PublicKeyToken=a222e796b10aec67
 
G

Guest

This is happening to me to. I've fixed it with a machine reboot or
dereferencing the control
but that doesn't work everytime.
 

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,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top