Sunday, February 05, 2006

Aspnet_wp.exe could not be started

Last week I had a problem, When I moved to new machine. I was able install everything except ASP.NET, Then I checked the status of Aspnet_wp.exe, it was not running. I re-installed whole asp.net using aspnet_regiis.exe. I was bored and started searching. Then i found, it was due to security in related folders.


WORKAROUND
To work around this problem, verify that the ASPNET account has the correct user rights as follows:

• %windir%\Microsoft.NET\Framework\Version\Temporary ASP.NET Files: Full Control
• %windir%\Temp: Full Control
• Application folder: Read
• %installroot% hierarchy (for example, %windir%\Microsoft.Net\Framework\Version): Read
• %windir%\Assembly: Read

Note This is the global assembly cache. You cannot directly use Windows Explorer to edit ACLs for this folder. Instead, open a command window, and then run the following command:

cacls %windir%\assembly /e /t /p domain\useraccount:RAlternatively, before you use Windows Explorer, run the following command to unregister Shfusion.dll:
regsvr32–u shfusion.dll

After you set user rights in Windows Explorer, run the following command to re-register Shfusion.dll:
regsvr32 shfusion.dll

• Web site root (for example, %root%\Inetpub\Wwwroot) or the path that the default Web site points to: Read

• %windir%\System32: Read (Typically, the ASPNET account has already been granted user rights as a member of the Users group.)


Courtesy : http://support.microsoft.com/default.aspx?kbid=811320

No comments: