2012-03-16 5 views
0

サードパーティのRTDサーバーとC#で記述されたカスタムRTDクライアントに接続しようとしています。サードパーティのRTDサーバーを使用したRTDクライアント:C#

Type rtd; 
Object rtdServer = null; 
rtd = Type.GetTypeFromProgID("ProgId","WS001"); 
rtdServer = Activator.CreateInstance(rtd); 
WS001は、私のマシン名です

、そしてProgIdは、RTDサーバーの名前です。このエラーが発生しました。

Error: System.Runtime.InteropServices.COMException (0x800706BA): Retrieving the COM class factory for remote component with CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} from machine "WS001" failed due to the following error: 800706ba "WS001".`

私はWindows 7 64ビットOSを使用しています。その後、

答えて

0

WS001がローカルマシン名である場合は、マシン名を取りませdoesnの他の過負荷、試してみてください。

rtd = Type.GetTypeFromProgID("ProgId"); 
関連する問題