I got passed the 0 record count problem by testing the code in VB. The object seems to be created but hangs when the GetAllDepartments call is made under IIS.
Terry Rooks
Software Systems Architect
Microsoft Certified Solution Developer.Net
If at first you don't succeed, then skydiving definitely isn't for you.