IUSR and IWAM new / synched passwords does not work!?
am 04.09.2007 13:50:05 von JobAnderssonHi,
We just installed IIS on the company I work for. Since the IUSR password is
not synced with the website at default (for some retarded reason), we had to
change the IUSR password ... after this the website worked perfectly fine
However, a moment after the IWAM user password was also changed by misstake
- and since it is not possible to enter the password anywere in the ISS
console we had to sync the "meta database" manually.
We used the /inetpub/AdminScripts for this.
The syntax we used:
cscript adsutil.vbs set w3svc/anonymoususerpass "f00"
cscript adsutil.vbs get w3svc/anonymoususerpass (reports correct password)
cscript adsutil.vbs set w3svc/wamuserpass "f00"
cscript adsutil.vbs get w3svc/wamuserpass (reports correct password)
To sync the passwords with IIS we used:
cscript.exe synciwam.vbs -v
After this we restarted the IIS service through IIS console All Task ->
restart IIS.
But we still cannot access the website anymore and get this stupid message:
"
You are not authorized to view this page
You do not have permission to view this directory or page using the
credentials that you supplied.
------------------------------------------------------------ --------------------
Please try the following:
Contact the Web site administrator if you believe you should be able to view
this directory or page.
Click the Refresh button to try again with different credentials.
HTTP Error 401.1 - Unauthorized: Access is denied due to invalid credentials.
Internet Information Services (IIS)
"
I have no idea what to do if the sync didnt work (since the vbs scripts
reported success).
Anyone know what do next?
P.S. We just left Apache and installed IIS and am very puzzled by the amount
of administrative crap IIS features. I just dont understand how the webserver
settings of apache that fits snuggly into a small configuration file can
become a tiresome console of such enormous proportions in IIS???! We never
had any problems at all with Apache...