Click here to Skip to main content
15,888,323 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,

I am having a weird error in my project which i have been trying to solve for weeks now and i wonder if you guys can help out.

In my project I am references COM class (Dymo label library ) that prints labels from a label printer. Now .. Everything works well on my dev machine BUT as soon as i deploy my project onto a server i get this error:....

C#
Retrieving the COM class factory for component with CLSID {09DAFAE2-8EB0-11D2-8E5D-00A02415E90F} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).


Does any of you know what this means and how i can resolve this ?

Thank you for your time

just an update to the above question...

After googling this error , I find out out that i had to install the sdk on the server which i have done but now i am getting a bit of different error like below...

C#
Creating an instance of the COM component with CLSID {09DAFAE2-8EB0-11D2-8E5D-00A02415E90F} from the IClassFactory failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Posted
Updated 16-Apr-15 22:51pm
v3
Comments
Leo Chapiro 17-Apr-15 5:01am    
Have you registered your COM library on the new server with "Regsvr32" as admin?
1Future 17-Apr-15 5:05am    
no i hav'nt .. are you able to show me how to do that please?
Richard MacCutchan 17-Apr-15 8:39am    
Check the permissions on the DLL.

1 solution

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



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