10-13-2011 02:47 PM
PiMaster,
I think your code is well written and I have enjoyed working with it trying to figure this out. thank you for taking the time for the code to look neat.
I cannot break this code with the sample database that I have on my computer so I am guessing it would be smart to look at the problem from this angle.
http://www.adopenstatic.com/faq/80040e14.asp
You may be using a reserved word or need to use a delimiter to handle table or field names containing a space.
If this does not help please respond back and let me know.
to anyone looking at this thread I feel that I have tried hard and would love some help figuring this out.
Dano
10-13-2011 03:10 PM
Thanks, I really appreciate you saying so. I'm trying to get better as I get more experienced to keep things neat and organized.
I'll look over the link and keep trying at it. Thanks for your help.
10-14-2011 11:41 AM
Ok, I finally got it to work by...
Uninstalling the 2011 Database Connectivity Toolkit, reinstalling the 2010 Database Connectivity Toolkit, and pointing my VIs to reference the VIs from the 2010 folder.
Everything ran fine, right out of the gate.
10-14-2011 12:34 PM
Oh wow, for some reason I was able to get the code to run on my computer with the 2011 Connectivity toolkit with Labview 2011. We could spend forever trying to figure out exactly what happened. Instead I think we should rejoice that it is working now. I am glad to hear you solved the problem. Well done!
10-14-2011 12:39 PM
Thanks. At this point, I'm really happy it's working. It's definitely set me up for a nice weekend!
10-31-2011 11:02 AM
10-31-2011 11:04 AM
I have the same problem. Calling a stored procedure used to work fine with 2010. I upgraded to 2011 (LV and DB) and this error occurs. I checked everything and found nothing wrong. The procedure still works from C# and SQL Server manager. In lieu of a better solution I'm going back to DB 2010. Will post if this doesn't work.
10-31-2011 11:07 AM
I'm curious: what upgrade method did you use? Looking back, I think I downloaded the 2011 update before getting the CDs in the mail. I'm just wondering if that might be a commonality between our experiences.
10-31-2011 11:49 AM
In my case, I used DVD's for the upgrade. Unfortunately, I uninstalled all of 2010 prior to installing 2011.
10-31-2011 12:23 PM
I just completed a downgrade of the DB conectivity toolkit (2011 to 2010). This also repaired the issue for me. All of my call stored procedure sub-routines are now functioning correctly again (in dev enviro and as built exe).