跳至主內容

搜尋

搜尋

COMException: Retrieving the COM class factory for component with CLSID failed due to the following error: 80080005

評論

3 條評論

  • Avatar
    Bill Gauvey

    With that, I'd say uninstall / reboot / reinstall.  80080005 error is Access Denied. You can look in Component services and look at DCOM configuration and make sure Everyone has launch and activate permissions, but a clean reinstall may be the best measure.  This issue should be local to just your machine, you can verify by launching the app on a different machine

    0
  • Avatar
    David Logan

    So the problem was the BarTender.exe was left hanging open here and multiple instances were running in the background.  Once I cleared those this error went away.  I also updated the reference in the .net application to the current library ... I'm not 100% sure if that had any bearing on the situation but thought I'd include it here.  I then had issues with the Print function not returning for 2 minutes even though the timeout parameter is set to 5000 which should be 5 seconds.  

    Do you have any thoughts on that or should I open a new ticket.  In this instance the printer was turned off but it took a long time to figure out I needed to just wait those 2 minutes for the debugger to return to me.  From what I can tell the parameter has no effect.  I've tried values of 10, 30, 1000, 5000 it still takes 2+ minutes for the LabelFormatDocument.Print function to return.  I am using the last version that takes the timeout value and messages object as parameters.

    0
  • Avatar
    David Logan

    Just to add to the above comments if it helps anybody ... it did turn out to be somekind of install issue.  I tried printing the label through the designer and had similar performance issues ... so I uninstalled and reinstalled and things are working as expected now.

     

    0

登入寫評論。