473,568 Members | 2,964 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.ora cleclient 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.ora cleclient. 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.Ora cleClient, or one
of its dependencies, was not found.

Source Error:
Line 488: <add assembly="Syste m.DirectoryServ ices, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= B03F5F7F11D50A3 A"/>
Line 489: <add assembly="Syste m.Configuration .Install, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= B03F5F7F11D50A3 A"/>
Line 490: <add assembly="Syste m.Data.OracleCl ient, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= B77A5C561934E08 9"/></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\wwwr oot\web.config Line: 490

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System.Data.Or acleClient' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System.Data.Ora cleClient, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9
(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\micro soft.net\framew ork\v1.1.4322\a spnet.config).
LOG: Using machine configuration file from
C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\co nfig\machine.co nfig.
LOG: Post-policy reference: System.Data.Ora cleClient, Version=2.0.0.0 ,
Culture=neutral , PublicKeyToken= b77a5c561934e08 9
LOG: Attempting download of new URL
file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/wu/e2c6cfa7/13521107/System.Data.Ora cleClient.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.Ora cleClient/System.Data.Ora cleClient.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient/System.Data.Ora cleClient.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.Ora cleClient.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.Ora cleClient/System.Data.Ora cleClient.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient/System.Data.Ora cleClient.EXE.


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET
Version:1.1.432 2.2300
Nov 20 '05 #1
1 4663
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: AcXrEUNK0vZzfmP vT/+nCRdxNsl5Dg==
| X-WBNR-Posting-Host: 67.180.214.235
| From: =?Utf-8?B?Um9iZXJ0?= <ro*****@noemai l.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************ *************** *******@microso ft.com>
| 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.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.p hx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GXA03.phx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3587 90
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.ora cleclient 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.ora cleclient. 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.Ora cleClient, or
one
| of its dependencies, was not found.
|
| Source Error:
|
|
| Line 488: <add assembly="Syste m.DirectoryServ ices, Version=2.0.0.0 ,
| Culture=neutral , PublicKeyToken= B03F5F7F11D50A3 A"/>
| Line 489: <add assembly="Syste m.Configuration .Install,
Version=2.0.0.0 ,
| Culture=neutral , PublicKeyToken= B03F5F7F11D50A3 A"/>
| Line 490: <add assembly="Syste m.Data.OracleCl ient, Version=2.0.0.0 ,
| Culture=neutral ,
PublicKeyToken= B77A5C561934E08 9"/></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\wwwr oot\web.config Line: 490
|
| Assembly Load Trace: The following information can be helpful to
determine
| why the assembly 'System.Data.Or acleClient' could not be loaded.
|
|
| === Pre-bind state information ===
| LOG: DisplayName = System.Data.Ora cleClient, Version=2.0.0.0 ,
| Culture=neutral , PublicKeyToken= b77a5c561934e08 9
| (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\micro soft.net\framew ork\v1.1.4322\a spnet.config).
| LOG: Using machine configuration file from
| C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\co nfig\machine.co nfig.
| LOG: Post-policy reference: System.Data.Ora cleClient, Version=2.0.0.0 ,
| Culture=neutral , PublicKeyToken= b77a5c561934e08 9
| LOG: Attempting download of new URL
| file:///c:/winnt/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
| Files/wu/e2c6cfa7/13521107/System.Data.Ora cleClient.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.Ora cleClient/System.Data.Ora cleClient
..DLL.
| LOG: Attempting download of new URL
| file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient.DLL.
| LOG: Attempting download of new URL
|
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient/System.Data.Ora cl
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.Ora cleClient.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.Ora cleClient/System.Data.Ora cleClient
..EXE.
| LOG: Attempting download of new URL
| file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient.EXE.
| LOG: Attempting download of new URL
|
file:///c:/inetpub/wwwroot/WU/bin/System.Data.Ora cleClient/System.Data.Ora cl
eClient.EXE.
|
|
|
|
----------------------------------------------------------------------------
----
| Version Information: Microsoft .NET Framework Version:1.1.432 2.2300;
ASP.NET
| Version:1.1.432 2.2300
|

Nov 20 '05 #2

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

Similar topics

4
447
by: Programmer | last post by:
Hi everyone Well here is my problem I hope you can help me
1
5940
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 exception: System.IO.FileNotFoundException : File or assembly name rng0i4ly.dll, or one of its dependencies, was not found. at...
11
3109
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 useful utils that more pages on that server can use. As an example, I have created a Page Counter class that opens an Access .mdb file, counts the...
1
7109
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, or one of its dependencies, was not found. I have checked the winnt/assembly directory and the assembly is there. I have two versions of the file...
2
1722
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 web.config as follows. <configSections> <section name="exceptionManagement" type="Microsoft.ApplicationBlocks.ExceptionManagement.ExceptionManagerSectio...
5
2507
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 applications. I am testing an upgrade of all of the sites and have converted the main root site...although not necessarily fixed any issues. I move on...
2
9879
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: article:http://msdn.microsoft.com/msdnmag/issues/06/05/WrapItUp/default.aspx The next step was to see if I could still use the assembly in a .Net application. I added another project to the...
4
6026
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 manually changing the version numbers in the .aspx files (<% Register TagPrefix... lines). I can manually remove the version information from the aspx...
2
7313
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" Namespace="Pintexx.Components.Web.pinTab" Assembly="pinTab" That line of code was the 2nd line just below the Page Language="C#" ... in default.aspx I created a new, blank...
0
7693
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8117
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6275
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.