Link to home
Start Free TrialLog in
Avatar of gadicherla
gadicherla

asked on

Runtime error message IM006:

we developed an .exe application(vb6.0 and Oracle8.0).
 While running this .exe application on Windows NT4.0 and database server (which r on the same machine) we r getting this run time error as:
           RUNTIME ERROR - 40002
       IM006 [Microsoft][ODBCDriverManager]
       Drivers SQL SetConnectAttr failed.
 Note: when we run .exe application on another WIN NT4.0 or Win95 where the database server is on the other machine, then it is working perfectly.

                       Please reply to this as early as possible.
       Thanking u.
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

I suspect your ODBC-DSN not be as it would be!

Which data access method do you use? Depending on the data access mechanism you use, you have an error collection (rdoErrors fo examples) which will give you another more explicit message!
Avatar of mayhew
mayhew

Can you post the code?
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada 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
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.

This is the Community Support link, if help is needed, along with the link to All Topics since many new ones were recently added.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thanks,
Moondancer
Moderator @ Experts Exchange