Ask a Question related to ASP.NET Security, Design and Development.
-
howard39@nospam.nospam #1
Configuration Error -- Access is denied
I occasionally get the following message when I try to start up my ASP.NET
application on my development system after a rebuild. Rebuilding and then
rebooting usually seems to fix the problem. This is in Visual Studio.Net 1.1.
The solution includes a main program project that refers to a library, also
included in the solution. The library contains references to 4 Microsoft
Application Blocks, but only this one causes trouble.
Any help would be appreciated.
-------------------------------------------------
Server Error in '/XXXXXXX' 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.ApplicationBlocks.ConfigurationManageme nt'.
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.ApplicationBlocks.ConfigurationManageme nt' could
not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = Microsoft.ApplicationBlocks.ConfigurationManagemen t
(Partial)LOG: Appbase =
file:///C:/Projects/TrafficSystem/TrafficWebAppSolution/Traffic.Net
LOG: Initial PrivatePath = binCalling 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.ApplicationBlocks.ConfigurationManagemen t
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/traffic.net/b3c9abe7/4fe05110/Microsoft.ApplicationBlocks.ConfigurationManagemen t.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/traffic.net/b3c9abe7/4fe05110/Microsoft.ApplicationBlocks.ConfigurationManagemen t/Microsoft.ApplicationBlocks.ConfigurationManagemen t.DLL.
LOG: Attempting download of new URL
file:///C:/Projects/TrafficSystem/TrafficWebAppSolution/Traffic.Net/bin/Microsoft.ApplicationBlocks.ConfigurationManagemen t.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference:
Microsoft.ApplicationBlocks.ConfigurationManagemen t, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
howard39@nospam.nospam Guest
-
Error: Access Is Denied
Hi Guys, We're hosting a web portal running on Windows 2003, IIS 6.0, Coldfusion MX, MS SQL 2000. All functionalities are workable when accessed... -
Access Denied Error
CN is computer name set wmiLocator = CreateObject("WbemScripting.SWbemLocator") Set wmiServices = wmiLocator.ConnectServer(CN) I am receiving... -
Web Service + Anon Access, but getting 401 Access Denied Error
I have a simple webservice that just returns a string. The security for this is set to windows authentication in IIS (XP Professional) and anonymous... -
Access is Denied Error??
Hi: I am getting the below error, when i run my project from visual studio environement. When i restart the m/c, the error disappers. After... -
Always get Error 401: Access denied
Thanks Kashif for the suggestions. Hi Tore, You may check the following link for more information: 811318 PRB: "Access Denied" Error Message... -
[MSFT] #2
RE: Configuration Error -- Access is denied
Hello,
Which account your ASP.NET appplication is running with? Based on my
experince, this kind of error can occur when the account doesn't have
enough permission to some local folders, for example, the TEMP folder. You
may try a local admin account to see if this will help. Also, I see
System.Web.Mobile in your message, Is this a Mobile application?
Luke
[MSFT] Guest
-
howard39@nospam.nospam #3
RE: Configuration Error -- Access is denied
This is running on IIS5 on Windows 2000. The account is ASPNET and it is in
the Administrators group on my development system.
Don't know why System.Web.Mobile is there. This is not a mobile application,
just ASP.NET.
howard39@nospam.nospam Guest
-
[MSFT] #4
RE: Configuration Error -- Access is denied
It seems to be a configration problem. You may need more further debug to
find out the issue, for example, add some log or give a memory dump. I
suggest you may submit a support incidence to our PSS. They will assist you
narrow down the problem. Here is the link:
[url]http://www.microsoft.com/services/microsoftservices/supp.mspx[/url]
Luke
[MSFT] Guest
-
agstemen #5
Re: Configuration Error -- Access is denied
This solved the problem for me:
[url]http://support.microsoft.com/default.aspx?scid=kb;en-us;329065[/url]
--
agstemen
------------------------------------------------------------------------
Posted via [url]http://www.codecomments.com[/url]
------------------------------------------------------------------------
agstemen Guest



Reply With Quote

