RE: configuration error

From: JP.Sklenka (JPSklenka_at_discussions.microsoft.com)
Date: 12/21/04


Date: Mon, 20 Dec 2004 17:21:02 -0800

Here are a couple of recommendations:
1) Developers should be developing/debugging locally and deploying to
Dev/QA/Prod servers and not developing directly against them.
2) Are Dev A and Dev B using the same build configuration when they build?
I had one member of my team decide to create his own config that excluded App
Blocks from the build (we're using project references) and he ran into the
same issue.
3) Are your devs referencing the Data Block assembly or project reference?
4) Typically you'll have a build manager or build machine that pulls the
latest tested code out of source safe, perform a build, and then deploy to
your target server.

"scottrm" wrote:

> We have two developers, call them A and B, (on Windows XP) developing a
> number of asp.net web sites on a shared server (Windows 2003). Everything has
> been ok but recently for no apparent reason whenever developer A builds a
> particular project (which builds with no errors) and then tries to access the
> web site they just built they get the error below. Other projects built by
> the developer A are ok and also if the other developer, developer B, builds
> the same project the web site runs ok.
>
> Server Error in '/qssweb/bwsubs' 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.Data'.
>
> Source Error:
>
>
> Line 256: <add assembly="System.EnterpriseServices,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 257: <add assembly="System.Web.Mobile,
> Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
> Line 258: <add assembly="*"/>
> Line 259: </assemblies>
> Line 260:
>
>
> Source File:
> c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line:
> 258
>
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'Microsoft.ApplicationBlocks.Data' could not be loaded.
>
>
> === Pre-bind state information ===
> LOG: DisplayName = Microsoft.ApplicationBlocks.Data
> (Partial)
> LOG: Appbase = file:///C:/WebSites/1005/root/QSSWeb/BWSubs
> 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: Microsoft.ApplicationBlocks.Data
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/qssweb_bwsubs/63c7d454/13bd7b22/Microsoft.ApplicationBlocks.Data/Microsoft.ApplicationBlocks.Data.DLL.
> LOG: Attempting download of new URL
> file:///C:/WebSites/1005/root/QSSWeb/BWSubs/bin/Microsoft.ApplicationBlocks.Data.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.Data,
> Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
>
>
>
>
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
> Version:1.1.4322.2032
>
>
>
>
> --
> Scott



Relevant Pages

  • Re: GC and active sockets, and Pinned Memory
    ... once an object goes out of scope and effectively ... is unreachable through any means available to developer, ... reference A goes away but reference B is still there. ... >> Garbage collection timer is there to ensure garbage collection is forced ...
    (microsoft.public.dotnet.framework)
  • Re: Hiding DataGrid Columns when AutoGenerateColumns="true"
    ... There must be a reason for this. ... Software Developer & Consultant ... Remember the order of this cell and use it as ... would like to find a solution that allows me to reference the column by ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • Re: Divorcing referenced workbooks
    ... What's embarassing is that the developer ... his/her workbook, A, and then open B in the same window. ... Could this be the culprit in updating that reference field? ... "Dave Peterson" wrote: ...
    (microsoft.public.excel.programming)
  • Re: about Windows Mobile 6
    ... You need to add a reference to System.Data.SqlClient.dll. ... Visual Developer - Device Application Development MVP ... intellisense doesn't shows me SqlClient ... Error 1 The type or namespace name 'SqlClient' does not exist in the ...
    (microsoft.public.dotnet.framework.compactframework)
  • Going nuts - Configuration Error
    ... An error occurred during the processing of a configuration file ... And a Reference to a DLL to handle my dataaccess - also created my myself. ... partial, or location-based assembly bind). ... Attempting download of new URL ...
    (microsoft.public.dotnet.framework.aspnet)