Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with DCOM deployment
Message
From
15/12/2000 13:11:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Help with DCOM deployment
Miscellaneous
Thread ID:
00454066
Message ID:
00454066
Views:
89
Hi All,

I have written and successfully tested a COM out-of process(EXE) server.
Now I need to register it as a DCOM server.

The target servers are Windows NT 4.0 and Windows 2000
The target client machines are Windows 2000 and Windows 95.

To this point I have:
Fixed the VBR file that is being generated by VFP: Two empty keys are being generated which stops CLIREG32

VB5SERVERINFO
VERSION=1.0.0

HKEY_CLASSES_ROOT\test.apptest =
HKEY_CLASSES_ROOT\test.apptest\NotInsertable
HKEY_CLASSES_ROOT\test.apptest\CLSID = {Key}
HKEY_CLASSES_ROOT\CLSID\{Key} =

I replaced the first and fourth items with apptest. If either item is left empty CLIREG32 errors out. CLIREG32 now runs without any errors but doesn't appear to be registering the server on the target machine.

I have attempted to register the server from the client machine (via CLIREG32) and the system administrator has attempted to self-register it on the server machine (via test.exe -regserver). DCOMCNFG still does not show the class.

I have been testing access on the client machine in a VFP command window via:
lo=CREATEOBJECTEX("Test.appTest","\\Server")
Initially I got the message 'RPC Server not Available'
Now if I pass the correct server the error is "Class Not Registered"

Questions:
What services need to be running on the server machine for DCOM access?

What services need to be running on the client machine to use DCOM components?

How do you register a DCOM component?

Why isn't VFP(6.0 SP4) generating a vbr file that CLIREG32 can handle?


We have never used DCOM objects before. I have just spent the morning searching the Universal Thread, msdn, microsfoft.com, and various help files to no avail. Any assistance would be greatly appreciated.

Thanks in Advance,
Ned

Reality is.
Next
Reply
Map
View

Click here to load this message in the networking platform