Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I made a CompanySite website in IIS - it's the only website on that server.

I created .NET 4 Integrated pool for that website.

I've installed ASP.Net site into CompanySite and it works fine.

Now I'd like to install an application within this site. I create another .NET 4 application pool for that application. Then I install application into CompanySite using that application pool.

As soon as setup starts off the website goes offline either with 503 or with The page cannot be displayed because an internal server error has occurred.

The only way to fix this (that I have found) is to uninstall that application and restart Windows Server, not just IIS server.

Question is how can I install multiple applications within a single site?

THank you

share|improve this question
    
What does your system event log say? –  Sam Jan 25 '11 at 15:49

2 Answers 2

I think you did it right. You have to create two application pools, set the right .NET framework and associate the app pool in "Advanced Settings" of the "sub folder" application.

There could be a problem because of nested web.config files. Try to put the physical folder of your second application outside the physical folder of the main site.

Example:

 C:\inetpub\wwwroot\mainsite
 C:\inetpub\wwwroot\subsite

and create a virtual directory application.

Also, check the Application Event log in Event Viewer. Perhaps there are some other error message which could help to solve the problem.

share|improve this answer

Is the app targeted for .net 4? Each app pool needs to be set to the appropriate .net version for the apps it contains. So you can't mix different .net versions in the same app pool. Also when you change the version you will probably need to iisreset.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.