Click here to Skip to main content
14,732,936 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am getting an error "Creating an instance of the COM component with CLSID {648A5600-2C6E-101B-82B6-000000000014} from the IClassFactory failed due to the following error: 80040112"

I am using a MSCommLib.MSComm ( Microsoft Communication Control 6.0) controller dynamically to connect with the Com Port. The application works fine in the developer server. But in the client machine its giving an error. While goolgling I found that this error is raised because dynamic Run time Licensing for Microsoft Communication Control 6.0 is no. and I tested it and found true. Please help me to sort this out.

NB: This is a C# application

Baji :)
DavidKiryazi 8-Sep-10 7:37am
Baji, can I ask why you are not using the native SerialPort class to connect to the comm port that is provided by the .NET2.0 framework?
Baji Jabbar 8-Sep-10 8:31am
Hi David . I used Serial Port Class and it worked. Thanks

The best option would be, as already suggested, using the Serial Port[^] class provided by the .NET Framework.

If you're curious about providing runtime license info for COM controls, then you may have a look at my article "LicenceProvider"[^] (Note: is C++ code), it uses just the MSComm in the code sample.
Baji Jabbar 8-Sep-10 8:30am
Ya Serial Port Class helped. Thanks Pallini :)
Hey guys!
I had the problem too
I was testing my setup application into a virtual windows xp (I used VMWare and installed a new windows inside)
when I was trying to start listening on tcp server it throws this error.
I tried in an other system (not virtual) and it ran perfectly!
good luck
Baji Jabbar 29-Apr-11 2:36am
Is this a solution ?? The solution is found already

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900