web.config not updating

  • Thread starter Thread starter Mark
  • Start date Start date
M

Mark

I have a web.config value that I have updated, but the new value isn't being
reflected in my application.

1. VS.NET 2003 Professional with 1.1 framework.
2. While I don't believe it's relevant, the problematic line is the one
below. I just updated the password and it keeps displaying the OLD password
saying that the password is invalid.

<identity impersonate="true" userName="mydomain\myuser"
password="mypasswordnew"/>

3. We've confirmed that the new password is working on our domain.
4. I stopped and restarted VS.NET.
5. The project builds properly.
6. ASP.NET's error message is below when I run the program without
debugging. It highlights the web.config line above, but displays the old
password.
7. I've done a search of the entire project looking for the old and new
password to make sure I'm not loosing my mind. Only the new password exists
in my project, and specifically, only in the web.config.

Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Could not create Windows user token from the
credentials specified in the config file. Error from the operating system
'Logon failure: unknown user name or bad password. '

Odd. Any ideas?

Thanks in advance!

Mark
 
Answer:

I was using a local Virtual Directory for my project. I had put a copy of
the same project in my root web folder. It appears it was checking the
web.config file in my root folder and using that value rather than the one
in my Virtual Directory.

Mark
 
Back
Top