earlofroberts
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=B03F5F7F11D 50A3A"/>
Line 38: <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193 4E089"/>
Line 39: <add assembly="System.Configura tion, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D 50A3A"/>
Line 40: <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D 50A3A"/>
Line 41: <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193 4E089"/>
Source File: c:\inetpub\wwwroot\OhlapNe t\web.conf ig 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=b03f5f7f11d 50a3a
(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.con fig).
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\F ramework\v 1.1.4322\c onfig\mach ine.config .
LOG: Post-policy reference: System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d 50a3a
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso ft.NET/Fra mework/v1. 1.4322/Tem porary ASP.NET Files/ohlapnet/bd90b5e8/c4 6bc9c7/Sys tem.Config uration.DL L.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso ft.NET/Fra mework/v1. 1.4322/Tem porary ASP.NET Files/ohlapnet/bd90b5e8/c4 6bc9c7/Sys tem.Config uration/Sy stem.Confi guration.D LL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot /OhlapNet/ bin/System .Configura tion.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot /OhlapNet/ bin/System .Configura tion/Syste m.Configur ation.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso ft.NET/Fra mework/v1. 1.4322/Tem porary ASP.NET Files/ohlapnet/bd90b5e8/c4 6bc9c7/Sys tem.Config uration.EX E.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso ft.NET/Fra mework/v1. 1.4322/Tem porary ASP.NET Files/ohlapnet/bd90b5e8/c4 6bc9c7/Sys tem.Config uration/Sy stem.Confi guration.E XE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot /OhlapNet/ bin/System .Configura tion.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot /OhlapNet/ bin/System .Configura tion/Syste m.Configur ation.EXE.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
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=B03F5F7F11D
Line 38: <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193
Line 39: <add assembly="System.Configura
Line 40: <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D
Line 41: <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193
Source File: c:\inetpub\wwwroot\OhlapNe
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=b03f5f7f11d
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot
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\
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET\F
LOG: Post-policy reference: System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso
LOG: Attempting download of new URL file:///C:/WINDOWS/Microso
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot
--------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
It looks like you're specifying v.2 of the libraries where as you're using v.1.1 of the Framework.
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.