Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi there im having this error [^] in my app but problem seems not to be in source code since it works in another pcs.

Thanks in advance.

What I have tried:

Checked drivers,apps etc. Something with oledb must be the problem but i cant find what im missing actually.
Posted
Updated 27-Aug-19 9:12am

1 solution

It's your connection string, according to the error message.
So use the debugger and find out exactly what string the code is using and go from there.
 
Share this answer
 
Comments
Member 14145647 27-Aug-19 17:19pm    
Thing is string is right cuz app is running perfect in my computer but when i test it on my laptop it doesnt work.
Dave Kreskowiak 27-Aug-19 19:55pm    
That in no way means the connection string is correct for THAT machine.
OriginalGriff 28-Aug-19 2:20am    
That's why you need to use the debugger (or logging) to find out exactly what the string being used is. I'm sure you weren't silly enough to hard code the connection string into your application directly - because obviously that would need a different application for nearly every machine it gets installed on! - so you need to find out what the value you are reading from your configuration file actual is, and check that works via a UDL file or similar.
Maciej Los 28-Aug-19 9:43am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900