Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up a COM server
Message
From
03/08/2000 11:35:19
Tyson Bonn
Myers and Stauffer Consulting
Harrisburg, Pennsylvania, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Setting up a COM server
Miscellaneous
Thread ID:
00400394
Message ID:
00400394
Views:
44
It's been over a year since I messed around with COM and DCOM, and I have run into a jam. I created a class in code and compiled it as OLEPublic. I can now create an object instance with code similar to the following in Visual FoxPro:
lo_Business = CreateObject( "My_Server.My_Class" )
Or in Visual Basic:
Dimension lo_Business As New My_Server.My_Class
Everything is fine on the server machine. The problem is when I try to access this class remotely. The client machine cannot instantiate the object. I have the Automation Manager and Remote Automation Connection Manager running on the server machine. When I have the class defined as using the Remote Automation transport the client gets an error reporting that the server cannot be located. When the class is defined as Distributed COM, the client gets an "Access Denied" error.

Is it the client, the server, or some network setting that is messing me up?

TIA
Tyson Bonn
Next
Reply
Map
View

Click here to load this message in the networking platform