Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin S. Goff - 18 Feb 2006 17:25 GMT
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
Christopher Reed - 19 Feb 2006 04:33 GMT
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.
Signature

Christopher A. Reed
"The oxen are slow, but the earth is patient."

> I'm coming into a situation where a company has both 1.1 and 2.0
> ASP.NET apps on the same server.
[quoted text clipped - 23 lines]
> Thanks,
> Kevin
Eliyahu Goldin - 19 Feb 2006 09:16 GMT
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

> I'm coming into a situation where a company has both 1.1 and 2.0
> ASP.NET apps on the same server.
[quoted text clipped - 23 lines]
> Thanks,
> Kevin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.