SOE with Entity Framework

465
0
03-19-2011 02:22 PM
AlirezaAhmadi
New Contributor
I have a model of Entity Framework with a connection string to database in App.Config file within SOE project. When I debug SOE ( Rest Service ) , I get this error:

The specified named connection is either not found in the configuration, not intended to be used with the EntityClient Provider, not valid

How come the connection string in App.Config cannot be found when I call REST Service?

I am able to update the Entity model by right Clicking on .edmx file . It seems the connection defined in App.Config is valid though.

I also followed this thread and i could not find any working solution
http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/70f124b6-5003-4011-814...


Any help?
0 Kudos
0 Replies