Can't start IIS server
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngconfig' list.


Steven Archibald
As a result of trying to correct an SQL login problem, I reset the
password for my 'ASPNET' user account. Now, when I try to start my
project to debug it, I get an error that refers me to the event log.
The following error is in the event log:

aspnet_wp.exe could not be launched because the username and/or password
supplied in the processModel section of the config file are invalid.

Can anyone tell me which config file I should be trying to correct?
There is nothing in the web.config file for the project that seems to
match. Am I going to have to delete the account and re-install the .NET
framework, IDE, etc.?

Doing a file search for a filename containing 'config' returned
approximately one gazillion files, none of which seems to be related to
the IIS server itself...
Reply to this message...
 
    
Johnson, Peter
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -r

may take care of you. One of my coworkers had a goofy ASP.NET/IIS problem
and I think that's the command that fixed it. Whether it fixes the ASPNET
user or not, I'm not sure.

Is resetting the ASPNET account an acceptable fix, or do you really need to
change the password ASP.NET is using? If the latter, you should be able to
change the password it uses:

Find this file (back it up first though!)
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config

and change this element's attribute
<processModel password="AutoGenerate"/>

to this
<processModel password="MyPassword"/>

If that doesn't do it, you might try changing both of these attributes
instead:
<processModel userName="ASPNET" password="MyPassword"/>

HTH,
Peter

[Original message clipped]


**********************************************
This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail. Thank you for your cooperation.
**********************************************

ec03/04

Reply to this message...
 
    
Steven Archibald
Peter, Thanks!

Before I received your message, I was able to work out your suggested
solution, although I do not like it for long term.

I actually had reset the ASPNET password, and ignored the warning about
the possibility of some files no longer being available. When the
ASPNET account is created during installation, the 'General' settings
tab has the 'User cannot change password' checkbox checked. I suspect
the 'AutoGenerate' value in the machine.config file somehow uses the
equivalent of the NT SID to get the password from the system, or it
changes the password every time it starts up, and then stores it
somewhere. When I 'reset' the password, it no longer matches what gets
generated.

I suspect I will need to uninstall .NET, remove the ASPNET account, and
then re-install. First, however, I will try restoring the value to
'AutoGenerate' and see if that now works again.

<sigh...> the price of ignoring warnings...

Cheers!
Steven Archibald
Steven Archibald Consulting Corporation
Voice: 510.684.4588
Fax: 510.217.3712

-----Original Message-----
From: Johnson, Peter [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 02, 2002 3:01 PM
To: aspngconfig
Subject: [aspngconfig] RE: Can't start IIS server

C:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -r

may take care of you. One of my coworkers had a goofy ASP.NET/IIS
problem and I think that's the command that fixed it. Whether it fixes
the ASPNET user or not, I'm not sure.

Is resetting the ASPNET account an acceptable fix, or do you really need
to change the password ASP.NET is using? If the latter, you should be
able to change the password it uses:

Find this file (back it up first though!)
C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG\machine.config

and change this element's attribute
<processModel password="AutoGenerate"/>

to this
<processModel password="MyPassword"/>

If that doesn't do it, you might try changing both of these attributes
instead:
<processModel userName="ASPNET" password="MyPassword"/>

HTH,
Peter

[Original message clipped]


**********************************************
This e-mail and any attachments may be confidential or legally
privileged.
If you received this message in error or are not the intended recipient,
you
should destroy the e-mail message and any attachments or copies, and you
are
prohibited from retaining, distributing disclosing or using any
information
contained herein. Please inform us of the erroneous delivery by return
e-mail. Thank you for your cooperation.
**********************************************

ec03/04

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Johnson, Peter
Did you try using aspnet_regiis.exe as I described below?

If you get to the point where you're about to reinstall .NET anyway, you
might try removing the ASPNET account and running aspnet_regiis.exe in case
it adds it if not found, but does not fix it if it's found but "corrupted."

--Peter

[Original message clipped]


**********************************************
This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail. Thank you for your cooperation.
**********************************************

ec03/04

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com