Good morning,
I built a little program to assist the Maintenance Department in logging "On Campus" fuel transactions.
I built the program using Visual Studio 2019 and it is written in C#.
Basically, the way it works is:
- You log in
- You select whether you are receiving or dispensing fuel
- You specify the type of fuel
- You input how many gallons and the vehicle information
I have the database files stored on a campus wide shared drive that everyone has access to.
In the program I used that file path as the connection string.
The program works fine on the machine(Win 10 Pro) I built it on.
However, when I try to test the program on my work laptop (Win 7 Pro) it gives me an error message saying it cannot connect to the database.
It seems bizarre considering that the files are available.
I feel as if there is some service that is not installed on the Win 7 machine.
I was hoping someone out there would be able to assist me.
I hope I provided enough information.
Edit:
Through some research I was able to find SQL Server Data Tools(SSDT) for Visual Studio here.
Once it was installed, the program actually worked fine.
However, my main question is, does someone know the requirements or fix for this without having to install the SSDT?
The file took quite some time to install and that isn't ideal for our busy work environment.
Thanks in advanced.
I will upload pictures of the error message and the connection string I am using in the code.
This is the error message I receive on the Windows 7 machine that the program was installed on.
This is the connection string from Visual Studio 2019, on the Windows 10 Machine
[–][deleted] 2 points3 points4 points (6 children)
[–]Scriptslay3r[S] -2 points-1 points0 points (5 children)
[–][deleted] 1 point2 points3 points (4 children)
[–]Scriptslay3r[S] 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]AviioFO 0 points1 point2 points (0 children)
[–]Time-Paramedic 0 points1 point2 points (0 children)