|
-
January 23rd, 2012, 02:19 PM
#1
.net with mysql works only in my computer
Ok I am a noobie to .net and databases and I was trying to do a mini project to learn how to connect mysql databases to a .net project. I have downloaded the ado.net mysql connector and installed it and then created two databases, one local and one remote and I have just made a single button that shows the data.
Anyway, the point is it's working when using it at my pc (even when I run the program using only the exe, the config and the wpf toolkit dll in a separate folder). But when I have decided to give it to a friend to test it, it says something like "The specified store provider cannot be found in the configuration, or is not valid."
I suspect that it has to do with the fact that I have the connector installed in my computer and he does not but even if that's the problem, is there a way to make it run from any computer? of course I expect only the remote option to work.
-
January 25th, 2012, 05:56 AM
#2
Re: .net with mysql works only in my computer
Yes, it is exactly what it is saying: provider not found, which means there is not the connector on target machine. You could try following the advices posted here http://www.vbdotnetforums.com/deploy...connector.html, but I am quite sure you will have to make a deploy project and add the connector as a prerequisite to your software among with the Framework you're using.
Last edited by Cimperiali; January 25th, 2012 at 05:59 AM.
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|