Solved

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

Posted on 2008-09-30
4
1,120 Views
Last Modified: 2013-11-07
Hello,

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.  "

Thanks,
Julien
galike-virtual-directory.jpg
server-application-unavailable.jpg
0
Comment
Question by:JulienVan
  • 2
4 Comments
 
LVL 20

Expert Comment

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

You Change the asp.net version to 2.0.50727

And follow the instructions in this link

http://www.ironspeed.com/Designer/3.0.3/WebHelp/Part_VI/Server_Application_Unavailable.htm
0
 
LVL 7

Accepted Solution

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

http://www.chinamsdn.net/article/developertoolslanguages/2008-08-09/560.html
0
 
LVL 2

Author Closing Comment

by:JulienVan
ID: 31501869
Thank you very much!
0
 
LVL 2

Author Comment

by:JulienVan
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!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now