Article ID: 165300
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft OLE 4.0, when used with:
- Microsoft Platform Software Development Kit-January 2000 Edition
This article was previously published under Q165300
SYMPTOMS
On 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.
CAUSE
The problem occurs because RPCSS.EXE(A system component) is not launched at
the appropriate time.
RESOLUTION
You 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".
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This was corrected for DCOM on Windows 95
in build 518.
Keywords: kbbug kbfix kboswin95fix kbdcom KB165300