Nice Engine hangs opening a label

Label printing integration (NiceWatch middleware and ActiveX programming interface)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
bmg24
Newcomer
Posts: 3
Joined: Fri May 04, 2007 6:55 pm

Nice Engine hangs opening a label

Post by bmg24 » Fri Aug 19, 2011 1:45 pm

We have a solution that uses NiceLabel programmatically to allow printing of label formats. Some basic informatio is collected from an internal web site and then sent to a small application that actually interacts with NiceLabel. This solution has been working for quite some time (years) with no issue. However, we received word yesterday that labels are no longer printing.

After some investigation, I determined that the call to "LabelOpenEx" hangs. After turning on logging, this was recorded:

...
0:18:43:0655:*000017* ...MainWindow Created
0:18:43:0656:*000001* ..InitInstance END
0:18:43:0738:*000082* ...LabelOpenEx BEGIN
0:18:43:0739:*000001* ....LabelName: d:\program files\hacktrac\webconsole\tcarfid.5.2.2011.lbl
0:18:43:0741:*000002* ....AutoDoc is NULL
0:18:43:0742:*000001* ....Calling CreateDoc for d:\program files\hacktrac\webconsole\tcarfid.5.2.2011.lbl

At this point, NiceLabel hangs and never returns. The nlabel5.exe process can be seen in task manager, but there's no noticeable activity. There are no further statements logged nor is anything written to the windows event log.

Has anyone else seen this behavior? How might I get additional information about the cause of the failure? What might be causing CreateDoc to fail?

The system is Windows 2008 Server R2 64 bit with NiceLabel 5.2.3.4024 with Avery NiceDriver 4.6.60.

Thanks for any assistance that can be provided.

Brad

User avatar
jurk
Addict
Addict
Posts: 175
Joined: Wed Sep 27, 2006 1:10 pm
Location: Sencur, Slovenija
Contact:

Re: Nice Engine hangs opening a label

Post by jurk » Tue Aug 23, 2011 2:55 pm

Hello,

Is the D drive a network drive or a local drive?

Can you try to leave it running for more than 15 minutes (windows UNC path resolving timeout) and see if anything happens after that?

Regards,
Jurk
NiceLabel Development

bmg24
Newcomer
Posts: 3
Joined: Fri May 04, 2007 6:55 pm

Re: Nice Engine hangs opening a label

Post by bmg24 » Tue Aug 23, 2011 3:42 pm

The D drive is a local drive. I've let it sit for well over 15 minutes, close to an hour, with no change.

User avatar
jurk
Addict
Addict
Posts: 175
Joined: Wed Sep 27, 2006 1:10 pm
Location: Sencur, Slovenija
Contact:

Re: Nice Engine hangs opening a label

Post by jurk » Wed Aug 24, 2011 1:50 pm

Does this happen with every label file or just one?

If just one please attach it here and I will debug the application to see what is happening.
NiceLabel Development

Post Reply