I've created a DLL that uses MSWINSCK.OCX to Query a server. Using the DLL in a test program in VB, no error occurs.
If I'm calling the DLL from my ASP application, sometimes it works, sometimes I get the error:
DLLName error '800a0578'
Method '~' of object '~' failed
/page.asp, line 20
I've updated MDAC (twice) and have used the MDAC version check utility. This utility gives me a list of drivers and versions, and no errors.
The test program in VB runs on the same machine as IIS.
Does anyone know what to do? Anything I have to look for in the MDAC version check utility? Or is something else going on here?