BUG: Remote COM Calls Fail Because RPCSS is not StartedLast reviewed: March 18, 1997Article ID: Q165300 |
The information in this article applies to:
SYMPTOMSOn Windows 95 computers that have enabled remote connections to COM servers running on the computer, remote connection attempts to the machine fail with error RPC_SERVER_UNAVAILABLE if the only registered class objects are from single-threaded apartments.
CAUSEThe problem occurs because RPCSS.EXE(A system component) is not launched at the appropriate time.
RESOLUTIONYou can work around this problem by pre-launching Rpcss.exe before any class objects are registered. A convenient place to do this is in the registry at HKLM\Software\Microsoft\Windows\CurrentVersion\Run (launches when the shell loads) or \RunServices (launches immediately upon machine boot, that is, before login). Add a named value (any name) and a value of "RPCSS.EXE".
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONRpcss.exe is not needed for local communication between COM objects, thus COM delays loading it until it is truly necessary. COM is able to launch Rpcss.exe correctly if:
Note that in server scenarios, COM only launches RPCSS if EnableRemoteConnection is set to Y. There are other reasons a client application may not be able to communicate with a remote object:
|
Keywords : LeTwoDCom kbbuglist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |