Configuration error Access denised when start without debugging

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dean

    #1

    Configuration error Access denised when start without debugging

    This is a problem in ASP.NET, when I run an application
    from Visual Studio (2003) when I do a "start without
    debugging".
    The asp page uses objects that I have built in 3 other
    projects, BusinessObjects , GeneralUtilitie s, and
    ASPNETMenu (purchased).
    Sometime when I will get an error message that says:
    Parser Error Message: Access is denied: 'ASPnetMenu'.
    and the aplication will not start. It seems to happen
    randomly , and it can reference any of the 3 DLL's the
    project references. The only way I have found to get by
    the error is to shut everything down and re-boot, it may
    happen the next time I try it, or it may work 100 times
    then fail... frustrating. I would appreciate any help.
    The entire message is;

    Server Error in '/ASP_MacB' 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: 'ASPnetMenu'.

    Source Error:

    Line 196: <add
    assembly="Syste m.EnterpriseSer vices, Version=1.0.500 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 197: <add
    assembly="Syste m.Web.Mobile, Version=1.0.500 0.0,
    Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a"/>
    Line 198: <add
    assembly="*"/>
    Line 199: </assemblies>
    Line 200: </compilation>


    Source File: c:\windows\micr osoft.net\frame work\v1.1.4322
    \Config\machine .config Line: 198

    Assembly Load Trace: The following information can be
    helpful to determine why the assembly 'ASPnetMenu' could
    not be loaded.

    === Pre-bind state information ===
    LOG: DisplayName = ASPnetMenu
    (Partial)
    LOG: Appbase = file:///c:/inetpub/wwwroot/ASP_MacB
    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: ASPnetMenu
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempo
    rary ASP.NET
    Files/asp_macb/3954823c/58707a27/ASPnetMenu.DLL.
    LOG: Attempting download of new URL
    file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempo
    rary ASP.NET
    Files/asp_macb/3954823c/58707a27/ASPnetMenu/ASPnetMenu.DLL
    ..
    LOG: Attempting download of new URL
    file:///c:/inetpub/wwwroot/ASP_MacB/bin/ASPnetMenu.DLL.
    LOG: Publisher policy file is not found.
    LOG: No redirect found in host configuration file
    (C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322
    \aspnet.config) .
    LOG: Using machine configuration file from
    C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322
    \config\machine .config.
    LOG: Post-policy reference: ASPnetMenu, Version=1.1.0.0 ,
    Culture=neutral , PublicKeyToken= 9bc9f846553156b b




    ----------------------------------------------------------
    ----------------------
    Version Information: Microsoft .NET Framework
    Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573
Working...