Creating An Instance Of The Com Component With Clsid {b9425246-4131-11d2-be48-004005a04edf} From The Iclassfactory Failed Due To The Following Error


For the moment, I'm using Enterprise Automation TRIAL (9.4 SR3, build 2781).
When everything works as expected, we will purchase the Automation version.

When I deploy my program to a test server I an issue : 

Seagull.BarTender.Print.PrintEngineException: The BarTender engine could not be started. Possible reasons are: 
1) BarTender is not properly installed. 
2) BarTender is not properly registered on the computer (e.g bartend.exe /register). 
3) There are too many process instances of BarTender running. Stop a few bartend.exe instances and try again. Also see SDK Engine.Start method documentation for information about how to allow more BarTender processes to run on your computer by increasing your "non-interactive" shared desktop heap. ---> 

System.Runtime.InteropServices.COMException: Creating an instance of the COM component with CLSID {B9425246-4131-11D2-BE48-004005A04EDF} from the IClassFactory failed due to the following error: 80040112. 

at Seagull.BarTender.Print.Engine.Start(WindowsIdentity identity) --- End of inner exception stack trace --- 
at Seagull.BarTender.Print.Engine.Start(WindowsIdentity identity) at Seagull.BarTender.Print.Engine.Start() 
at Seagull.BarTender.Print.Engine..ctor(Boolean startEngine) 

 

1. Check that BarTender still has a trial period left. Check this via the "Help>About" menu item in BarTender. Automation will only work while there are trial days left.

2. Open a command prompt (DOS) window, change directory to where BarTender is installed (eg. "C:\Program Files\Seagull\BarTender Suite") and then enter in the command line: bartend.exe /register 

 Anyone would clarify for me? Thanks.  

I think i have known the reason already.I was using Bartender Automation Enterprise 9.4 Trial version for this and its trial period just finished yesterday.
So, i was thinking maybe it has lost its automation function due to it.

You're right, After Trial period has expired, you cannot execute BarTender from Automation project (ActiveX, .net SDK or Commander) and a COM Exception will be thrown in such case.
Please contact a regional distributor to procure a license, or contact our Sales in your region. 



原来是因为专业版的破解到期,引起的。坑爹啊!!!

http://seagullscientific.invisionzone.com/index.php?/topic/478-creating-an-instance-of-the-com-component-with-clsid-b9425246-4131-11d2-be48-004005a04edf-from-the-iclassfactory-failed-due-to-the-following-error/

 

http://seagullscientific.invisionzone.com/index.php?/topic/743-error-at-bartender-code-c/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM