CreateVirtualDirectory Error
On a SCCM 2007 Sp1 testenvironment running on Windows Server 2008 (IIS 7), I had an Issue where SCCM was unable to create the virtual directory on IIS for a BITS enabled DP..
The Error in Distmgr.log:
..
CWmi::GetObject(): GetObject() failed. - 0x80041013 SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:31 5508 (0x1584)
ERROR CreateVirtualDirectory: Failed to update virtual directory SMS_DP_SMSPKGE$. error = IDispatch error #3603 SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:32 5508 (0x1584)
STATMSG: ID=2344 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_DISTRIBUTION_MANAGER" SYS=SCCM SITE=CS0 PID=692 TID=5508 GMTDATE=Tue Nov 18 21:00:32.007 2008 ISTR0="["Display=\\SCCM\"]MSWNET:["SMS_SITE=CS0"]\\SCCM\" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=1 AID0=404 AVAL0="["Display=\\SCCM\"]MSWNET:["SMS_SITE=CS0"]\\SCCM\" SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:32 5508 (0x1584)
ERROR CheckDPforDrizzle: Could not find the desired DP ["Display=\\SCCM\"]MSWNET:["SMS_SITE=CS0"]\\SCCM\ in the SCF SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:32 5508 (0x1584)
Cannot set the current Drizzle Role status for the DP. SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:32 5508 (0x1584)
Error occurred. SMS_DISTRIBUTION_MANAGER 18.11.2008 22:00:32 5508 (0x1584)
...
The Reason was: The "IIS 6 WMI Compatibility" Role was not installed on IIS7...

Installing the missing part and restarting the server has fixed the Issue....