Script work in Devl but not in Prod Vmware machine

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

Script work in Devl but not in Prod Vmware machine

Post by mfauzim » Wed Oct 18, 2006 9:58 am

I have a script which is able to pull data from oracle in insert in mssql. it works in the . When I move the compile app to prod machine which is using vmware, the system give the following error code:

adodb.connection : 3704
operation is not allowed when object is closed.

any help pls.

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Oct 18, 2006 11:08 am

Maybe it's not able to connect to the server? Can you post the code?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
pgriffin
Automation Wizard
Posts: 460
Joined: Wed Apr 06, 2005 5:56 pm
Location: US and Europe

Post by pgriffin » Wed Oct 18, 2006 7:28 pm

Do you have a .open line in your code? There can be user permission issues from machine to machine which can effect whether or not a connection can be made. Are you able to test on that machine as user (say, yourself maybe) which has access to that database?

mfauzim
Pro Scripter
Posts: 89
Joined: Wed Sep 13, 2006 10:57 am

Code is correct only error with MDAC

Post by mfauzim » Sat Oct 21, 2006 12:58 am

Sorry guy for late reply, i managed to solved it by using pracle odbc. Previously I used microsoft odbc for oracle, I keep getting error on vmware, but after change odbc to oracle odbc driver, everything works without any code change

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts