Skip to main content

Search

Search

The Bartender Engine Could Not Be Started

Comments

7 comments

  • Avatar
    Ian Cummings
    Moderator
    The error message means that you were not able to start a BarTender process via automation. There can be various reasons for this, and the list given in the error is a good place to start looking. For item "2" you should open a command line window (DOS), change directory to where BarTender is installed, and run the command line to register the BarTender class into the Windows system: bartend.exe /register

    Are you running the Trial edition of BarTender? Are there still trial days remaining? And which edition have you selected the trial to run as?

    In your question you mentioning the publishing of a website... Is the automation of BarTender being controlled via a web app in an IIS context? Please give details.
    0
  • Avatar
    Legacy Poster
    [quote name='Ian C - Seagull Support' timestamp='1342520368' post='2867']
    The error message means that you were not able to start a BarTender process via automation. There can be various reasons for this, and the list given in the error is a good place to start looking. For item "2" you should open a command line window (DOS), change directory to where BarTender is installed, and run the command line to register the BarTender class into the Windows system: bartend.exe /register

    Are you running the Trial edition of BarTender? Are there still trial days remaining? And which edition have you selected the trial to run as?

    In your question you mentioning the publishing of a website... Is the automation of BarTender being controlled via a web app in an IIS context? Please give details.
    [/quote]


    yes m using trial version of bartender(Automation edition)
    15 days remaining for trial version
    yes automation of BarTender being controlled via a web app in an IIS context
    i also registered bartend.exe /register through command prompt but got same error

    for ur information when i run my project through [b]localhost[/b] it is running good no error but got error when i publish it to server

    Thanx
    0
  • Avatar
    Ian Cummings
    Moderator
    "for ur information when i run my project through localhost it is running good no error but got error when i publish it to server."

    Can you tell me what you do exactly when you publish it to server? Do you mean that you run the web app on a different computer compared to the one you develop upon? I trust that BarTender is also installed on that computer?
    0
  • Avatar
    Legacy Poster
    Thanx for reply but I got solution

    Put this code in Web.config then it will work fine

    <system.web>
    <identity impersonate="true" />
    </system.web>
    0
  • Avatar
    Legacy Poster

    I have same problem, My code is running propely  in vs2010 but when I published It, its seem that Bartender Engine
    start doesn't respond,,, help plz

    0
  • Avatar
    Anurag Mishra

    when i run my project through localhost it is running good (bartender label print successfully) no error but got error when i publish it to server(not Printing)."

    I want to mention that both the localhost and the server are on the same computer and bartender also installed on that computer. I also mention the issue.

    "The BarTender engine could not be started. Possible reasons are:\r\n\r\n1) BarTender is not properly installed.\r\n2) BarTender is not properly registered on the computer (e.g bartend.exe /register).\r\n3) 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.\r\n4) The user account does not have permission to run BarTender.\r\n"
    0
  • Avatar
    Dimitri Helft

    I've made a .net framework 4 API to use the Bartender SDK, and I had the exact same issue : Was working on my dev laptop with a trial version of bartender but when I was publishing the web API on the test server with a licensed Bartender installed it was giving that same error.

    I fixed it on my side by setting up in IIS an admin user to the application pool identity, and configured the website authencation to use the application pool identity.

    0

Please sign in to leave a comment.