So you have iis hosting a lot of your websites
you test the first one, its run
the second one…. not run… Service Unavailable
go back to the first one, its also not running anymore…

so what to do, check your EventViewer

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.

if you get such message,
then the fix is

make sure each version of asp.net on your web site, run same version application pool
example

application pool ABC
Application pool XYZ

Web site 123 –> Use application pool ABC, Asp.net 2.0
web site 689 –> Use application pool ABC, Asp.net 4.0
—> this one error

Web site 123 –> Use application pool ABC, Asp.net 2.0
web site 689 –> Use application pool XYZ, Asp.net 4.0
–> this one ok

How to set asp.net version
right click on web site, properties, tab ASP.Net

How to set application pool
right click on web site, properties, tab Home Directory

Advertisements