Solved

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

Posted on 2008-09-30
4
1,122 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set value of dynamically created checkboxlist 2 31
EF5: Question about Metadata Artifact Processing 4 15
Search an image for an image 3 27
start a process from a service 3 21
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

816 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

10 Experts available now in Live!

Get 1:1 Help Now