I have seen this error popping up every now and then at multiple customer sites and haven’t really been able to solve it yet. It does not look like I am alone either.
The error message usually looks like this:
Error doing IIS Discovery
Error: 0x80070002
Details: The system cannot find the file specified.
One or more workflows were affected by this.
Workflow name: Microsoft.Windows.InternetInformationServices.2003.DiscoverBase
Instance name: Microsoft.Windows.InternetInformationServices.2003.ServerRole
Instance ID: {A81E4808-4D05-9BFE-4043-DC668527F2D0}
Management group: MASKED
Or…
Error doing IIS Discovery
Error: 0x80070006
Details: The handle is invalid.
One or more workflows were affected by this.
Workflow name: Microsoft.Windows.InternetInformationServices.2000.DiscoverWebSites26to50
Instance name: IIS Web Server
Instance ID: {D36DA76A-027F-8F3E-4160-115279A1E23A}
Management group: MASKED
I have been trying to figure out what file is missing and/or if the “invalid handle” is related. Possibly a file-handle? Could be but not neccesary since these two errors occur on different servers with increasing repeat-count (atleast once-a-day). The IIS MP does call the IIS*.VBS Scripts in %windir%System32 but as far as I can tell, on the systems I have tried it on, the scritps return valid data. This does by no means mean that there is no error and evidently I am missing something. But what? Does anyone have a clue to this?
References and other victims:
- “Error Doing IIS Discovery” on Google
- “SCOM: IIS Discovery Probe Module Failed Execution” on Codejnki’s Blog
- “Error doing IIS Discovery Error: 0×80070006″ on TechNet Forums
- “IIS Discovery Probe Module Execution Failure” on Digital Support Forum
- “IIS Discovery Probe Module Execution Failure” on EggHeadCafe
- “IISDiscoveryProbe Error – any ideas?” on Microsoft Discusson Groups
And no, neither of these provides even a hint to a working solution.
