I'm trying to create an ADO.NET Data Service and am running into a strange error message on the production server.
following...
Request Error
The server encountered an error processing the request. The exception message is 'The specified store provider cannot be found in the configuration, or is not valid.'. See server logs for more details. The exception stack trace is:
at System.Data.EntityClient.EntityConnection.GetFactory(String providerString) at System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString) at System.Data.EntityClient.EntityConnection..ctor(String connectionString) at System.Data.Objects.ObjectContext.CreateEntityConnection(String connectionString) at System.Data.Objects.ObjectContext..ctor(String connectionString, String defaultContainerName) at SpectraCorpService.mainwebsiteEntities..ctor() in C:\Documents and Settings\spectraserv\Desktop\SpectraCorpService\MainWebsite.Designer.cs:line 26 at invoke_constructor() at System.Data.Services.DataService`1.CreateDataSource() at System.Data.Services.DataService`1.EnsureProviderAndConfigForRequest() at System.Data.Services.DataService`1.ProcessRequestForMessage(Stream messageBody) at SyncInvokeProcessRequestForMessage(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage3(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage2(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage1(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
Why would the service run fine on localhost but not on the production server?
ADO.NET Data Services and Entity Framework
You need to register our provider in the *.config file of your application.
This question was discussed here: http://www.devart.com/forums/viewtopic.php?p=41785 .
For more information, please refer to our online documentation:
http://www.devart.com/dotconnect/oracle ... using.html , the Entity Framework Support part, the Deploying an Entity Framework Project section.
This question was discussed here: http://www.devart.com/forums/viewtopic.php?p=41785 .
For more information, please refer to our online documentation:
http://www.devart.com/dotconnect/oracle ... using.html , the Entity Framework Support part, the Deploying an Entity Framework Project section.