10-10-2013 09:55 AM
Hello,
I have a test application that stores its results in a MS Access Database in a directory on a central server.
I have been been adding testable products and modifying this application since at least LabWindows 8.2. I try and keep the versions of LabWindows on my development machine current and have probably rebult my application with every version of LabWindows since 8.2. The only issues that I have run into thus far are thos etht I have created myself.
Recently, I upgraded to LabWindows 2013. Now, when I build my application and put it on to my target machine I am no longer able to connect with the database. I took LabWindows workspace and built it in 2012. It works fine on the target machine. The only variable is the version of LabWidows I am using.
Any help on this issue would be appreciated.
Regards-
John
10-11-2013 01:10 PM
Hey johnoc,
How are you trying to connect to the database? What function calls are you doing?
Also, this could be something with how the code is now compiled in CVI 2013. CVI 2013 uses a different compiler than 2012. It could also be a deprecated function. What error are you receiving when you run the compiled code from 2013?
10-23-2013 03:29 PM - edited 10-23-2013 03:39 PM
Hi Jesse,
Sorry I just saw your response. The database interface functions are in the file I have attached. I get an error in the db_Connect function in this file. "cvi_db.h" is included in the header file. Any light that you can shed on this issue would be appreciated.
I'm having issues uploading my file.
Regards-
10-23-2013 03:31 PM
Attached file.
10-24-2013 03:39 PM
Hi johnoc,
Can you attacth the file one more time, it doesn't seem like it was included.
Also you are talking about the error that you are getting.Can you also send in a screen shot of the error?
Is this the same database that you were interfacing with earlier versions of the CVI?
10-28-2013 08:46 AM
Hi Edna,
The script to attach the file is not working. I am getting a script error. I suspect it has some thing to do with the security settings placed on my browser by the company.
The database I am trying t access is an MS Access 2007 database. It is the same database that I can access when I build the application in CVI 2012 and CVI 2012 SP1.
10-29-2013 11:39 AM
Can you tell me what is exactly the error? any description or error number? This would help me better look up information.
Can you also go ahead and create a new string connection and test your connection through datalink properties window.This is regarding to LabVIEW but the process is the same. http://digital.ni.com/public.nsf/allkb/1D5EB4DCBD13106486256B9D005E11B0
Please let me know how it goes.
10-30-2013 08:30 AM
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; MS-RTC LM 8; InfoPath.2; .NET4.0E; .NET CLR 1.1.4322)
Timestamp: Wed, 30 Oct 2013 13:30:29 UTC
Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://ni.i.lithium.com/t5/scripts/83075C8B96952709723DB4FF483DF2A4/lia-scripts-common-min.js
10-31-2013 01:07 PM
Can you try to uninstall/reinstall IE 8.0. Can you try downloading the latest version?
http://forums.ni.com/t5/Feedback-on-NI-Discussion-Forums/IE8-webpage-errors/m-p/1825315
There are also a couple of CAR filed for this issue, so it is being looked at.
11-01-2013 08:31 AM
Hi Edna,
I will see what I can do. I am kind of limited in what I can and can't do by my IT department. I may end up dealing with this from my laptop at home so I can get some anwers.