Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up a COM server
Message
From
03/08/2000 14:36:37
 
 
To
03/08/2000 11:35:19
Tyson Bonn
Myers and Stauffer Consulting
Harrisburg, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00400394
Message ID:
00400589
Views:
14
>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

If you're running it remotely via DCOM, it must be compiled as an EXE, unless you are running it under MTS.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform