-
I've got the datacentric portion of my application as an ActiveX EXE that I have installed and registered on a server in our network.
I have installed the 'client' portion of the application on two client machines: one physically on the network and the other connected via PPTP VPN (W2K connecting to NT4).
One the local machine (physically connected to the network) the client application runs fine. It is able to find the server and interacts with it via DCOM the way it's supposed to.
The 'remote' client, however, runs into problems. When the client tries to access the server it kicks off the application (I've verified this portion). However, it just kind of sits there and eventually I get a message that says 'Automation Error: the object exporter specified was not found'.
According to MSDN I'm supposed to make sure my client configuration references the server properly (ie. <server.domain>) which it does.
Any ideas!!! I'm stumped.
-
Is DCOM installed on the VPN Client?
-
Yep. DCOM is installed and enabled on both machines.
-
Do you know the line of code that the app is crappping out on?
-
Chipcrap,
No I don't. I don't think I can run the app from the IDE since the components need to be registered to work with DCOM and point at the right server. I don't know how to identify where the app is err'ing out.
Any suggestions?
Thanks.
-
-
Sorry-The IDE will run fine on your client machine-just install VB and run the source to see what line its crapping on
-
Chipcrap,
Thanks. I'm trying that now. BTW I didn't mean to ~nudge~ you, I was just trying to push the post up and see if I got any other responses. Thanks for your help!
-
Well... that didn't work. The program is crapping out when I try to execute a method on a component that is created via DCOM on the server. It apparently creates an instance of the component without any problems, but it's crapping out when it tries to execute a method that loads data into the component.
Code:
Dim objAddressTypes as clsTextList
' this works
Set objAddressTypes = CreateObject("MyActiveXServer.clsTextList", "RemoteServer")
' this craps out!
objAddressTypes.Load "addresstypes"
I'm gonna add some logging functionality to the server so that I can observe what is happening but.... we'll see how it goes.