Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Runtime Error 430 - You know Why ? 2

Status
Not open for further replies.

Deadline

Programmer
Feb 28, 2001
367
US
Hi,


I actually compiled and made an EXE file in my machine, which runs Windows2000.

But when I tried to run the same EXE file in the server machine, it gave me the following error:

Code:
Run-time error '430':
Class does not support Automation or does not support expected interface


Does anyone of you experienced this problem ? What could be the reason ?

My VB Code contains only a .bas file and refers to an Access Database present in the same directory, doesn't make use of any ActiveX components.

So please help me.

Thank you very much.

RR.
 
If you are using an access DB then yout are using DAO/RDO/ADO all of which of COM objects (also known as ActiveX components). My guess is that since the code worked on the Win2K machine, but not the server, some of your dependencies are off. Take a look at any object reference you have (these are your ActiveX components) and make sure that they are installed and correctly registered (and the correct version). Also, make sure that all of the VB dependencies are installed (stuff like MSVBVM60.dll and others).
That should get you started . . . - Jeff Marler B-)
 
Jeff

Thank you very much. But except for Scripting Runtime and ADO Library, I am not making use of any other reference or controls.

Also the server in which I am trying to run this program is Win NT 4 with NO VB, No Access or Nothing. It runs IE5 and the MSDADC.DLL file's version is 2.50.4403.0


In my machine I have IE5.5, Win2K and Visual Studio with SP4 and MSDADC.DLL's version is 2.51.5303.0

My PM said NO to install Visual studio in the server, which is a production server. He needs me to do something about it without installing Visual Studio or Win2K. At the most I can install latest version of MSDADC. But when we read the CAUTIONS in the Microsoft.com/data website, it really scares me; it seems it will be appropriate, ONLY a System Admin performs that.

What do you suggest ?


Thank you very much again...



RR
 
festivista97,
You don't have to install the entire Visual Studio Suite on your server, but you do need a core set of VB runtime file installed or else no VB Program will run on that box. If you can not install ANY VB files on your server, then you will probably need to switch languages.
Since you have permission to install the new MDAC, I would try that (at the very least). It is possible that you are using a different version of ADO between the boxes and that might fix it.
Good Luck!

- Jeff Marler B-)
 
Jeff,
Will going for late binding be of any use in this situation ?


RR.
 
Late binding will not help you if the object does not exist on the computer or if the interface on the object does not support a method or attribute that you are trying to call. - Jeff Marler B-)
 
Jeff,
Finally, he agreed to do it after office hours.. And we installed VB in that server. Now things are fine... Thank you...
RR

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top