נשלח בתאריך: 01 November 2007 בשעה 16:42 | | IP רשוּם
|
|
|
|
Hi all,
I have a problem connection to a remote Windows Media Services 2003 server by C# code.
I need to create a distributed COM server object in order to program against the server.
These are the code lines –
Type tServerType;
WMSServer RemoteServer;
// Retrieve the type information from the Windows
// Media server running on the remote machine
tServerType = Type.GetTypeFromProgID("WMSServer.Server", "<MACHINE_NAME>", true);
// Create an instance of the remote server object locally RemoteServer = (WMSServer)Activator.CreateInstance(tServerType);
//RemoteServer = (WMSServer)Server.CreateObject(tServerType);
And I get this error in the web page –
Retrieving the COM class factory for remote component with CLSID {845FB959-4279-11D2-BF23-00805FBE84A6} from machine XXX due to the following error: 800706ba
And this error in the Windows Event Log –
DCOM was unable to communicate with the computer XXX using any of the configured protocols
Can anyone have an idea of what should I do?
Thanks
Dave
|