Link to home
Start Free TrialLog in
Avatar of earlofroberts
earlofrobertsFlag for United States of America

asked on

File or assembly name System.Configuration, or one of its dependencies, was not found.

Error when compiling web app:
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: File or assembly name System.Configuration, or one of its dependencies, was not found.

Source Error:


Line 37:                         <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 38:                         <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 39:                         <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 40:                         <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 41:                         <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
 

Source File: c:\inetpub\wwwroot\OhlapNet\web.config    Line: 39

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


=== Pre-bind state information ===
LOG: DisplayName = System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
 (Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/OhlapNet
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

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: System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ohlapnet/bd90b5e8/c46bc9c7/System.Configuration.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ohlapnet/bd90b5e8/c46bc9c7/System.Configuration/System.Configuration.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/OhlapNet/bin/System.Configuration.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/OhlapNet/bin/System.Configuration/System.Configuration.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ohlapnet/bd90b5e8/c46bc9c7/System.Configuration.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/ohlapnet/bd90b5e8/c46bc9c7/System.Configuration/System.Configuration.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/OhlapNet/bin/System.Configuration.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/OhlapNet/bin/System.Configuration/System.Configuration.EXE.

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
Avatar of oobayly
oobayly
Flag of United Kingdom of Great Britain and Northern Ireland image

It looks like you're specifying v.2 of the libraries where as you're using v.1.1 of the Framework.
Avatar of earlofroberts

ASKER

oobayly,
thanks. i'm not sure what the problem was, but by copying in the prior version i am back working.
How do I cancel the question?
Just accept your own comment as the solution.
ASKER CERTIFIED SOLUTION
Avatar of earlofroberts
earlofroberts
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial