473,396 Members | 1,702 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,396 software developers and data experts.

Virtual Directories under Default Web Site no longer working

I have a small application that initially loads two .net dlls and the app can
run with .NET 1.1 or .NET 2.0. On 32-bit machines I am able to run these
apps as a virtual directory under the Default Web Site. On 64-bit machines I
get an error loading the dlls: "Compiler Error Message: CS0246: The type or
namespace name <namecould not be found (are you missing a using directive
or an assembly reference?)" when trying to run as a virtual directory under
the Default Web Site.

It works with no problem if I create a separate Web Site (but still use the
Default App Pool). This is fine, but can someone explain to my why this is
the case? I have tried explicity setting the .net version at the virtual
dir. level under the Default Web Site(aspnet_regiis.exe -s
W3SVC/1/ROOT/myapp) for 1.1. and 32-bit 2.0 and also 64-bit 2.0 doesn't even
work.

When I run as a separate website my app works no problem with just 64-bit
..NET 2.0

The dll's I'm trying to load were built with vs2003.
--
knf
May 9 '07 #1
5 3394
You cannot run .net 1.1 and .net 2.0 apps in the same process. They have to
be in configured in separate app pool. This is by design.
HTH
May 9 '07 #2
I'm not running both in the same process. I was running one or the other.
Even setting IIS to use the 64 bit .NET 2.0 framework, I cannot run the app
as a virtual directory, but the same app works as a separate web site.
--
knf
"Vijay" wrote:
You cannot run .net 1.1 and .net 2.0 apps in the same process. They have to
be in configured in separate app pool. This is by design.
HTH
May 9 '07 #3
re:
You cannot run .net 1.1 and .net 2.0 apps in the same process.
Only if you're using Windows 2003 Server.
If you're using any other OS, it's OK to run them in the same process.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espańol : http://asp.net.do/foros/
===================================
"Vijay" <Vi***@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
You cannot run .net 1.1 and .net 2.0 apps in the same process. They have to
be in configured in separate app pool. This is by design.
HTH

May 9 '07 #4
Please note I am able to replicate the behavior in 64 bit win2k3 as well as
64 bit XP
--
knf
"Juan T. Llibre" wrote:
re:
You cannot run .net 1.1 and .net 2.0 apps in the same process.

Only if you're using Windows 2003 Server.
If you're using any other OS, it's OK to run them in the same process.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaƱol : http://asp.net.do/foros/
===================================
"Vijay" <Vi***@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
You cannot run .net 1.1 and .net 2.0 apps in the same process. They have to
be in configured in separate app pool. This is by design.
HTH


May 9 '07 #5
Does anyone have any idea. On windows 2003 64 bit, i am running ASP.NET 2.0
in 64bit mode only. The same app runs fine as it's own website but not as a
virtual directory under the Default Website. The settings look identical.
--
knf
"knf" wrote:
Please note I am able to replicate the behavior in 64 bit win2k3 as well as
64 bit XP
--
knf
"Juan T. Llibre" wrote:
re:
You cannot run .net 1.1 and .net 2.0 apps in the same process.
Only if you're using Windows 2003 Server.
If you're using any other OS, it's OK to run them in the same process.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaƱol : http://asp.net.do/foros/
===================================
"Vijay" <Vi***@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
You cannot run .net 1.1 and .net 2.0 apps in the same process. They have to
be in configured in separate app pool. This is by design.
HTH
May 10 '07 #6

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

Similar topics

2
by: Jeffry van de Vuurst | last post by:
Hi, (sorry for the crosspost, I wasn't sure which was the best place to put this). I was just thinking about something and wondered if any of you has some ideas about this. I'm using the...
8
by: nick | last post by:
I have a problem and I've been using a cheezy work around and was wondering if anyone else out there has a better solution. The problem: Let's say I have a web application appA. Locally, I set...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
3
by: Manso | last post by:
Hi, We have an application that is installed in default web site (root web site). The same application will be installed as virtual directories under the root site e.g. <default web site>/app1...
4
by: Stimp | last post by:
When a user registers with my site, I create a separate folder for them (for uploading photos, etc). The code for this has been working fine for 1 year, but over the past 2 weeks it has been...
4
by: Chuck P | last post by:
Using vs05 and making an asp.net 2.0 website. We use VSS and have everything organized like this SolutionName Documents Code WebProjectName1 WebServiceProjectName1
2
by: tshad | last post by:
I have set up a Virtual Directory underneath my normal Web Site in IIS 6 for 2 of our sites. One of them works file. The other one is giving me an error:...
12
by: Pao | last post by:
Hi all For all NEW sites (virtual directories) that I create, I receive always the same error: (I translate so may be a little different) Impossible to visualize the XML page Impossible to...
4
by: Paul F | last post by:
Im confused about the difference(s) between virtual directories and physical directories in IIS. Any ideas? *** Sent via Developersdex http://www.developersdex.com ***
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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,...
0
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...
0
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...
0
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,...

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.