How to solve COMException

  • Thread starter Thread starter Ajith Nair
  • Start date Start date
A

Ajith Nair

Hi,

I am trying to create a new object of "COMM object" inside my one "dll" object as shown below,

oMSComm = New MSCommLib.MSComm
But its throwing an COMexception saying that there is no license for the application for the object.

but the same program is working in my development machine. After I installed to other machine this error is coming. Does I need to install the "MSComm" object with other machine ? if then please let me know how to install the same.

Looking forward for your valuable knowledge.



B Regards

Ajith
 
COM components from third party vendors often have a license associated. You
have a couple of choices here.

1. Install on the other server using the install program
2. Copy the DLL to the other machine, regsvr32.exe on the dll and then add
the license

Of the two, install is the easiest.

The other half of the equation is ensuring you are licensed for both machines.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
Back
Top