PerlEx: DCOM 10004 and W3SVC 36 in eventvwr

PerlEx: DCOM 10004 and W3SVC 36 in eventvwr

am 09.08.2010 13:05:20 von Michael.Ludwig

With PerlEx 3.0 on IIS 5.1 on XP Professional, I've seen the system refuse to execute working scripts, and instead drop me an error and a warning in the Windows event log. The error is DCOM 10004, and it always followed by a warning W3SVC 36. I think the warnung is just a corrollary and wouldn't be there if the error weren't.

The first time this occurred was after a Windows system update with a pending injunction to reboot. Predictably, the reboot fixed the problem.

The second time this occurred was after the computer spending the weekend in sleep mode. (But it does that every night.) I tried three things:

(1) stop and restart the website: doesn't help;
(2) stop and restart the service: doesn't help either;
(3) call iisreset: this works.

Obviously, having to call iisreset is not a solution. I'd like to understand this problem, and then solve it. Googling for DCOM 10004 and Perlex didn't turn up anything. Googling for DCOM 10004 and IIS yields more hits.

The precise error message (in German) I'm seeing is:

Bei DCOM ist der Fehler "Anmeldung fehlgeschlagen: Dem Benutzer wurde der angeforderte Anmeldetyp auf diesem Computer nicht erteilt. " aufgetreten. .\IWAM_HRSWKS016 konnte nicht angemeldet werden, um den folgenden Server zu starten:
{3D14228D-FBE1-11D0-995D-00C04FD919C1}

Which translates to some kind of logon failure: "unable to logon .\IWAM_ in order to run the server: {ID}".

There is a description of the scenario here:

http://objectmix.com/inetserver/285113-frequent-dcom-10004-w 3svc-36-errors.html

Mention is made of a script called synciwam.vbs, but that seems to be another workaround. Why do things get out of sync?

There's an answer that sounds helpful on that page:

For whatever reason it appears that the password
stored in the SAM, and the password IIS has for the
IWAM account are getting "out of sync" every day.

Instead of delving into a world of things I'm not yet familiar with (like secpol.msc), I'm asking the list for experience and advice regarding this issue.

--
Michael Ludwig
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

RE: PerlEx: DCOM 10004 and W3SVC 36 in eventvwr

am 01.09.2010 18:29:09 von Michael.Ludwig

> -----Original Message-----
> On Behalf Of Ludwig, Michael
> Sent: Monday, August 09, 2010 1:05 PM
> Subject: PerlEx: DCOM 10004 and W3SVC 36 in eventvwr
>
> With PerlEx 3.0 on IIS 5.1 on XP Professional, I've seen the
> system refuse to execute working scripts, and instead drop me
> an error and a warning in the Windows event log. The error is
> DCOM 10004, and it always followed by a warning W3SVC 36. I
> think the warnung is just a corrollary and wouldn't be there
> if the error weren't.

Still haven't had time to investigate this, but I've just seen
the same issue with ASP (asp.dll), so I think it is unrelated
to ActivePerl.

Found this page, which doesn't list DCOM 10004 or W3SVC 36, so
it didn't show up in my original search.

PRB: Configured Identity Is Incorrect for IWAM Account
http://support.microsoft.com/kb/297989/en

>From a quick test, it appears that following the instructions
given on the above Microsoft support page is the solution to
this problem. Authorization info has to be kept in sync in
three places.

So I hope this is the final solution.
--
Michael Ludwig
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs