-
1
- #1
Here are the steps I used to create a dcom server for windows NT environment.
In VB I created an activeX-exe to return the date and time to the calling program. I built the exe on the client PC and I assume it was register as needed. On the server I copied the exe file to the system32 directory and ran it once to register it. From the client I used VFP createobjectex('{clsid}','server') to call the server exe. After about a minute or so VFP returns an OLE error saying the server failed to execute. The server records a 10010 event saying the server failed to register with dcom in the allowed timeout. For that minute after executing the createobjectex command the server exe does launch and taxes the processor close to 100% until the timeout happens. Anyone have any ideas on what's wrong. Thanks.
In VB I created an activeX-exe to return the date and time to the calling program. I built the exe on the client PC and I assume it was register as needed. On the server I copied the exe file to the system32 directory and ran it once to register it. From the client I used VFP createobjectex('{clsid}','server') to call the server exe. After about a minute or so VFP returns an OLE error saying the server failed to execute. The server records a 10010 event saying the server failed to register with dcom in the allowed timeout. For that minute after executing the createobjectex command the server exe does launch and taxes the processor close to 100% until the timeout happens. Anyone have any ideas on what's wrong. Thanks.