Groups | Blog | Home
all groups > dotnet framework > april 2007 >

dotnet framework : some config error happens periodically only


gsl
4/30/2007 12:11:47 PM
Hi

we have a number of web applications

once in a while they produce an error like below
if you restart IIS - they disappear
it happens on two servers

any ideas?

Thamks
GSL


++++++++++++++++++++++++++++++++++++++++++++++++
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: Unable to load file 'portallibrary'.

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:\winnt\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 'portallibrary' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = portallibrary
(Partial)
LOG: Appbase = file:///D:/inetpub/Informins_Root/csrportal
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: portallibrary
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/csrportal/4b3f8fd5/6c4a072e/portallibrary.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/csrportal/4b3f8fd5/6c4a072e/portallibrary/portallibrary.DLL.
LOG: Attempting download of new URL
file:///D:/inetpub/Informins_Root/csrportal/bin/portallibrary.DLL.
LOG: Policy not being applied to reference at this time (private, custom,
partial, or location-based assembly bind).
LOG: Post-policy reference: portallibrary, Version=1.0.2158.24839,
Culture=neutral, PublicKeyToken=null




----------------------------------------------------------------------------
----
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


Vijay
4/30/2007 2:32:05 PM
Are you doing any custom assembly redirection?
Open microsoft .net configuration wizard (depending on framework version)
and look under configured assemblies->view configured assemblies for any
custom redirection for the assembly in the log file.

HTH



[quoted text, click to view]
gsl
4/30/2007 11:31:34 PM
no custom redirect
just a web app with a bunch of libraries in bin directory
all where once created under 1.0
later recompiled under 1.1

[quoted text, click to view]

Vijay
5/1/2007 6:46:01 AM
Hmm, not sure what it is maybe you could try running fuslogvw 'assembly
binding log viewer' to diagnose the error.

HTH
AddThis Social Bookmark Button