Re: COCreateInstanceEx returnes RPC Server unavailable error in VC 7.0
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Wed, 6 Sep 2006 11:25:23 -0700
What makes you think you can't create a proxy/stub DLL in
VC7 and later? In fact it's even easier than in VC6 since the
ATL appwizard creates a project for that purpose so you
don't have to deal with nmake.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"Surjya" <surjyasahoo@xxxxxxxxx> wrote in message
news:1157553870.524632.287110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
My problem is as follows:
I have created a DCOM Service using Visual Studio 2003.
I have hosted the same on a remote network machine; i would refer to
this remote machine as the server.
On the server i have registered the service exe with "<path> -service"
command and have started the service in the services.msc applet.
On the server i have added the service exe to the firewall's exception
applications' list.
In dcomcnfg, I have added my client machine to the "remote launch and
activation permission" and "remote access permission" list.
With all these in place, when i call CoCreateInstanceEx, i get
0x800706ba (RPC Server unavailable).
I have tried to find a solution for the error code in various groups,
but the discussions are around VC 6.0, where the ide creates a
proxy-stub dll, that has to be registered at both the server and the
client machines. As VC 7.0 does not create any proxy-stub as such, all
those discussions have not been helpful to solve my problem.
Any little help will be really appreciated.
Thanks in advance.
~Surjya.
.
- References:
- Prev by Date: Re: idl and SAFEARRAY
- Next by Date: Re: Problem passing SAFEARRAY of UDTs to Server
- Previous by thread: COCreateInstanceEx returnes RPC Server unavailable error in VC 7.0
- Next by thread: Re: COCreateInstanceEx returnes RPC Server unavailable error in VC 7.0
- Index(es):
Relevant Pages
|