Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Seagull Bartender Application

Seagull Bartender Application

Scheduled Pinned Locked Moved C#
databasehelpsharepointcomtutorial
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hum Dum
    wrote on last edited by
    #1

    I am using BarTender[^] software. And try to print barcodes from DB. I am able to fetch data from DB with sql query. But when i try to use Stored Procedure its giving error like BarTender: error message #3239 OLEDB has encountered error 0x800ade78 Operation is not allowed when the object is closed. But when i use sql query its running ok. also i tried with SP having single select query. Its running also ok. But when i give SP (performing some operations in it) then its giving error. Plz, Can any one help/guide me. Whats the issue in this? Regards

    P A R 3 Replies Last reply
    0
    • H Hum Dum

      I am using BarTender[^] software. And try to print barcodes from DB. I am able to fetch data from DB with sql query. But when i try to use Stored Procedure its giving error like BarTender: error message #3239 OLEDB has encountered error 0x800ade78 Operation is not allowed when the object is closed. But when i use sql query its running ok. also i tried with SP having single select query. Its running also ok. But when i give SP (performing some operations in it) then its giving error. Plz, Can any one help/guide me. Whats the issue in this? Regards

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      It's normal practice, when having a problem with vendor specific software, to post the question on the forum for that software or email it to the company in question. They will be much better placed to offer advice to you than we possibly could, what with our not knowing this software. I will say though, that the error message looks funnily like you attempting to issue a SQL command on a closed connection, but that's just me reading the error text you posted. I couldn't honestly expect you to have done the same.

      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

      My blog | My articles | MoXAML PowerToys | Onyx

      H 1 Reply Last reply
      0
      • P Pete OHanlon

        It's normal practice, when having a problem with vendor specific software, to post the question on the forum for that software or email it to the company in question. They will be much better placed to offer advice to you than we possibly could, what with our not knowing this software. I will say though, that the error message looks funnily like you attempting to issue a SQL command on a closed connection, but that's just me reading the error text you posted. I couldn't honestly expect you to have done the same.

        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

        My blog | My articles | MoXAML PowerToys | Onyx

        H Offline
        H Offline
        Hum Dum
        wrote on last edited by
        #3

        Pete O'Hanlon wrote:

        post the question on the forum for that software or email it to the company in question

        I did that, and mailed on id they had provided on their site.

        Pete O'Hanlon wrote:

        the error message looks funnily like you attempting to issue a SQL command on a closed connection

        Any one who know English will say what you had...!! But its like this, its giving an error like this. But i couldn't understand, if i use single select statement its running But the actual procedure i need to call, creates a temp table , insert data in it and then drop this table. its giving error in this?

        P 1 Reply Last reply
        0
        • H Hum Dum

          I am using BarTender[^] software. And try to print barcodes from DB. I am able to fetch data from DB with sql query. But when i try to use Stored Procedure its giving error like BarTender: error message #3239 OLEDB has encountered error 0x800ade78 Operation is not allowed when the object is closed. But when i use sql query its running ok. also i tried with SP having single select query. Its running also ok. But when i give SP (performing some operations in it) then its giving error. Plz, Can any one help/guide me. Whats the issue in this? Regards

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4
          1. You are talking about an error with a third party application. 2) You have not provided any code. It will be tough for anyone to help you in those circumstances.

          The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

          H 1 Reply Last reply
          0
          • A Abhinav S
            1. You are talking about an error with a third party application. 2) You have not provided any code. It will be tough for anyone to help you in those circumstances.

            The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

            H Offline
            H Offline
            Hum Dum
            wrote on last edited by
            #5

            string SQL = "SELECT `Calories` FROM `NutritionInformation`";

            Engine btEngine = new Engine();

            LabelFormatDocument btFormat = btEngine.Documents.Open(@"C:\NutritionLabel.btw");

            ((OLEDB)btFormat.DatabaseConnections[0]).SQLStatement = SQL;

            Well above is part of code. Which i used mentioned at their SDK help file. I am replacing the SQL with sql i want to use - Working I am just mentioning SP name in SQL (Sp contain only single Select) - Working But when i call SP which i had to use actually, its giving error. For above code to work you have to download their SDK and install it, then add reference to Seagull.BarTender.Print.

            A 1 Reply Last reply
            0
            • H Hum Dum

              Pete O'Hanlon wrote:

              post the question on the forum for that software or email it to the company in question

              I did that, and mailed on id they had provided on their site.

              Pete O'Hanlon wrote:

              the error message looks funnily like you attempting to issue a SQL command on a closed connection

              Any one who know English will say what you had...!! But its like this, its giving an error like this. But i couldn't understand, if i use single select statement its running But the actual procedure i need to call, creates a temp table , insert data in it and then drop this table. its giving error in this?

              P Offline
              P Offline
              Pete OHanlon
              wrote on last edited by
              #6

              Hum Dum wrote:

              But its like this, its giving an error like this. But i couldn't understand, if i use single select statement its running But the actual procedure i need to call, creates a temp table , insert data in it and then drop this table.

              This is why they are better placed to solve this than we are. How on earth do you expect us to know what it's doing internally? I would expect that it's expecting a query and you are supplying it with DML and that's causing it to bork. Again - they will know the answer.

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              1 Reply Last reply
              0
              • H Hum Dum

                string SQL = "SELECT `Calories` FROM `NutritionInformation`";

                Engine btEngine = new Engine();

                LabelFormatDocument btFormat = btEngine.Documents.Open(@"C:\NutritionLabel.btw");

                ((OLEDB)btFormat.DatabaseConnections[0]).SQLStatement = SQL;

                Well above is part of code. Which i used mentioned at their SDK help file. I am replacing the SQL with sql i want to use - Working I am just mentioning SP name in SQL (Sp contain only single Select) - Working But when i call SP which i had to use actually, its giving error. For above code to work you have to download their SDK and install it, then add reference to Seagull.BarTender.Print.

                A Offline
                A Offline
                Abhinav S
                wrote on last edited by
                #7

                Well - you could try searching for a similar problem on their forums.

                The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.

                1 Reply Last reply
                0
                • H Hum Dum

                  I am using BarTender[^] software. And try to print barcodes from DB. I am able to fetch data from DB with sql query. But when i try to use Stored Procedure its giving error like BarTender: error message #3239 OLEDB has encountered error 0x800ade78 Operation is not allowed when the object is closed. But when i use sql query its running ok. also i tried with SP having single select query. Its running also ok. But when i give SP (performing some operations in it) then its giving error. Plz, Can any one help/guide me. Whats the issue in this? Regards

                  R Offline
                  R Offline
                  R Giskard Reventlov
                  wrote on last edited by
                  #8

                  This is a complete guess as I have never even heard of that product before but do you have the correct permissions to connect and run a stored procedure? Sorry if that is complete bollocks but worth a try.

                  "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups