[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2009-04-20
4
Medium Priority
?
968 Views
Last Modified: 2012-05-06
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
0
Comment
Question by:earlofroberts
  • 2
  • 2
4 Comments
 
LVL 15

Expert Comment

by:oobayly
ID: 24186259
It looks like you're specifying v.2 of the libraries where as you're using v.1.1 of the Framework.
0
 

Author Comment

by:earlofroberts
ID: 24187737
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?
0
 
LVL 15

Expert Comment

by:oobayly
ID: 24188539
Just accept your own comment as the solution.
0
 

Accepted Solution

by:
earlofroberts earned 0 total points
ID: 24263610
solved
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month17 days, 14 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question