Access is Denied: 'WebChart'

Last post 07-03-2009 9:04 AM by ZLA. 3 replies.

Sort Posts:

  • Access is Denied: 'WebChart'

    06-29-2009, 10:50 AM
    • Contributor
      2,476 point Contributor
    • ZLA
    • Member since 06-22-2004, 11:28 AM
    • Posts 727
    I recently moved a local dev website from one laptop to another, both windows xp. when I try running the website on the new laptop, I get the following:
    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: 'WebChart'.
    
    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:\windows\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 'WebChart' could not be loaded.
    
    
    === Pre-bind state information ===
    LOG: DisplayName = WebChart
     (Partial)
    LOG: Appbase = file:///D:/WebSites/Dynalabs
    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: WebChart
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dynalabs/11c5bc41/61e611d4/WebChart.DLL.
    LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/dynalabs/11c5bc41/61e611d4/WebChart/WebChart.DLL.
    LOG: Attempting download of new URL file:///D:/WebSites/Dynalabs/bin/WebChart.DLL.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Post-policy reference: WebChart, Version=1.1.1.4, Culture=neutral, PublicKeyToken=null
    
     
    

    When I first copied it over, it worked but it doesn't work since I've recompiled the website (no code changes - just verifying the build from vs 2003).

    Any suggestions?

  • Re: Access is Denied: 'WebChart'

    06-29-2009, 11:02 AM
    Answer
    • Member
      148 point Member
    • Mike426
    • Member since 06-26-2009, 8:56 PM
    • Posts 29

     Suggestions:

    1. Temporarily set all of the anti-virus and firewall services to manual, reboot, and try the request again.

    2.  Update machine.config to run IIS on WinXP under and admin account (temporarily).  Reboot and try again.

    3.  Run process monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) to see if there is additional information available regarding the cause of the "Access Denied" error.

    mike aht cognitier doht com
    http://www.cognitier.com
  • Re: Access is Denied: 'WebChart'

    07-03-2009, 3:47 AM
    Answer

     Hi,

    Based on my experience, the Microsoft Indexing Services can cause such issue. To resolve it, please follow the step below:

    1. Start - Settings - Control Panel - Administrative Tools - Computer mangement.

    2. Expand the services and applications node and select the Indexing service node.

    3. Expand the Indexing Service Node and then select and expand the System Node.

    4. Right click on Directories and select new directory. browse the path to the temporary asp.net files c:\winnt\microsoft.net\framework\v1.1.4322\.

    5. Select the temporary asp.net files. give ok and then select the "NO" in the Include in index radiobutton.

    6. give ok and then stop and start the indexing service.

    For more information, please refer to http://geekswithblogs.net/ranganh/archive/2005/04/25/37595.aspx

     

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Access is Denied: 'WebChart'

    07-03-2009, 9:04 AM
    • Contributor
      2,476 point Contributor
    • ZLA
    • Member since 06-22-2004, 11:28 AM
    • Posts 727
    It's working now but I'm not sure what fixed it. I tried some things before this last reply:
    - rebooting the computer
    - giving aspnet user full permissions to the dll (which i tried before posting this thread)
    - rebuilding the web app the next day after hibernating the computer

    However, I did implement the indexing change and it is still working.
Page 1 of 1 (4 items)