נושאים פעיליםנושאים פעילים  הצגת רשימה של חברי הפורוםרשימת משתמשים  חיפוש בפורוםחיפוש  עזרהעזרה
  הרשמההרשמה  התחברותהתחברות RSS עדכונים
תיכנות
RSS UnderWarrior Forums : RSS תיכנות
נושא

נושא: DCOM communication problem

שליחת תגובהשליחת נושא חדש
כותב
הודעה << נושא קודם | נושא הבא >>
Dave
אורח
אורח


הצטרף / הצטרפה: 01 October 2003
משתמש: אונליין
הודעות: 12647
נשלח בתאריך: 01 November 2007 בשעה 16:42 | IP רשוּם
ציטוט Dave

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

חזרה לתחילת העמוד הצג את כרטיס החבר של Dave חפש הודעות אחרות של Dave בקר בדף הבית של Dave
 

אם ברצונך להגיב לנושא זה עליך קודם להתחבר
אם אינך רשום/ה כבר עליך להרשם

  שליחת תגובהשליחת נושא חדש
גרסת הדפסה גרסת הדפסה

קפיצה לפורום
אינך יכול/ה לשלוח נושאים חדשים בפורום זה
אינך יכול/ה להגיב לנושאים בפורום זה
אינך יכול/ה למחוק את הודעותיך ותגוביך בפורום זה
אינך יכול/ה לערוך את הודעותיך ותגובותיך בפורום זה
אינך יכול/ה לצור סקרים בפורום זה
אינך יכול/ה להצביע בסקרים בפורום זה