473,472 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Access is denied: 'microsoft.web.ui.webcontrols'

I keep getting this error running a VB .NET web forms
application. I exit visual studio kill the aspnet_wp.exe
process and restart vs and works again. Any help would be
appreciated. Just to re-iterate not a consitent error.
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 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:\winnt\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.web.ui.webcontrols' could not be
loaded.
=== Pre-bind state information ===
LOG: DisplayName = microsoft.web.ui.webcontrols
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/SANTrackingEMEA
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/Tempora
ry ASP.NET
Files/santrackingemea/df48971e/6678ddc7/microsoft.web.ui.w
ebcontrols.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Tempora
ry ASP.NET
Files/santrackingemea/df48971e/6678ddc7/microsoft.web.ui.w
ebcontrols/microsoft.web.ui.webcontrols.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SANTrackingEMEA/bin/microsoft.w
eb.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


Jul 21 '05 #1
4 5327
This may well help

http://support.microsoft.com/default...b;en-us;329065

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"

Jul 21 '05 #2
KS
an*****@online.microsoft.com (Andy Mortimer [MS]) wrote in message news:<YA**************@cpmsftngxa07.phx.gbl>...
This may well help

http://support.microsoft.com/default...b;en-us;329065

Andy Mortimer [MS]
Please do not send email directly to this alias. This alias is for
newsgroup purposes only

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"


The indexing server is not running on my machine and I am still
getting this problem. Do you have any other suggestions?
Jul 21 '05 #3
This may be of help, in the past:-
-------------------------------------
This is due to the fact that in ASP.NET any dll that is referenced must
either
be in a directory called bin inside the applications direcotry, or must be
in
the Global Assembly Cache.

Resolution

=============

To resolve this we tried it both ways. We added a bin directory that
contained
the dll, and this worked. Then we registered the dll in the GAC by dragging
and dropping the file into the Assebly folder using two instances of
Windows
Explorer as documented in this article:

Q315682 HOW TO: Install an Assembly into the Global Assembly Cache in Vi

http://support.microsoft.com/support.../q315/6/82.asp
--------------------------------------
Parser Error Message: File or assembly name Microsoft.Web.UI.WebControls,
or one of
its dependencies, was not found.

Cause:
======
- The directory in IIS which contained the ASP.NET pages was not
marked as
an application.
- This is required for the code to work correctly.
- To mark the directory as an application, follow the steps
outlined
below:

1) In the IIS management console, right-click on the directory in
question.
2) Choose Properties.
3) In the Virtual Directory property page, go to the Application
Settings
Section and hit the Create Button.
4) This will create an Application in IIS for that folder.

Jul 21 '05 #4
This may be of help, in the past:-
-------------------------------------
This is due to the fact that in ASP.NET any dll that is referenced must
either
be in a directory called bin inside the applications direcotry, or must be
in
the Global Assembly Cache.

Resolution

=============

To resolve this we tried it both ways. We added a bin directory that
contained
the dll, and this worked. Then we registered the dll in the GAC by dragging
and dropping the file into the Assebly folder using two instances of
Windows
Explorer as documented in this article:

Q315682 HOW TO: Install an Assembly into the Global Assembly Cache in Vi

http://support.microsoft.com/support.../q315/6/82.asp
--------------------------------------
Parser Error Message: File or assembly name Microsoft.Web.UI.WebControls,
or one of
its dependencies, was not found.

Cause:
======
- The directory in IIS which contained the ASP.NET pages was not
marked as
an application.
- This is required for the code to work correctly.
- To mark the directory as an application, follow the steps
outlined
below:

1) In the IIS management console, right-click on the directory in
question.
2) Choose Properties.
3) In the Virtual Directory property page, go to the Application
Settings
Section and hit the Create Button.
4) This will create an Application in IIS for that folder.


Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times...
1
by: VB Programmer | last post by:
I am using a free rich text control from ExportTechnologies. I was developing and debuggin fine. Restarted VS.NET 2003 and now I get this error when trying to run my web app. Any ideas? ...
16
by: Brad | last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is denied" error when attempting to run or debug. The only thing that seems to resolve problem is IISReset. After a reset my...
1
by: KMart | last post by:
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: ...
1
by: Lorenc | last post by:
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...
4
by: Chuck Farah | last post by:
I keep getting this error running a VB .NET web forms application. I exit visual studio kill the aspnet_wp.exe process and restart vs and works again. Any help would be appreciated. Just to...
1
by: cpajoe2001 | last post by:
I am having an issue and after searching around online for a day and half now and finding others with the same problem but yet no solution to my issue I am looking for help. What i have is ServerA...
1
by: karthi84 | last post by:
hi, when i tried to open a new excel spread sheet from my web form i got this access denied page. can any one help me in solving this problem. Server Error in '/sk/ContractInvoice'...
8
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.