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

Problem running ASP.NET 1.1 and 2.0 apps on the same server...

I'm coming into a situation where a company has both 1.1 and 2.0
ASP.NET apps on the same server.

Each application has been configured (using IIS) for the appropriate
framework (on that last ASP.NET tab in configuration management).

Here's the problem. When we configure a 2.0 app, it "breaks" the 1.1
apps. By "break", I mean that when we run them in a browser, we get an
error that the server can't locate the app.

We have to go "re-configure" the 1.1 app by (as crazy as this sounds)
pulling up the 1.1 app, switching the pulldown to 2.0 and then
immediately setting it back to 1.1 to "reconfigure" it for 1.1.

But then it breaks the 2.0 app....and to get the 2.0 app to run, we
have to go into IIS and reconfigure it for 1.1 and then back to 2.0.

We also have a 2nd problem - which may or may not be related. When we
try to build the 2.0 solution on our network (web server) drive, we
get a VS2005 build error about aspnetPermissions. I thought it might
have to do with medium trust levels, but even if we temporarily set
the trust levels to full trust, it doesn't solve the build error.

Anyway, does anyone have any clues or thoughts?

Thanks,
Kevin
Feb 18 '06 #1
2 1700
At what level in IIS are you configuring ASP.NET? On my Windows XP laptop,
I have my Default Web Site configured for 1.1, but I have a subweb
configured for 2.0. I have not any problem 1.1 and 2.0 apps working
together.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Kevin S. Goff" <kgoff@commongroundsolutions> wrote in message
news:g2********************************@4ax.com...
I'm coming into a situation where a company has both 1.1 and 2.0
ASP.NET apps on the same server.

Each application has been configured (using IIS) for the appropriate
framework (on that last ASP.NET tab in configuration management).

Here's the problem. When we configure a 2.0 app, it "breaks" the 1.1
apps. By "break", I mean that when we run them in a browser, we get an
error that the server can't locate the app.

We have to go "re-configure" the 1.1 app by (as crazy as this sounds)
pulling up the 1.1 app, switching the pulldown to 2.0 and then
immediately setting it back to 1.1 to "reconfigure" it for 1.1.

But then it breaks the 2.0 app....and to get the 2.0 app to run, we
have to go into IIS and reconfigure it for 1.1 and then back to 2.0.

We also have a 2nd problem - which may or may not be related. When we
try to build the 2.0 solution on our network (web server) drive, we
get a VS2005 build error about aspnetPermissions. I thought it might
have to do with medium trust levels, but even if we temporarily set
the trust levels to full trust, it doesn't solve the build error.

Anyway, does anyone have any clues or thoughts?

Thanks,
Kevin

Feb 19 '06 #2
Kevin,

As Christopher mentioned, you should be able to set the Asp.Net version for
each app separately. Apart of this, if you are running IIS 6, you should
place 1.1 and 2.0 applications into different applications pools.

Eliyahu

"Kevin S. Goff" <kgoff@commongroundsolutions> wrote in message
news:g2********************************@4ax.com...
I'm coming into a situation where a company has both 1.1 and 2.0
ASP.NET apps on the same server.

Each application has been configured (using IIS) for the appropriate
framework (on that last ASP.NET tab in configuration management).

Here's the problem. When we configure a 2.0 app, it "breaks" the 1.1
apps. By "break", I mean that when we run them in a browser, we get an
error that the server can't locate the app.

We have to go "re-configure" the 1.1 app by (as crazy as this sounds)
pulling up the 1.1 app, switching the pulldown to 2.0 and then
immediately setting it back to 1.1 to "reconfigure" it for 1.1.

But then it breaks the 2.0 app....and to get the 2.0 app to run, we
have to go into IIS and reconfigure it for 1.1 and then back to 2.0.

We also have a 2nd problem - which may or may not be related. When we
try to build the 2.0 solution on our network (web server) drive, we
get a VS2005 build error about aspnetPermissions. I thought it might
have to do with medium trust levels, but even if we temporarily set
the trust levels to full trust, it doesn't solve the build error.

Anyway, does anyone have any clues or thoughts?

Thanks,
Kevin

Feb 19 '06 #3

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

Similar topics

9
by: John Lull | last post by:
I'm writing a multithreaded COM server to manage a pool of hardware resources. All objects are designed to be thread-safe, and I've set sys.coinit_flags to COINIT_MULTITHREADED before importing...
0
by: Scott Glover | last post by:
Hi, I'm running IIS on Win2K Advanced Server. My backend database on unix gets suspended each night for backup purposes. This causes problems for the middleware if users try to access the database...
5
by: George Copeland | last post by:
This is a request for help fixing a SQL Server 2000/ADO problem on Windows XP. I would appreciate any useful assistance. PROBLEM: SQL Server access on my machine fails as follows: 1. All of...
8
by: Ondine | last post by:
Hi I have a client running an Access 2000 database on a small network with 3 pc's. Two of the laptop pcs have a data replica, which they use when not connected to the network, the 'server'...
3
by: Trapulo | last post by:
I've two copy af the same asp.net application. The application enter on sql server, working with two separate databases (on the same sql server instance, of course). The connection is made with...
5
by: Rich | last post by:
I loaded visual studio.Net 2003 on a windows XP workstation, and I was able to run aspx applications. Later I loaded JBuilder 2005 (Enterprise Java builder 2005) which runs the Tomcat 5.0 web...
2
by: Richard Lionheart | last post by:
Hi All, I generated a WebForm and created a Virtual Directory for it IIS. But I got an error message (shown below) saying something like my app lacked appropriate privileges. David Wang...
5
by: John | last post by:
I've started to get session loss on many of my web apps, after only a few minutes (the session lifespan is supposed to be 60 minutes). It occurs in several apps (all on same server), and started...
10
by: B.E.S. | last post by:
Moving to a new development machine. Am getting the following message when trying to run applications that require the state server: --------8<-------------- Unable to make the session state...
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:
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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
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
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...

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.