473,852 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

"Cannot find assembly" problem with .NET 1.1 and 2.0 coexisting

Hello,

In the root of a web site (C:\Inetpub\www root), I have a .NET 1.1
application. I've just added a .NET 2.0 application to another directory
under the web site root (C:\Inetpub\www root\20App).

After restarting the IIS server, the 1.1 application works fine - however,
when I first request a page from the 2.0 application (which also works fine,
by the way), the 1.1 application stops working. Every time I request a page
from the 1.1 application, I get the following exception:

Cannot find the assembly App_Code.whenps q7, Version=0.0.0.0 ,
Culture=neutral , PublicKeyToken= null.

Restarting the server (recycling the application pools doesn't work) makes
the 1.1 application available again.

Any ideas what could cause this? Thanks for any help!
Regards,
Nils Magnus Englund
Aug 17 '06 #1
2 1713
If you are facing this problem on Windows 2003 server, then read this
article. It may answer your question.

http://www.netomatix.com/Development...PoolError.aspx
"Nils Magnus Englund" <ni************ *****@orkfin.no wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Hello,

In the root of a web site (C:\Inetpub\www root), I have a .NET 1.1
application. I've just added a .NET 2.0 application to another directory
under the web site root (C:\Inetpub\www root\20App).

After restarting the IIS server, the 1.1 application works fine - however,
when I first request a page from the 2.0 application (which also works
fine, by the way), the 1.1 application stops working. Every time I request
a page from the 1.1 application, I get the following exception:

Cannot find the assembly App_Code.whenps q7, Version=0.0.0.0 ,
Culture=neutral , PublicKeyToken= null.

Restarting the server (recycling the application pools doesn't work) makes
the 1.1 application available again.

Any ideas what could cause this? Thanks for any help!
Regards,
Nils Magnus Englund

Aug 17 '06 #2
Yes, I am running Windows 2003... However, I do have a separate application
pool for the individual .NET 2.0 application I have. All other applications
are in the DefaultAppPool.

Thanks.

Regards,
Nils Magnus

"Winista" <wi*****@gmail. comwrote in message
news:u2******** ******@TK2MSFTN GP04.phx.gbl...
If you are facing this problem on Windows 2003 server, then read this
article. It may answer your question.

http://www.netomatix.com/Development...PoolError.aspx
"Nils Magnus Englund" <ni************ *****@orkfin.no wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
>Hello,

In the root of a web site (C:\Inetpub\www root), I have a .NET 1.1
application. I've just added a .NET 2.0 application to another directory
under the web site root (C:\Inetpub\www root\20App).

After restarting the IIS server, the 1.1 application works fine -
however, when I first request a page from the 2.0 application (which also
works fine, by the way), the 1.1 application stops working. Every time I
request a page from the 1.1 application, I get the following exception:

Cannot find the assembly App_Code.whenps q7, Version=0.0.0.0 ,
Culture=neutra l, PublicKeyToken= null.

Restarting the server (recycling the application pools doesn't work)
makes the 1.1 application available again.

Any ideas what could cause this? Thanks for any help!
Regards,
Nils Magnus Englund


Aug 17 '06 #3

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

Similar topics

3
3521
by: Stan | last post by:
My webserver calls a component on another server through DCOM, the component goes to SQL, SQL raises the exception and here is what the client gets: "Cannot find member name System.Data.SqlClient.SqlError" I believe the issue is related to the fact that webserver runs the framework 1.1 and the component server has the framework 1.0 There are a number of posting in the different ng on this topic, but I cannot find a resolution.
2
2312
by: Andrew | last post by:
VS.net Win 2k3 I'm getting the following error when attempting to debug. I'm not debugging remotely, just a local project. "Unable to start debugging. Cannot find port. Check the remote machine name." Any insight is appreciated.
5
1752
by: Francis Shanahan | last post by:
Folks, I have a base page which is the grand-daddy of all my pages. It inherits from System.UI.Web.Page From this I inherit a layout page. From this I inherit the individual pages themselves. The problem: My pages can no longer be brought up in the designer. I'm using Visual Studio 2002 and these pages are written in asp.NET with the code
2
1546
by: Kevin Frey | last post by:
Is it possible to get c# perform a using statement where the namespace for the using is not specified literally but instead comes from a variable, a token, a predefined value etc. We have numerous auto-generated assemblies that represent specific database models within a database, but each assembly uses commonly-named base classes with common implementations. I am writing code that deals only with the base classes, hence it *could* be...
3
16533
by: David T. Ashley | last post by:
Hi, Red Hat Enterprise Linux 4.X. I'm writing command-line PHP scripts for the first time. I get the messages below. What do they mean? Are these operating system library modules, or something in PHP that I don't have? Do I need to install more Linux packages? Or adjust PHP in some way?
2
2463
by: ntsNews | last post by:
Hi, Using the built in command "Find Next" is there a way to have the Match Drop Down Menu to default to "Start of Field"... or can it be the only option? GCM
4
2984
by: Waldy | last post by:
Hi there, does anyone know the cause of this problem. When I press F5 to debug a C# web application, I get an error message that begins "Cannot create/shadow copy " then various different file names. Sometimes I can debug, other times I get the message above. Regards, Steve W.
4
4768
by: GHUM | last post by:
The compile works, BUT linking fails: 2.5\Release\psycopg\_psycopg.def -Lc:\python25\libs -Lc: \python25\PCBuild -Lc:/p ostgres/83RC2/lib -lpython25 -lpq -lws2_32 -ladvapi32 -o build \lib.win32-2.5\psy copg2\_psycopg.pyd c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lpq collect2: ld returned 1 exit status
1
8109
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
Hi Trying to copy a complex data structure with this code public object Clone() { MemoryStream ms = new MemoryStream(); BinaryFormatter bf = new BinaryFormatter(); bf.Serialize(ms, this); ms.Position = 0; object obj = bf.Deserialize(ms);
0
9748
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11020
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10670
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10735
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9506
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7907
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7073
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4549
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
3
3180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.