Deployment AD Controller is frequently hanging (0x80005000)

Jul 26, 2011 at 5:05 PM

Dear Maik,

Unfortunately we encounter frequent "Hang" problems of your AD Controller Component.
After doing an IISReset it starts to work again, but only for 1-3 days depending on the load.

Please Help!

I even tried to set the Recycle Time of the Web Service in IIS down to 30 minutes but this still does not fix the issue.

Got this from the debug log (just one sample of an AD query) :

2011-07-20 15:27:02.8588|DEBUG|MaikKoster.Deployment.WebService.AD|Specified Domain is xxx.com
2011-07-20 15:27:02.8715|DEBUG|MaikKoster.Deployment.WebService.AD|Specified Username is mdtaccount
2011-07-20 15:27:02.8715|DEBUG|MaikKoster.Deployment.WebService.AD|Creating new AD Controller
2011-07-20 15:27:02.9945|DEBUG|MaikKoster.Deployment.AD.Controller|Created new controller Instance for Domain xxx.com using credentials for User mdtaccount.
2011-07-20 15:27:02.9945|INFO|MaikKoster.Deployment.WebService.AD|Requested the SCCM Assigned Site of the requester
2011-07-20 15:27:03.0307|DEBUG|MaikKoster.Deployment.WebService.AD|Resolving User Host Address "10.1.14.15"
2011-07-20 15:27:03.0307|DEBUG|MaikKoster.Deployment.WebService.AD|Resolving to IPv4 Address
2011-07-20 15:27:03.0619|DEBUG|MaikKoster.Deployment.WebService.AD|Resolved to IPv4 Address "10.1.14.15"
2011-07-20 15:27:03.0619|INFO|MaikKoster.Deployment.WebService.AD|Using IP Address 10.1.14.15
2011-07-20 15:27:03.0619|DEBUG|MaikKoster.Deployment.AD.Controller|Get SCCM Assigned Site Code for IP Address 10.1.14.15.
2011-07-20 15:27:03.2182|DEBUG|MaikKoster.Deployment.AD.Controller|Searching SCCM Boundaries for IP Address 10.1.14.15.
2011-07-20 15:27:03.2182|DEBUG|IP|Convert IP 10.1.14.15 to decimal value.
2011-07-20 15:27:03.2279|DEBUG|IP|Parsed IP Address 10.1.14.15 into Decimal value 167873450.
2011-07-20 15:27:03.2465|DEBUG|MaikKoster.Deployment.AD.Controller|Get "System Management" Directory Entry.
2011-07-20 15:27:03.2465|DEBUG|MaikKoster.Deployment.AD.Controller|Get Directory Entry for ObjectDN "xxx.com".
2011-07-20 15:27:03.2465|DEBUG|MaikKoster.Deployment.AD.Controller|Getting Directory Entry for object xxx.com using configured credentials for user mdtaccount.
2011-07-20 15:27:03.2465|DEBUG|MaikKoster.Deployment.AD.Controller|Added LDAP:// to supplied Path "xxx.com".
2011-07-20 15:27:03.4330|DEBUG|MaikKoster.Deployment.AD.Controller|Executing query "(CN=System Management)".
2011-07-20 15:27:03.5541|DEBUG|MaikKoster.Deployment.AD.Controller|Exception: Unknown error (0x80005000).
2011-07-20 15:27:03.5541|DEBUG|MaikKoster.Deployment.AD.Controller|leaving method
2011-07-20 15:27:03.5541|DEBUG|MaikKoster.Deployment.AD.Controller|No System Management Object available. Skipping further processing.
2011-07-20 15:27:03.5639|DEBUG|MaikKoster.Deployment.AD.Controller|No Site Code found.
2011-07-20 15:27:03.5639|INFO|MaikKoster.Deployment.WebService.AD|No assigned site found. Returning empty string

After the Restart it looks like this:

2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Specified Domain is xxx.com
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Specified Username is mdtaccount
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Creating new AD Controller
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Created new controller Instance for Domain xxx.com using credentials for User mdtaccount.
2011-07-20 15:45:15.1790|INFO|MaikKoster.Deployment.WebService.AD|Requested the SCCM Assigned Site of the requester
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Resolving User Host Address "10.1.14.15"
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Resolving to IPv4 Address
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.WebService.AD|Resolved to IPv4 Address "10.1.14.15"
2011-07-20 15:45:15.1790|INFO|MaikKoster.Deployment.WebService.AD|Using IP Address 10.1.14.15
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Get SCCM Assigned Site Code for IP Address 10.1.14.15.
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Searching SCCM Boundaries for IP Address 10.1.14.15.
2011-07-20 15:45:15.1790|DEBUG|IP|Convert IP 10.1.14.15 to decimal value.
2011-07-20 15:45:15.1790|DEBUG|IP|Parsed IP Address 10.1.14.15 into Decimal value 167873450.
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Get "System Management" Directory Entry.
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Get Directory Entry for ObjectDN "xxx.com".
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Getting Directory Entry for object xxx.com using configured credentials for user mdtaccount.
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Added LDAP:// to supplied Path "xxx.com".
2011-07-20 15:45:15.1790|DEBUG|MaikKoster.Deployment.AD.Controller|Executing query "(CN=System Management)".
2011-07-20 15:45:15.1966|DEBUG|MaikKoster.Deployment.AD.Controller|Found "System Management" Container at "LDAP://xxx.com/CN=System Management,CN=System,DC=xxx,DC=com".
2011-07-20 15:45:15.1966|DEBUG|MaikKoster.Deployment.AD.Controller|leaving method
2011-07-20 15:45:15.1966|DEBUG|MaikKoster.Deployment.AD.Controller|Search for IP Ranges first.

Note that i changed all relevant names for security reasons (including ip address)

Thanks in advance for you fast reply.

kind regards,
mike

 

Aug 30, 2011 at 1:15 PM

Fixed the Problem by moving the Webservice away from the SCCM Server.

thx
mike

Aug 30, 2011 at 3:34 PM

Hi Mike,

glad you found a fix to solve your problem as I haven't seen this problem so far, even in larger and heavily used environments. Well it does not really solve the problem itself but at least it is working, ;-)

Regards

Maik