CLR: .Net / Mono / Boo / Otros CLR > C#

 Error Clsid?¿

(1/1)

insomnio:
Buenas Programo en Visual c# con un protocolo de comunicación MODBUS, y tengo un problema en una clase

Cuando me entra en el constructor de una clase, concretamente la linea:

ModBus=new ModbusSrvClass();

Aqui me salta el error:

"system.runtime.interopservices.comexception
Additional Information: COM object with CLSID
{B3DE3CC2-C629-11D1-8FE9-E4CD05C10000} is either not valid or not registered"

Alguien puede decirme algo?

Sl2 y gracias

JuanK:
ni idea.

pero trate de registrar las dll aociadas a esas librerias.

por la interfaz de comandos:

regsvr32 Libreria.dll

insomnio:
Juank Si que las registre excepto una que me decia que la versión que tenia era mas reciente y no la puse, por lo demas creo que lo hice todo bien, ya que segui los pasos siguientes:


   MFC and ATL runtime files

   This archive contains the MFC and ATL runtime files required to run MBServer
ActiveX component and the ModbuCfg.exe program. There is no a single setup file but
is not difficult to install the files.

   Installing MFC dlls:

   Go to Mfc directory and click the right mouse button
over Mfc42.inf and click on install menu.


    Installing ATL  dll:

   Go to ATL directory and click the right mouse button over
Atl.inf and click on install menu.

   
   If you have problems when registering the server try to register
ATL.dll manualy executing

   regsvr32 c:\windows\system\atl.dll

   Ricardo-rsaat@altavista.net

Navegación

[0] Índice de Mensajes

Ir a la versión completa