I have a server where the main web application (root) is now migrated to 2.0.
It's web.config has a line where it adds the system.data.oracleclient in the
configuration and assembiles section.
There is a sub web application, configured as its own application that is
still under 1.1.
The 1.1 app won't run because it gets an error shown below. Apparently it
is picking up the settings from the root app's web.config (.NET 2.0) and
can't find the 2.0 system.data.oracleclient. The 2.0 app doesn't have any
issue.
How do i correct this so both will work?
Parser Error Message: File or assembly name System.Data.OracleClient, or one
of its dependencies, was not found.
Source Error:
Line 488: <add assembly="System.DirectoryServices, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 489: <add assembly="System.Configuration.Install, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 490: <add assembly="System.Data.OracleClient, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies></compilation>
Line 491: <!-- CUSTOM ERROR MESSAGES
Line 492: Set customErrors mode="Off" or "RemoteOnly" to enable
custom error messages, "Off" to disable.
Source File: c:\inetpub\wwwroot\web.config Line: 490
Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Data.OracleClient' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System.Data.OracleClient, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/WU
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(c:\winnt\microsoft.net\framework\v1.1.4322\aspnet .config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\ machine.config.
LOG: Post-policy reference: System.Data.OracleClient, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089
LOG: Attempting download of new URL
file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/wu/e2c6cfa7/13521107/System.Data.OracleClient.DLL.
LOG: Attempting download of new URL
file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/wu/e2c6cfa7/13521107/System.Data.OracleClient/System.Data.OracleClient.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.OracleClient.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.OracleClient/System.Data.OracleClient.DLL.
LOG: Attempting download of new URL
file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/wu/e2c6cfa7/13521107/System.Data.OracleClient.EXE.
LOG: Attempting download of new URL
file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/wu/e2c6cfa7/13521107/System.Data.OracleClient/System.Data.OracleClient.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.OracleClient.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.OracleClient/System.Data.OracleClient.EXE.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300