Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

ASP.NET 2.0 - "Server Application Unavailable"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SpaceMarine - 15 Feb 2008 17:14 GMT
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
tian - 15 Feb 2008 17:35 GMT
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!

> hello,
>
[quoted text clipped - 16 lines]
> thanks!
> sm
Sachin Saki - 15 Feb 2008 19:34 GMT
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

> That's a typical problem in IIS.
> Just check your asp.net version in IIS.
[quoted text clipped - 22 lines]
> > thanks!
> > sm
SpaceMarine - 15 Feb 2008 23:08 GMT
> 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
SpaceMarine - 15 Feb 2008 23:13 GMT
found the fix. had to run this:

 aspnet_regiis -ga aspnet

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

woot!

thanks,
sm
tian - 16 Feb 2008 02:26 GMT
"aspnet_regiis -ga aspnet" is a way to register your current version to your
IIS!

> found the fix. had to run this:
>
[quoted text clipped - 6 lines]
> thanks,
> sm
SpaceMarine - 16 Feb 2008 04:54 GMT
> "aspnet_regiis -ga aspnet" is a way to register your current version to your
> IIS!
[quoted text clipped - 4 lines]
>
> > ...which granted IIS metadata access to the ASPNET account.

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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.