Click to See Complete Forum and Search --> : .net with mysql works only in my computer


phmnx
January 23rd, 2012, 01:19 PM
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.

Cimperiali
January 25th, 2012, 04:56 AM
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/deployment/45704-how-deploy-project-mysql-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.