ASP.NET 2.0 - "Server Application Unavailable"

S

SpaceMarine

hello,

i know this is a common error, and i intend to research it next, but i
thought id drop in here first.

when i run my ASP.NET project from VS.NET 2005's internal, debug web
server, it works fine. like so:

http://localhost:4943/1.0/

but when i run it from the site i setup in IIS (http://localhost/), i
get the Big Red Error;

Server Application Unavailable


....is there a quick, common config setting or fix to get it working
properly in IIS?


thanks!
sm
 
T

tian

That's a typical problem in IIS.
Just check your asp.net version in IIS.
When your application version is asp.net 2.0 and your web server is asp.net
1.1 or 1.0.
This phenomena come out!
 
S

Sachin Saki

Go to IIS -> Default Web Site -> Right Click on your web site virtual
directory
and On ASP.NET tab check the .NET Framework Version. It must be 2.0.xxxxx

Thanks
Sachin Saki
 
S

SpaceMarine

That's a typical problem in IIS.
Just check your asp.net version in IIS.
When your application version is asp.net 2.0 and your web server is asp.net
1.1 or 1.0.
This phenomena come out!

i should have mentioned... my IIS is set to 2.0.50727, so it isnt
that.

im also using the 3rd-pary IISAdmin utility to server multiple root
sites off of Windows XP, but it isnt that because i believe ive run
other 2.0 sites right along 1.0 sites with it.

still trying to figure out.


sm
 
S

SpaceMarine

found the fix. had to run this:

aspnet_regiis -ga aspnet

....which granted IIS metadata access to the ASPNET account.

woot!


thanks,
sm
 
S

SpaceMarine

"aspnet_regiis -ga aspnet" is a way to register your current version to your
IIS!

....i dont think so, not exactly. read the help documentation on the
flags. "-ga" is for Granting Access to iss' metadata for a user
("aspnet" user).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top