Why do my IIS Virtual directory (ASP .NET 2.0 website) is sometimes unavailable?

Posted on 2008-09-30
Last Modified: 2013-11-07

I'm developing an ASP .NET 2.0 website with Visual Studio 2005, wich works fine in my working environment. But when I try to deploy it on a server (by a virtual directory in my default website), I get a "Server Application unavailable" error message (view second attachment).

Maybe the cause is that the default ASP .NET version of the website is 1.1.4322, and the virtual directory version is set to 2.0.50727 (see first attachment)...

In addition, the server shows this error when I restart it :
"Source Event ID Last Occurrence Total Occurrences
  ASP.NET 2.0.50727.0 1062 30/09/2008 11:27 1
It is not possible to run two different versions of ASP.NET in the same IIS process. Please use the IIS Administration Tool to reconfigure your server to run the application in a separate process.  "

Question by:JulienVan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 20

Expert Comment

ID: 22612124
This problem is normally faced when both .net 1.1 and 2.0 are present in the same server....

You Change the version to 2.0.50727

And follow the instructions in this link

Accepted Solution

ajolly earned 500 total points
ID: 22612141
You need to create separate application pool and put your application there.

Author Closing Comment

ID: 31501869
Thank you very much!

Author Comment

ID: 22612213
Thanks for your solutions! I didn't want to change ASP .NET version of all the default web site to v2, so I tried to create a new application pool based on the default one, and it works fine now!

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question