PDA

Click to See Complete Forum and Search --> : ASP.NET Install Failing After Restart


TomGibbons
Aug 18th, 2004, 03:37 AM
I'm on WinXP Pro so I've IIS 5. I install IIS and ASP.NET 1.1 and all works fine. VS connects to the server fine and all that. But whenever I restart and load up VS, it tells me that it can't connect to the server, or Internet Server Error or something (can't remember the exact wording). The pages aren't showing up either, I just get:

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.

The error log says:
aspnet_wp.exe could not be started. The error code for the failure is 80070545. 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.

So, other than reinstalling IIS and ASP.NET each time (which does work, but is somewhat of a pain) does anyone have any ideas? There some patches on the Microsoft site for ASP.NET 1.0, but not 1.1 :(

Thanks :)

TomGibbons
Aug 18th, 2004, 03:38 AM
Oh and I've checked the permissions on the directory where the files are all stored, and ASPNET has full access :-/

nemaroller
Aug 18th, 2004, 06:41 AM
Originally posted by TomGibbons
But whenever I restart and load up VS

When you mean restart... do you mean restart the computer?

(btw I am running asp.net 1.1 with iis5 on a xp pro machine)

TomGibbons
Aug 18th, 2004, 06:45 AM
Originally posted by nemaroller
When you mean restart... do you mean restart the computer?

(btw I am running asp.net 1.1 with iis5 on a xp pro machine) Yeah, restart the computer. Funny thing is, I've the same setup at home but it's fine. Unless it's something to do with the Active Drectory and permissions... :-/

nemaroller
Aug 18th, 2004, 06:55 AM
hmm.. well.. if you are installing the iis and asp.net under an administrator account that exists on the machine... it shouldn't be an issue.

You posted this message in the asp.net forum... does this only occur on a fresh restart with web applications or windows forms as well?

Anyway..
Under Local Security Policy I have ASPNET in the following places:

Deny Logon through Terminal services

Deny logon locally

LogOn as a batch job

LogOn as a service

ASPNET is only a member of Users on my machine

nemaroller
Aug 18th, 2004, 07:04 AM
You can also try running the Microsoft .NET Framework 1.1 Configuration applet from the control panel, or from this location:

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc

Check to see if your enterprise security settings are preventing something....

TomGibbons
Aug 18th, 2004, 07:23 AM
Originally posted by nemaroller
...
You posted this message in the asp.net forum... does this only occur on a fresh restart with web applications or windows forms as well?
...
Yeah, just ASP.NET applications. I'll take a look at the config file in a bit. I've a few things I need to get sorted.

Cheers so far!