Groups | Blog | Home
all groups > dotnet faqs > july 2005 >

dotnet faqs : How to solve COMException


Ajith Nair
7/19/2005 12:00:00 AM
Hi,

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

oMSComm =3D 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

Alvin Bruney [MVP - ASP.NET]
7/20/2005 2:34:11 PM
does the com object require a license? you will need to check the =
documentation that comes with the COM object

--=20
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
[quoted text, click to view]
Hi,

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

oMSComm =3D 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

Wencheng Magiya
7/21/2005 12:00:00 AM
Hi Ajith,

This article may provide some information for your question:
http://support.microsoft.com/kb/q318597/=20

Important This article contains information about modifying the =
registry. Before you modify the registry, make sure to back it up and =
make sure that you understand how to restore the registry if a problem =
occurs.

Best Regards,
Wencheng
[quoted text, click to view]
Hi,

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

oMSComm =3D 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

AddThis Social Bookmark Button