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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remote Automation

Status
Not open for further replies.

fruityBoy

Programmer
Jul 21, 2000
51
GB
Hi, I hope somebody out there may be able to offer me some advice. My problem is thus:

I have written a program to take advantage of remote automation and therefore run code on the server. On all my test machines (which consist of NT Servers and Workstations), the code works fine.

However, when I tested the program on my customer's system, I ran into problems.

My customer has an NT 4.0 Server running Service Pack 5, the workstations have NT 4.0 Workstation with 4,5,6 service packs installed (on different machines, obviously!).

The problem is that I can instantiate my remote objects on the server, from the client. However, when I try to access any properties or methods of the remote object, I get 'OLE ERROR: Library not Registered'. It sounds like I am missing the TLB and VBR files, however these are there, I have registered the application also using myexe.exe /regserver and also the Foxpro Setup Program.

If I run all the code locally on a workstation then it works fine.

I am logging in as administrator on the workstation, but my connection is routed thru a gateway, however, I can see the machine and instantiate the object so I don't think access from the workstation is the issue. It will definately be something to do with the configuration on the server, and I was wondering if anybody had a similar experience, and knew how to resolve it?

Thanks in advance..
 

AS far as I'm aware, dcom is included with service pack 5. I'm using Remote Automation using autmgr32 to receive the requests, and racmgr32 to set up the connections, and the remote-create permissions.

I thought about the dcom installation being correct, but with NT it is included in the service packs, you cannot add a seperate file such as dcom95.exe to make sure...

dcomcnfg.exe is present anyway, which suggests that it is installed, but i agree it is somthing to do with the installation / configuration of these services.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top