aspnet_wp.exe could not be launched

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hi,
I have found this Error in our event log...
Event Type: Error
Event Source: ASP.NET 1.1.4322.0
Event Category: None
Event ID: 1007
Date: 2/5/2009
Time: 1:35:18 PM
User: N/A
Computer: "Name"
Description:
aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid.


I have found this Microsoft article...
http://support.microsoft.com/kb/315158

This is on our domain controller. We can not create a local account called
ASPUSER. Can someone please help and explain this solution or maybe there is
a better solution?

Thank you
 
!> This is on our domain controller.

OK. That's the situation the article refers to.

re:
!> We can not create a local account called ASPUSER.

As the KB indicates, you must specify an explicit account in the <processModel>
section of the Machine.config file, or you must use the SYSTEM account.

The name "ASPUSER" is only a sample name...and isn't really a Windows account.
You can use *any* local account name.

re:
!> Can someone please help and explain this solution or maybe there is a better solution?

Sure, I'll try to explain, but there isn't any "better" solution.

The "ASPNET" account isn't created by the .Net Framework on domain controllers.
When your application tries to run as the "ASPNET" account...it can't and produces the error you report.

To fix that, you must create a "weak" domain account ( "weak" in that it doesn't have
as many privileges as other accounts, although it has enough to run ASP.NET ).

Here's instructions which tell you how to create a domain account to run ASP.NET as :
http://msdn.microsoft.com/en-us/library/ms998297.aspx

Follow steps 1-6 and you'll be OK.

Backup the domain controller's machine.config file ( in case something goes wrong )
and remember to edit, at the very least, these parts of the ProcessModel section
(under "system.web") of the domain controller's machine.config file :

<system.web>
<processModel enable="true"
userName="MACHINENAME\The_UserNameYouCreated"
password="%Hco94*#QW12"/>
</system.web>

If you have any doubts, please see :
http://msdn.microsoft.com/en-us/library/dwc1xthy.aspx

If you want to manually verify that the command
aspnet_regiis -ga MachineName\The_UserNameYouCreated

....worked OK, here's the Access Control Lists (ACLs) ASP.NET requires to function correctly :

http://msdn.microsoft.com/en-us/library/kwzs111e.aspx

Running :

aspnet_regiis -ga MachineName\The_UserNameYouCreated

from a command windows should have given the account the correct ACL permissions.

This looks more intimidating than what it actually is, Eric.
Just follow the instructions in the sequence given...and you should be OK.

If not, post any problems you encounter...and
REMEMBER to backup "machine.config" before editing it !



Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
=========================
 
Back
Top