Re: I hate IIS - "Server Application Unavailable" error message
- From: Kevin Liebowicz <linux-sux@xxxxxxxxx>
- Date: Tue, 03 Jul 2007 07:15:58 -0700
On Jul 3, 9:57 am, "Juan T. Llibre" <nomailrepl...@xxxxxxxxxxx> wrote:
Kevin,
in your case all you have to do is set up an ad-hoc service account,
as indicated in the link I sent you :
How To: Create a Service Account for an ASP.NET 2.0 Application:http://msdn2.microsoft.com/en-us/library/ms998297.aspx
Except that it still does not work.
I followed the directions -
#1 - I created a new account (in the User group) named
aspxuseraccount.
[Works]
#2 - Assign ASP.NET permissions to the new account
(FAMILY is the domain name since it's the home/family domain
controller)
C:\WINNT\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -ga
FAMILY\aspxuseraccount
Start granting FAMILY\aspxuseraccount access to the IIS metabase and
other directories used by ASP.NET.
Finished granting FAMILY\aspxuseraccount access to the IIS metabase
and other directories used by ASP.NET.
[Works]
#3 - Create a Test ASP.NET Application
WRONG! This is a server that sits in the basement. I don't have visual
studio .net installed on this machine nor do I intend on buying it
just to "enable" my machine to serve a simple .aspx page.
So I create a small file named Default.aspx and I paste the text from
the article into it. Without VS.net I can't compile or run the app but
I ought to at least be able to serve this page. Nope... still can't do
that:
http://bubba/default.aspx
<quote>
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.
Administrator Note: An error message detailing the cause of this
specific request failure can be found in the application event log of
the web server. Please review this log entry to discover what caused
this error to occur.
</quote>
You really shouldn't run ASP.NET as the System account,
just in case something goes wrong with the boxes' security
Juan T. Llibre, asp.net MVP
asp.net faq :http://asp.net.do/faq/
foros de asp.net, en español :http://asp.net.do/foros/
======================================"Kevin Liebowicz" <linux-...@xxxxxxxxx> wrote in messagenews:1183470636.965982.254070@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jul 2, 10:38 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@xxxxxxxxxxxxxxxxxx> wrote:
Juan has given you the hangman's noose. Now I am going to inform you why
Juan told you not to do this.
You can get it running on a domain controller by altering this account. The
problem is you now leave a big hole into your domain controller.
Why is this a problem? Well, once someone has control of your domain
controller, they have control of your domain.
And, why is that dangerous? Do you hold ANY secrets. You know, things like
customer's credit cards, you own employee's social security numbers?
Anything like that? Well, you have the potential of leaving it all open for
someone.
Not at all. This domain controller is in the basement of my house
where it sits behind a firewall. There is no external access to the
network and the domain controller simply provides me with centralized
management for my computers and those that my kids use. I run a web
server on the same machine to serve mp3s, photos and videos.
Can this really happen? Well, the likelihood is fairly low. It is almost
impossible on a NORMAL web server, but it is a bit more of a risk on web
server that happens to sit on a DC.
Not a problem for me unless my wife plans on hacking into the server.
Don't think that you and/or Microsoft understand every customer
scenario because you don't.
Can you mitigate this. Certainly. Buy a web server.
I don't need yet another machine. The one I currently have is more
than capable.
Here is the bottom line. Is it less risky to tell the person forcing you to
do this to buy a web server or to have your customer's data stolen (and
perhaps your own) or to risk you job telling your boss
There is no customer data. I don't need another computer. And there is
no boss.
he needs to spend a
few thousand on a web server? If the later, then find a better job. And, if
it is you that is the boss deciding you need to risk your whole business
over a couple of thosand dollars, then I am wating my time.
Yeah, yeah, yeah. Once again... one size does NOT fit all.
Don't put your web server on a DC ... EVER.
EVER? Then do explain why my family intranet needs a 2nd machine to
server web pages.
Nuff said. If you ignore this, you can take Juan's "fix" and hang yourself.
Ignored because you believe that you understand my situation better
than I do. You do not.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBAhttp://gregorybeamer.spaces.live.com
Co-author: Microsoft Expression Web Bible (upcoming)
************************************************
Think outside the box!
************************************************"Kevin Liebowicz" <linux-...@xxxxxxxxx> wrote in message
news:1183424160.094676.21830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Yes, I wasted the past two days trying to fix this.
Yes, this is on a Win2003 Server.
Yes, this machine is a domain controller.
Yes, I seen the dozens of KB articles like this one:http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158
But the problem is that 99% of these are for ASP .NET 1.x and this
is .NET 2.x which I just installed to try and get .net working for the
first time ever. I've see all the HACKS to get .net 1.x working... but
this is for .net 2.x so these worthless KB articles do nothing for me.
Example -http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158
RESOLUTION
To work around this problem, use one of the following methods: ·
Create a weak account that has the correct permissions, and then
configure the <processModel> section of the Machine.config file to use
that account.
· Set the userName attribute to SYSTEM in the <processModel> section
of the Machine.config file.
· Configure the <processModel> section of the Machine.config file to
use an administrator account.
THIS IS USELESS !!!!! There is no "userName" attribute in the
Machine.config file in .net 2.x. And if this is a known problem then
why doesn't the installer warn me or fix it automatically. Sorry, but
your software sucks lately.!!!!!!!
The event log is filled with messages like:
<quote>
aspnet_wp.exe could not be started. The error code for the failure is
800700CB. This error can be caused when the worker process account has
insufficient rights to read the .NET Framework files. Please ensure
that the .NET Framework is correctly installed and that the ACLs on
the installation directory allow access to the configured account.
</quote>
Sorry Microsoft - But you are getting WORSE and WORSE. How about
software that simply works????
It's no wonder that Linux is kicking your *** and I'm about 30
seconds away from saying goodbye to your over-complicated bug ridden
crap and making the transition to linux myself.- Hide quoted text -
- Show quoted text -
.
- Follow-Ups:
- Re: I hate IIS - "Server Application Unavailable" error message
- From: Juan T. Llibre
- Re: I hate IIS - "Server Application Unavailable" error message
- From: Juan T. Llibre
- Re: I hate IIS - "Server Application Unavailable" error message
- References:
- I hate IIS - "Server Application Unavailable" error message
- From: Kevin Liebowicz
- Re: I hate IIS - "Server Application Unavailable" error message
- From: Cowboy \(Gregory A. Beamer\)
- Re: I hate IIS - "Server Application Unavailable" error message
- From: Kevin Liebowicz
- Re: I hate IIS - "Server Application Unavailable" error message
- From: Juan T. Llibre
- I hate IIS - "Server Application Unavailable" error message
- Prev by Date: RE: Strange exception.
- Next by Date: Re: does a web developer need to worry about serialization?
- Previous by thread: Re: I hate IIS - "Server Application Unavailable" error message
- Next by thread: Re: I hate IIS - "Server Application Unavailable" error message
- Index(es):