04-18-2023 02:12 AM
Hi guys,
i have got problem with LabView app. I have got this error message: 0x80004005 - Source of error: Exection occured in Microsoft OLE DB Provider for ODBC Drivers: Could not connect to the server;
Our it team told me that i cant connect this PC to network again, because it is running Windows 7 and it will be dengerous for us and these things. It is possible to circumvent that LabView will required to connect to network or any other option to solve this problem.
Thank you so much.
04-18-2023 02:43 AM
You have several ways to tackel that issue but it depends a lot of what you need/want to do.
-Do you need that database connection to the server ? If no, do the work in local.
-Can your IT setup a secure way to access the server and you can work as usual ?
-Can you update the computer to a newer windows version ?
04-18-2023 02:50 AM
1. I dont need that database connected to server but how i can work in local?
2. I dont know, i will asked them.
3. We already did it, but it doesnt work with this version.
Thank you so much for your answer.
04-18-2023 03:14 AM
@Jack_kilby a écrit :
1. I dont need that database connected to server but how i can work in local?
2. I dont know, i will asked them.
3. We already did it, but it doesnt work with this version.
Thank you so much for your answer.
1 ==> Create the same DB in local and change the connect string to match it.
3 ==> What doesn't work ? The software itself on WIn 10/11 or the connection ?
04-18-2023 03:43 AM
1.Ok, but how can i created this string?
2. App is not supported by WIN10 or 11
Thank you
04-18-2023 03:56 AM
By your answer I am wondering if you have access to the source code. Is that something you use ou that you maintain ?
The connection string is either programmed in the source code or available as variable. Cannot say with only a picture.
What prevents the app to work on Win 10/11 ?
04-18-2023 04:20 AM
To be honest, i dont know. How can i find out.
Problem was, our IT upgraded WIN7 to newer security patch, but this update probably delete some part of out program and due to we took our backup. App is to old to run on WIN10.
04-18-2023 04:36 AM
Your application seems to try to connect to a Database and can't access that. This was programmed by the creator of your application and is not a feature of LabVIEW itself. Only someone with access to the source code of that application can find out what it is your application tries to do, and what options there are to try to remedy it.
The Database string might be hardcoded in the application, in which case the only way is to change the source code to work in a different way. Or it may be defined in some configuration screen in your application, or maybe hidden in an INI file.
The conclusion of this is: You most likely need access to the source code of the original application and someone who can read LabVIEW code and determine how things might be reconfigured/reprogrammed to make it work with a new Database server.
However if your computer is not allowed to be connected to the company network anymore things could get tough to maintain operation as you were used to, without some more involved changes to the application code.
04-21-2023 04:11 AM
I have to apologize that i answer too late. Thank you very much for your help, out LabView developer said - it is possible to change the way of database but it will quite time demanding and he has no time.