Does anyone else get this when building (asp/vb.net project) sometimes
when you have a compiled assembly in your project? I get this with two
different projects with two different compiled assemblies involved. It's
not consistent either. It will plague me one day and then go away for a
week or more. Unfortunately today it's keeping me from getting work done.
I've had a quick KB search but I didn't see anything that seemed like
the same thing.
Based on the error I'd think permissions, but since it's intermittent
that seems like it would rule permissions out. I was thinking something
was locked in use. Not sure what do to about it though...
Help?
TIA
Matt
Server Error in '/Sales' 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: 'ClickOnceButton'.
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\Confi g\machine.config
Line: 198
Assembly Load Trace: The following information can be helpful to
determine why the assembly 'ClickOnceButton' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = ClickOnceButton
(Partial)
LOG: Appbase = file:///C:/Inetpub/wwwroot/Sales
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: ClickOnceButton
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/Sales/3956b906/74e838a7/ClickOnceButton.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/Sales/3956b906/74e838a7/ClickOnceButton/ClickOnceButton.DLL.
LOG: Attempting download of new URL
file:///C:/Inetpub/wwwroot/Sales/bin/ClickOnceButton.DLL.
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: ClickOnceButton, Version=1.0.1565.40195,
Culture=neutral, PublicKeyToken=null
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET Version:1.1.4322.2032