Tip

Troubleshooting ASP errors on your server

This tip was submitted to the SearchWin2000 Tip Exchange by member Joe Keegan. Let other users know how useful it is by rating the tip below.


This issue was beating me up for a long time. I finally figured out what it was, and thought I'd save everyone some aggravation:

The issue was that ASPs wouldn't run, but basic HTML pages would. Because I'm not the greatest ASP scripter, it took a long time for me to look to the server for the problem.

 

  • IIS was set to run scripts... [ok]
  • permissions on the folder allowed scripts to run [ok]

    Everything I checked was OK...until I looked in the system Event Viewer. Two events in particular were worth noting:

     

  • "Event ID: 36." "src: w3svc". DCOM got error "Logon failure: unknown user name or bad password," and was unable to logon "DOMAINIWAM_SERVERNAME" in order to run the server: {3D14228D-FBE1-11D0-995D-00C04FD919C1}.

     

  • "Event ID: 10004" "src: DCOM". In this case, the server failed to load the application "/LM/W3SVC/1/ROOT." The error was: "The server process could not be started because the configured identity is incorrect. Check the username and password."

    Obviously something with the IWAM account was amiss. (That stands for Internet Web Application Manager.)

    Further investigation into TechNet and other resources led me to the conclusion that the

    Requires Free Membership to View

  • IWAM account in Active Directory and the IWAM account settings in the IIS metabase were out of sync. There are several articles that describe how to fix this, one of which invloves running the "synciwam.vbs" script in "c:wwwrootadminscripts." However, running this script yielded a long numerical error: "80110414."

    After hours of digging in the DCOM section of "Component Services" and "Active Directory", I finally found that the IWAM account had the "Use Cannot Change Password" checkbox checked in its account.

    Unchecking this and re-running the "synciwam.vbs" script fixed everything.

    I hope this saves someone the headache that I had.

This was first published in May 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.