Link to home
Start Free TrialLog in
Avatar of DelTreme
DelTreme

asked on

Method '~' of object '~' failed

Hi,

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?
Avatar of DelTreme
DelTreme

ASKER

By the way, the MDAC version is 2.8, running on Win2000 Adv. Server.
SOLUTION
Avatar of JNSTAUB
JNSTAUB
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe I'm being haunted or something -

3 weeks ago I installed the latest version of MDAC. The installation completed and I rebooted the server. After that, the problem kept coming back. I repeated the reinstall of MDAC and the reboot - no changes in the situation.

Before asking this question, I downloaded the MDAC versions checker, as it's known as a 'final solution' to help fix the problem. But the tool gives me information that isn't usefull for me (more numbers that words :s). Also, there's no "Fix" button or something to help this poor noob I am.

I thought it might be smart to tell you guys/gals what version of MDAC I'm running, so I checked the same site I downloaded MDAC from, 3 weeks ago. It says "MDAC 2.8 Now Available for Download" dated August 7.

Yet after posting this question, I installed MDAC 2.8 and the problem *vanished*. Was MDAC 2.8 released at August 7, but posted on the site less than 3 weeks ago? I don't know, but the problem is gone.