SQL SP works, then throws 0x80040E14 after trying to build executable

I have test software in LabVIEW 2011 that logs results into our SQL Server database with a stored procedure.  Once I got it working consistently, I checked it into our Visual Sorce Safe.  It was working until I tried to build the software into an executable.  Upon trying to log results in the executable, I received the following -2147217900 error when trying to execute the stored procedure (the ati_sp_InsertProcedureRun stored procedure) to create the procedure run in the database:
NI_Database_API.lvlib:Cmd Execute.vi->DBAccess.vi->AgilentQCTool.vi->ATIEOL.vi<ERR>ADO Error: 0x80040E14
Exception occured in Microsoft OLE DB Provider for SQL Server: Syntax error or access violation in NI_Database_API.lvlib:Rec Create - Command.vi->NI_Database_API.lvlib:Cmd Execute.vi->DBAccess.vi->AgilentQCTool.vi->ATIEOL.vi
What's really odd is that I began receiving this error in the development environment.  On multiple computers.  I have verified that the code is still the same as before; I pulled the VI from Source Safe, which predated the last time I successfully logged results.
I don't know if attempting to run as an executable was the precipitating event.  Around the same time, I attempted to solve a problem where the test software kept referring to VIs from the 2010 Database Connectivity Toolkit by uninstalling the 2010 Database Connectivity Toolkit and letting LabVIEW update the called VIs to the 2011 versions and saving.  I've also since tried repairing and then uninstalling and reinstalling the 2011 Database Connectivity Toolkit.
Attached is a standalone implementation of my database logging code, a little sanitized for proprietary information.  Has anyone encountered similar mysterious errors when changing from 2010 to 2011 or when building executables?  The code I'm using is the same, and IS assures me that there have been no changes to the database.
Thank you for any help or insight,
John
Solved!
Go to Solution.
Attachments:
DB_UT.vi ‏10 KB
DBAccessUnitTest.vi ‏83 KB
DBAccessUTGenericDialog.vi ‏21 KB

Hello,
So far I have been unable to see anything that gives me a lead as to what the problem could be.  For this I am sorry.I think both of us will have one of those face palm moments.
I have a question and comment for you,  does the Code still work on the original computer?
Second,  I think it would help if you compiled a version of code with the ability to highlight execution. after being installed as an executable.  Try running the executable (in highlight mode) on the other computers and see where it breaks.
Could you also send me a version of your code in Highlight execution mode?
As for me I downloaded your code and I was unable to get it to even run on my computer.
Dano
Highlight Execution debuggable executable.
http://ae.natinst.com/public.nsf/web/searchinternal/3087d91eeadbaf3d862571d1004af192?OpenDocument

Similar Messages

  • "wireless radio is not working" is the message after trying to set it up

    Photosmart C309a printer.   Windows Vista    Printer used to work wirelessly & then it stopped.   I reloaded the drivers & tried to re-establish the wireless connection but got this error message.   The printer works fine when connected with a cable.

    Hello, 
    Is there Blue light glowing on wireless button ( below the Power button ) ? 
    Please perform the below step  ..
    On printer control panel, 
    Press SETUP button, 
    Press > to select NETWORK and then press OK
    Press > to select Wireless Network Test  and press OK  ( printer would start to print a Wireless Network Test Page )
    From the printer page , answer the follwing question ..
    On the report, under Diagnostics Summary, What does the ‘Wireless On’ indicate:” Pass or Fail?
    What does the ‘Wireless Working’ indicate:” Pass or Fail?
    From Report, How many ‘Wireless Networks Detected ‘: “0 – 20”.
    Regards,
    Jabzi
    Help the community by marking this post .
    Was your question answered? Mark it as an Accepted Solution! 
    See a great post? Give it a Kudos!
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • I downloaded pictures to iTunes, the phone would not delete the pictures and then hung up after trying to download the updates and now its telling me I have to restore the phone.

    My iPhone 5 had too many pictures stored on it. So I downloaded them to iPhoto after they were imported I click for it to delete the pictures from the phone. The pictures were never deleted and then the phone try to update to the new the new IOS even though I did not click for the phone to do this. I got an error saying the phone could not update and that I would have to restore the phone to factory settings. The phone is frozen and just talks to me when I try to do a function on the phone. And it hasn't restored or updated anything.

    Hey klegg,
    Thanks for the question. It sounds like you are experiencing issues with your iPhone. To troubleshoot these issues, let’s go ahead and restart/reset your device if it is unresponsive:
    Turn your iOS device off and on (restart) and reset
    http://support.apple.com/kb/HT1430
    If your issue persists after restarting/resetting, go ahead and perform and backup and restore:
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/ht1414
    Thanks,
    Matt M.

  • I-MAC has the grey screen on start up, then shuts down after trying to load (bar shows 30%).

    Shutdown my I-mac and next morning the grey screen appears with a loading bar which gets to 30% and then i-MAC shutsdown. Went into Utilities and it shows my files etc. but the verify and the repair disk have not corrected the issue(s).
    What else can I do before I take it to the apple support. I live in Brunei and past history suggests that the Apple Support will just erase everything on the drive and I will lose the lot. I just want the photos and my own CD loaded music.
    Any suggestions would be welcome.

    Look at this: http://support.apple.com/kb/ts2570

  • 6th Gen Nano Won't Work In My Car After Restore

    When I first bought my Red Nano, it wouldn't work with my car mp3 player. I took it to a Genius Bar, and the guy said he'd try some type of update. Whatever he did, it worked. Yesterday my Nano started acting wonky, so I restored it today. Now it won't play in my car. Does anyone have any idea what the Genius guy might have done to make it work last time?

    After trying reset, reinstall, blah, blah, blah, I got the wild idea to see if my Classic would still play in my car. It did. So I tried my Nano again. This time it worked. I don't know why, all I care about is that it's working again.

  • Email not opening This is a sudden thing, Email had been working fine for two months then today would not stay open now it will not open at all. after trying to open mail I receive a white screen for a nano second and the app closes

    Email not opening on my iPad2 This is a sudden thing, email had been working fine since purchasing the device then today would not stay open,  now it will not open at all. After trying to open mail I receive a white screen for a nano second and the app closes.

    Have you tried closing the Mail app completely ? From the home screen (i.e. not with Mail 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • My ipod cclassic 80gb is hang after trying dat press and hold method then also its not working please tell me solution

    My ipod cclassic 80gb is hang after trying dat press and hold method then also its not working please tell me solution

    Thanks for your response and good luck wishes, I suspect I will need them!
    In principle, I agree re: the manufacturer's warranty. However, I am pretty upset that this is now my second iPod to develop a critical fault within weeks of the warranty expiring, and frankly, it is not unreasonable to expect a state-of-the-art $500 electronic device to last well beyond one year of life.
    I agree talking to Apple is not likely to do me any good (the clue is in how impossible they make it to talk to them in the first place) - but that is not necessarily OK. I expect I will have to pay money to get the battery replaced - again, not OK (full stop - but especially given the cost of the device and the money I have spent with Apple). Yes, the batteries have a limited lifespan, but it should last longer than this (and surely, I should notice a gradual decline in its functionality, not an instant stop).
    I will try Deggie's suggestion (see my reply post), but probably won't hold my breath (think I have already done this). I probably will have to get the new battery - and probably under my own steam. It is a principle at stake and I feel I should be able to let Apple know how I'm feeling - and am frustrated that they make this virtually impossible. It sends the very clear message that they are not interested in listening to their customers.

  • Iphone 4s touchscreen stops responding after a minute or so, I then have to wait at least a minute before the touchscreen works again but soon after it stops responding. I have tried hard reset, turning it off over night, etc

    Iphone 4s touchscreen stops responding after a minute or so, I then have to wait at least a minute before the touchscreen works again but soon after it stops responding. I have tried hard reset, turning it off over night, etc

    Hello,
    I had that problem as well and the apple support suggested to turn off the LTE-mode to have a running system and try to exchange the micro-sim by my provider.
    THAT was not an option!
    BUT it seems to solve my problem in the following way after trying a lot of possibilties:
    In the menue properties/help (don't know the exact english word, because I run my phone in german)
    I switched on the nice feature 'flash LED' by incomming calls, msgs, and push infos.
    Today the flash feature was responding to different push notes very slowly.
    By switching this feature off the LTE-mode-tochscreen-not-responding-problem disappeared.
    We tried this on a other iphone, not having the metioned problem, and switched the LED-flash:
    the problem appeared. Switching the LED-flash off: problem disappeared!
    It seems to be a bug that the LED will hint Calls and MSGs in combination with the LTE mode!
    treated my phone very hard today to double check, but its still ok.
    @Apple:
    Please fix that issue in the next update.
    Hope, this helps you guys as well.

  • Help, I let my battery go down completely, when I try to charge it the red battery flashing sign appears and then flicks off after a few seconds. I have tried a number of chargers and a docking station nothing works. Why won't it charge?

    Help, I let my battery go down completely, when I try to charge it the red battery flashing sign appears and then flicks off after a few seconds. I have tried a number of chargers and a docking station nothing works. Why won't it charge?

    hi I have the same problem... tried many different docking ports and cords also switched from outlet to outlet..... left on on outlet for 7 hours and still nothing.. what should i do?

  • After trying to install update on MacAir error message and then message saying panic (cpu caller 0xffffff800a859241): "Unable to find driver for this platform: \"ACPI\".... I'm worried as all of my work is on my computer and I'm afraid I will lose it all.

    I am totally worried I am going ot lose all my data after trying to install update on MacAir.  Cannot do anything error message saying panic ....."Unablet o find driver for this platform."

    Hi Guys
    No good news I'm afraid. I have been through ALL the system caches and files that were updated at the time of said issue. Reset - rebuild and even gone back to my TimeMachine copy from earlier this AM. Nothing! Can only assume it is something deeper in the /usr or var or private folders.....
    I have cloned the system and core files (/usr, /private) etc etc to an external HD and it still recreates the fault. I am afraid to say I have no more time at the minute to look at so have put my machine back to 2 hours prior via my TimeCapsule.
    I the absense of anyone else or, indeed, Apple fixing in the next 12 hours, will get back onto it from the cloned copy I have kept and see if I can find the offending file/files...
    Sorry I don't have an immedaite solution.

  • SQL server agent jobs throws random errors while the ETL process works fine.

    Hi,
    I have this problem with SQL agent jobs.
    We went from sql2008 to sql2012 and migrated SSIS without problems. The ETL process runs fine and the OLAP cubes are processed.
    I have a job which calls the master execution dtsx for a particulair customer. When the ETL load and OLAP is processed it should go to the next customer. The problem i have is that the agent logs some errors for random customers. I tried to do only two clients
    in one job this works then i add the third client and then it fails (log wise) for a customer which did run successfully before when there were only two customers.
    Despite the error message the ETL did run, there were no duplicate keys and OLAP was processed???
    Im very close to pull all my hair, because some combinations like two customers work, and placing these two customers with a third one it then fails again. (again cubes are processed and data is integer yet i keep getting these annoying errors in the log)
    Perhaps someone could help me further. 
    -Miracles are easy, the impossible takes a bit longer-

    Just double-click on the Agent job, then click on Steps property page (on your left), you must be able to see a list of steps with the action "On Failure" which you should examine.
    Arthur My Blog

  • After trying to install 6500 Wireless all-in-one on my 3rd comp, it ceased to work

    While trying to install my (less than 2 year old) HP6500 Wireless all-in-one software on my 3rd networked computer, the software installation went into a loop and would not complete the installation.  After about an hour or so of waiting, I physically had to unplug the printer & eject the CD. Upon doing so, the printer became next to useless. The printer key pad no longer functions except when I first plug it in, and I can no longer access it from the other 2 original computers, even with USB.  The HP solution center says it’s on line, until I go to print via USB, then it says it’s offline. I can hook the USB up on the Widows 7 unit and force it to print Word Office documents, but when I try to print documents on it from either Internet Explorer or Fire Fox it wants to send a Fax??? I've uninstalled and reinstalled the software 3 times on my Windows 7 unit now to no avail. Is it my printer, the printer Firmware or what?  I have downloaded and run all the HP & Microsoft troubleshooting tools on the Windows 7 unit to no avail.  However; HP downloads will not successfully complete on my XP unit.  What should I do? Should I start over with a new wireless printer?
    Totally Confuzed

    Re: After trying to install 6500 Wireless all-in-one on my 3rd comp, it ceased to work
    Ref: 02-23-2012 08:53 AM
    12:38 AM 2/24/2012 UPDATE ON WHAT I HAVE TRIED AGAIN: 
    1. Power Reset on the Printer: Power off the printer. Unplug the power cable from the back of the unit. Wait 60 seconds. Replug the power cable to the printer and power it on. DONE
     2. Print a test page: Follow this document to print the test page. PRINTER SCREEN SAYS IT'S PRINTING AND THE POWER LIGHT IS FLASHING LIKE IT'S BUSY, BUT NOTHING IS HAPPENING. ONLY WAY TO USE IT NOW IS TO UNPLUG IT AND START OVER. THIS HAPPENS ALL THE TIME NOW. IT WILL NOT PRINT TEST REPORTS.
     3. Create a copy of the printed test page. CANNOT DO NOW - (PRINTER FREEZES UP WITH A BLINKING POWER LIGHT)
     4. Print the Wireless Network Test Report (To check if there are any errors) CANNOT DO
    Press the Setup button ( ). DOESN'T WORK EXCEPT MOMENTARILY...NOT LONG ENOUGH TO MAKE A SELECTION BEFORE IT HANGS AND FREEZES UP...
    Press the Right Arrow button ( ) to select Network Setup, and then press the OK button. CAN'T GET IT TO DO ANYTHING PRESSING THE OK BUTTON.
    Press the Right Arrow button ( ) to select Wireless Network Test , and then press the OK button. The Wireless Network Test Report prints. CAN'T GET IT TO DO ANYTHING PRESSING THE OK BUTTON.
    If you did not encounter any errors while performing the steps above then I think the hardware is OK. Test the software next. Let's use Windows 7 as the test platform. I DON'T THINK THE HARDWARE IS OK.
    1. Download the driver from HP.com. Once it gives you the option to either Run or Save make sure to select Save and then select Desktop as the target location where it will save the file. This is just to make it easier to find it. Once it finishes downloading the file, double click it to initiate the installation process. Follow the on screen instructions until you reach the "select how you want to connect the printer" window comes up. I ALREADY HAVE 3 COPIES ON MY DESKTOP & NONE OF THEM REACT ANY DIFFERENTLY.
     2. At the "select how you want to connect the printer" window select USB and then click Next (I think there is a next button). It should asks you to connect your printer but we are NOT going to do that. Place a checkmark on the option on the bottom of the window that gives you the option to bypass the connection phase of the installation. Click Next to proceed. Once the the installation process completes, restart your computer. I HAVE DONE IT BOTH WAYS BEFORE AND CANNOT GET THE INSTALLATION TO COMPLETE ON ANY OF THE 3 COMPUTERS NOW.
     If you did not encounter any errors at this point then it looks like the software installation process is good. Proceed to the next test. END OF TEST FOR TONIGHT. THANKS
    1. After the computer completely boots up, connect the USB cable to the printer and to the computer. The computer should detect the printer and initiate the HP installation process for it. Follow the onscreen instructions to complete the install.
    2. Try printing to test functionality.

  • I have windows 7 and my speakers worked then after update my speakers do not work and everything checked out and says they are working and that soundcard is working but no sound now.

    I have windows 7 and my speakers worked then after update my speakers do not work and everything checked out and says they are working and that soundcard is working but no sound now.
    I have tried everything and nothing works.

    sound problems:
    #Restore speaker icon to System Task bar, right-click on clock or tray > Properties > Volume: On
    #Click on the Sound icon in System tray then on Mixer, make sure Firefox is not muted [http://dmcritchie.mvps.org/icons/fx_sound.png picture]
    <p>Additional references
    * [https://support.mozilla.com/en-US/kb/No%20sound%20in%20Firefox No sound in Firefox | Troubleshooting | Firefox Help]
    * [http://support.mozilla.com/en-US/kb/Video%20or%20audio%20does%20not%20play Video or audio does not play | Troubleshooting | Firefox Help]
    * [http://kb.mozillazine.org/Video_or_audio_does_not_play Video or audio does not play - MozillaZine Knowledge Base]

  • For the past few hours I have been trying to download ios 7.0.4 from itunes onto my iPhone after trying many times it would give me a error saying network failed! then i tried to download Ios 7.0.4 manually and then put it on but it keeps failing?

    For the past few hours I have been trying to download ios 7.0.4 from itunes onto my iPhone after trying many times it would give me a error saying network failed! then i tried to download Ios 7.0.4 manually and then put it on but it keeps failing? i have tried everything that i have came across and nothing seems to work please help!

    I venture to say you have a Windows PC.
    If so, before beginning the download try temporarily disabling your antivirus, anti-adware, anti-spyware, and any other anti-whatever that is required with the insecure OS your computer is running.

  • My ipod touch 5 wount let me back in after trying to update ios with my computer and now says connect to itunes. it still wount work when i plug it in and click restore for it?

    my ipod touch 5 wount let me back in after trying to update ios with my computer and now says connect to itunes. it still wount work when i plug it in and click restore for it?

    it went through the extracting software stage but then an error message saying that it encountered problems came up and it didn't restore.

Maybe you are looking for