Page 1 of 1

using entity models in console apps

Posted: Mon 13 Sep 2010 10:16
by endre
Hello.

I have a problem with my console app when I deploy it to a server where dotConnect is not installed.
The app runs fine in VS2008, but not on the server.

The error is: The specified store provider cannot be found in the configuration, or is not valid.

my config looks like this:

Code: Select all

 
    
  
The same config files works fine on the dev machine. What should I add/change to make it work on my server, any suggestions?

Endre

Posted: Mon 13 Sep 2010 11:04
by AndreyR
Have you added the provider registration XML like the following into the app.config file?

Code: Select all

  
    
    
  
You can find more deployment instructions here.

Posted: Mon 13 Sep 2010 11:19
by endre
Hello.

Thanks for the fast reply. I had added it, but incorrectly.
After reviewing it did it right and it worked.
Stupid error from my side.

Thanks.

Endre