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, GeneralUtilities, 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="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 '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\Microsoft.NET\Framework\v1.1.4322
\aspnet.config).
LOG: Using machine configuration file from
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322
\config\machine.config.
LOG: Post-policy reference: ASPnetMenu, Version=1.1.0.0,
Culture=neutral, PublicKeyToken=9bc9f846553156bb
----------------------------------------------------------
----------------------
Version Information: Microsoft .NET Framework
Version:1.1.4322.573; ASP.NET Version:1.1.4322.573