Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Entertainment » microsoft.public.windowsmedia.sdk
Thread: RPC server unavailable for publish point on Win 2003 - timeout??

HTVi
TV Discussion Newsgroups

RPC server unavailable for publish point on Win 2003 - timeout??
"Amil Hanish" <amilhanish[ at ]hotmail.com> 5/15/2007 7:00:09 PM
I am using two Windows 2003 Servers. I use a utility on server A to look up
publish points on server B's Windows Media Service. Server A uses standard
connection code (see below). When I try to connect to server B, I get error
"RPC server is unavailable" result code. I've used dcomcnfg on server B to
allow correct rights. What is strange is I can get it to work by simply
opening up dcomcnfg and drilling down to the Windows Media Services DCOM
element. If I want a period of time, it will quit working, but I can get it
to work again by just opening dcomcnfg. It's almost like a timeout and some
strange DCOM thing goes away.

Any ideas why it works, but after a period of time, some type of timeout
occurs?

hr = CoCreateInstanceEx(
CLSID_WMSServer,
NULL,
CLSCTX_REMOTE_SERVER,
&cs, // COSERVERINFO
1,
&mqi); // MULTI_QI

Amil


Re: RPC server unavailable for publish point on Win 2003 - timeout??
"Amil Hanish" <amilhanish[ at ]hotmail.com> 5/16/2007 4:32:45 AM
I think I figured this out. Needed to opon port 135 on the server running
Windows Media Services.

Amil

"Amil Hanish" <amilhanish[ at ]hotmail.com> wrote in message
news:uNrgxMylHHA.3280[ at ]TK2MSFTNGP05.phx.gbl...
[Quoted Text]
>I am using two Windows 2003 Servers. I use a utility on server A to look
>up publish points on server B's Windows Media Service. Server A uses
>standard connection code (see below). When I try to connect to server B, I
>get error "RPC server is unavailable" result code. I've used dcomcnfg on
>server B to allow correct rights. What is strange is I can get it to work
>by simply opening up dcomcnfg and drilling down to the Windows Media
>Services DCOM element. If I want a period of time, it will quit working,
>but I can get it to work again by just opening dcomcnfg. It's almost like
>a timeout and some strange DCOM thing goes away.
>
> Any ideas why it works, but after a period of time, some type of timeout
> occurs?
>
> hr = CoCreateInstanceEx(
> CLSID_WMSServer,
> NULL,
> CLSCTX_REMOTE_SERVER,
> &cs, // COSERVERINFO
> 1,
> &mqi); // MULTI_QI
>
> Amil
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen