using entity models in console apps

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
endre
Posts: 2
Joined: Mon 13 Sep 2010 10:07

using entity models in console apps

Post by endre » Mon 13 Sep 2010 10:16

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

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 13 Sep 2010 11:04

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.

endre
Posts: 2
Joined: Mon 13 Sep 2010 10:07

Post by endre » Mon 13 Sep 2010 11:19

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

Post Reply