Configuration Error -- Access is denied

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. Access Denied Error
      CN is computer name set wmiLocator = CreateObject("WbemScripting.SWbemLocator") Set wmiServices = wmiLocator.ConnectServer(CN) I am receiving...
    3. 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...
    4. 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...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default 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

  6. #5

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139