473,387 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Issue with assembly added in web.config between 2.0 and 1.1 app

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
Nov 20 '05 #1
1 4653
Hi Robert,

Thanks for your posting. Regarding on the configuration problem, it is
caused by the fixed runtime configuration collection behavior of ASP.NET.
ASP.NET will always parse and collect configuration from Up to down
(machine--> site--->parent web---> web app...) So I'm afraid we can not
prevent the configuration inheritance of our concrete web application when
there exists a different version 's web.config file at super level....
As for your scenario, we'll recommend that you upgrate the 1.1 web
application to 2.0 and for separate asp.net 1.1 application, we'd better
host them in a separate IIS site which is configured with ASP.NET 1.1

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| Thread-Topic: Issue with assembly added in web.config between 2.0 and 1.1
app
| thread-index: AcXrEUNK0vZzfmPvT/+nCRdxNsl5Dg==
| X-WBNR-Posting-Host: 67.180.214.235
| From: =?Utf-8?B?Um9iZXJ0?= <ro*****@noemail.nospam>
| Subject: Issue with assembly added in web.config between 2.0 and 1.1 app
| Date: Wed, 16 Nov 2005 16:53:02 -0800
| Lines: 81
| Message-ID: <0C**********************************@microsoft.co m>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:358790
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| 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.Oracl
eClient.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.Oracl
eClient.EXE.
|
|
|
|
----------------------------------------------------------------------------
----
| Version Information: Microsoft .NET Framework Version:1.1.4322.2300;
ASP.NET
| Version:1.1.4322.2300
|

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
1
by: Vladimir Semenov | last post by:
Hi, I'm trying to serialize a type contained in assembly referering to another assembly in GAC. XmlSerializer xs = new XmlSerializer( typeof(TransferParentData ) ); The code above throws...
11
by: Wolfgang Kaml | last post by:
I am not sure if this is more of an expert question, but I am sure that they are out there. I'd like to setup a general application or bin directory on my Win2003.Net Server that will hold some...
1
by: Scott Hamlin | last post by:
I am receiving an error while trying to use Crystal Reports with .NET, which I have pasted below. The main problem is this message: File or assembly name CrystalDecisions.CrystalReports.Engine,...
2
by: George Durzi | last post by:
I have a dll that I use in several projects, that I placed in the Global Assembly Cache. This dll is references in each of my projects. This Dll is referenced by a type= declaration in my...
5
by: Robert | last post by:
I have a series of web applications (configured as separate applications) on a server. There is a main application at the root and then several virtual directories that are independant...
2
by: Terry | last post by:
I am finally able to call my .Net object from a VB6 project (see posting 'Calling VB.Net classes from VB6', thanks to the reference Tony gave me to:...
4
by: Mythran | last post by:
We have more than one version of an assembly that contains web controls installed in the GAC. In our application, we want to always reference the most recent version of the assembly WITHOUT...
2
by: Beemer Biker | last post by:
I have some demo code that came with a 3rd party product. This is what it looks like (I remove html braces in case it does not print right) Register TagPrefix="pin"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.