Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASPNET user password ??? 1

Status
Not open for further replies.

RSfromCO

Programmer
May 3, 2002
149
US
I am getting the following message in my Event Viewer when Windows XP starts ...

"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 can't run my ASP.net application that was running previously. It appears that the ASPNET user account has a password. I am not sure if it had a password before. Does it get setup to have a password automatically when I installed ASP.net? Or perhaps has someone logged in as the ASPNET user and changed the password (not realizing what they were doing)? I can remove the password, but I am not sure if that is the proper thing to do. It warns me that if I remove the password for ASPNET it will "lose all EFS Encrypted files, personal certificates, and stored passwords for Web sites or network recources". That may just be the standard warning however when you remove a users password.

Any advice ?
 
did you check what the password was in the processmodel?

Just find the machine.config file on your pc, and search for the asp.net process model. By default, it should say AutoGenerate. If someone did monkey around with that file, then changing it back should do the trick.

There's a huge paragraph before the actual process model tag (its all xml), which describes what each property does.

hth

D'Arcy
 
My processModel tag in machine.config appears to have the password set to AutoGenerate (as you say it should). But I still have the problem.

<processModel enable=&quot;true&quot; timeout=&quot;Infinite&quot; idleTimeout=&quot;Infinite&quot; shutdownTimeout=&quot;0:00:05&quot; requestLimit=&quot;Infinite&quot; requestQueueLimit=&quot;5000&quot; restartQueueLimit=&quot;10&quot; memoryLimit=&quot;60&quot; webGarden=&quot;false&quot; cpuMask=&quot;0xffffffff&quot; userName=&quot;machine&quot; password=&quot;AutoGenerate&quot; logLevel=&quot;Errors&quot; clientConnectedCheck=&quot;0:00:05&quot; comAuthenticationLevel=&quot;Connect&quot; comImpersonationLevel=&quot;Impersonate&quot; responseRestartDeadlockInterval=&quot;00:09:00&quot; responseDeadlockInterval=&quot;00:03:00&quot; maxWorkerThreads=&quot;25&quot; maxIoThreads=&quot;25&quot;/>

I was originally thinking that someone could have accidentally logged into my XP-Pro machine as the ASPNET user and then changed the password (thinking they were setting their own password). I see now that the ASPNET user does not show up in the list when you log-in, so I don't think that could happen. I do wonder what would happen if I just went through the User Manager application and got rid of the password for the ASPNET user account...
 
change your username from &quot;machine&quot; to &quot;system&quot;
and restart your comp.
Hope this help.

Angela
 
Thanks. That did make it work. However, I am wondering how this got messed up in the first place. I have never edited the machine.config file (I didn't even know it existed). I'm sure my kids don't know enough to find this file and change it in any way. Hmmmmm. I'm not sure why things shouldn't work with the username &quot;machine&quot;. Oh well, if it's working now I guess I can't complain.

Thanks again!
 
One warning:

If you change your username to system, aspnet is not considered a user with higher priveledges. There should be a way to make it work with the machine username.

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top