9.2 Print Wps Error 追蹤

0
Avatar
Legacy Poster

Hey I get multiple different errors (on different tries {no code changes}) when I try to print a 9.2 label but it works fine when I print a 10.1 label.

 

I have gotten a Seagull.BarTender.PrintException,

a Exception from HResult: 0x80010105(RPC_E_SERVERFAULT),  

and a Interop.BarTender exception with Bartender crashing on my computer

 

It also works sometimes.

 

The first exception points to this line

 

LabelFormatDocument btDoc = btEngine.Documents.Open(rootPath);
PrintLabelFormatTask taskPrint = new PrintLabelFormatTask(btDoc); <-- Exception (Seagull.BarTender.PrintException) 

 

The second and third exception happen on this line

TaskStatus printStatus = taskManager.TaskQueue.QueueTaskAndWait(taskPrint, 10000); 

Though I assume that third exception is happening because there are multiple instances of bartender running.

 

 

The server and client are also running a version of 10.1 bartender 

2 意見

0
Avatar
Legacy Poster
評論操作 永久連結

After a bit of searching, the HResult exception is saying that the ActiveX object is crashing so this maybe be a bug for the add-on and in some cases it doesn't close an instance of bartender. which in then in turn was causing the third exception happen after five instances of bartender were running.

0
Avatar
Ian Cummings
版主
評論操作 永久連結

The RPC server in this case is the BarTender application.  You get the error because the programming object you're attempting to work with has either hung or crashed.  Do you have two versions of BarTender installed on the same PC?  Ordinarily this shouldn't be possible.  If somehow you managed it, then this might be the cause of the crashes.  I'd recommend you uninstall BarTender and clean up any residual traces, before then rebooting and reinstalling from scratch.

登入寫評論。