Engine.documents.open(string Filename) Not Responding 追蹤

Legacy Poster

From IIS7, I start my engine and call _engine.Documents.Open(string fileName).

But my debugger hangs when calling this function, i can't step over it. If I stop debugging, the bartender.exe remains active in the processes list.

This DOES work from the visual studio ASP.NET development server but not from the local IIS server

My label is in a folder c:\labels, which i have granted full permission to Everyone.

Details :
local system account
Enable 32-bit application true

2 意見

Domingo Rodriguez
評論操作 永久連結

What Edition of BarTender do you own? You can find this out by accessing the "Help > About" dialog in BarTender on this computer. If you're using a Trial Edition, please let me know.

Make sure that when you open BarTender on the IIS7 computer manually, BarTender is able to locate the Seagull License Server on the network. Print some labels from BarTender to make sure that they print correctly.

If you're creating a web based application under IIS7, make sure that all IIS6 compatibility options are enabled.

If still problems, could you attach part of your source code for us to examine (just the creation of the BarTender engine(s) and when you try to open your label format)?

Finally, if you're intending to do a client-server web based application, it is recommended that you use the .NET Print Server SDK so that you can perform task based printing. The .NET Print Server SDK is available in the Enterprise Automation Edition of BarTender.
Legacy Poster
評論操作 永久連結


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.

I solved the above error by rebooting my development PC :unsure:

I then deployed my program to a test server a have now a new issue :

[u][b]Can you help me with this new issue?[/b][/u]

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. --->

[b]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. [/b]

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)