Showing posts with label process. Show all posts
Showing posts with label process. Show all posts

Thursday, March 22, 2012

server 2003, session ending questions

Is the worker process the same on a windows 2003 machine the same as it is on an XP pro machine? I was looking in the task manager for the aspnet_wp.exe, but couldn't find it. The real question is though, does anyone know reasons why sessions may be ending prematurely? I checked the timeout settings in machine.confing, in the iis application settings, and in web.config. All of the settings are at 1200 seconds or 20 minutes. The machine also hosts a few other servers and I thought that the worker process could be recycling itself for some reason. ANyone have any ideas on what to consider as the cause?"Application Pooling in IIS 6.0
IIS versions earlier than 6.0 use the ASP.NET process model (Aspnet_wp.exe). Under the ASP.NET process model, each unique application version automatically runs in a separate process at run time. All applications that target the same version of the runtime share the same process (or processes in Web garden mode). However, IIS 6.0 uses the IIS 6.0 process model (W3wp.exe) and introduces a new isolation feature called application pooling. Application pooling allows applications to run together in one or more processes, as long as they share the same pool designation. Applications that are assigned different application pools never run in the same process."
-- fromMSDN: Configuring an ASP.NET Application for an ASP.NET Version

If the wp is recycling, then you should find an error in the System Event Log (or possible Application Event Log).

Tuesday, March 13, 2012

Server Application Unavailable

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

Anyone? Tanks a lot

Possibly a dumb question sine this is obvious, but you didn't post anything about this:

Did you do as the error suggested and check the access permissions?

aspnet-regiis -i usually fixes this, though you may need to use the -ga parameter and the domain/account of the ASP.NET process account.

Jeff


Also take a look in the Event Viewer and see if there is anything else in there that can be causing the problem, but Jeff's suggestion should fix it.

Also, when using the aspnet_regiis with the grant access switch (/ga) use "ASPNET" for IIS 5.1 and below and "NETWORK SERVICE" for IIS 6.0 or 7.0.


Sorry for bumping an old thread, but I'm running into this problem too. I tried to follow vcsjones' instructions as so

C:\WINNT\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis.exe -ga "NETWORK SERVICE"
Start granting NETWORK SERVICE access to the IIS metabase and other directories used by ASP.NET.
Finished granting NETWORK SERVICE access to the IIS metabase and other directories used by ASP.NET.

But I still get the same error. Most of the solutions I find on the web are for the 1.0 framework, but event viewer says my source is 2.0.

The event description said to check the ACLs, and i have IIS_WPG and added NETWORK SERVICE to the security tab of the 2.0 framework but with no luck.

Any more suggestions?


I have tried to find out about this, and it is no where i can find a correct answer.

What I did was to delete the ASP.NET user from the local computer, and run the installation of the redist of .NET v 2.0 and select repair.

This did help me solv my problem.

// Grubler \\