ADO.NET Provider Error IIS

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Cloud Applications
Post Reply
Posts: 5
Joined: Wed 11 Dec 2013 16:44

ADO.NET Provider Error IIS

Post by jappenzeller » Fri 14 Mar 2014 13:43

Reinstalled dotconnect for salesforce and it seems to have fixed the issue. I may have had an older or trial version on there I guess.

The ADO.NET provider with invariant name 'Devart.Data.Salesforce' is either not registered in the machine or application config file, or could not be loaded

"An error occurred when trying to create a controller of type 'LeadsController'. Make sure that the controller has a parameterless public constructor."

I'm getting this error on my production server but not my development server. I have installed dotconnect for salesforce on both thinking the library wasn't there but it didn't solve the issue. It seems it's somehow affecting the ninject instantiation of my controller.

This section is in my web.config,
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
<provider invariantName="Devart.Data.Salesforce" type="Devart.Data.Salesforce.Entity.SalesforceEntityProviderServices, Devart.Data.Salesforce.Entity, Version=2.4.324.6, Culture=neutral, PublicKeyToken=09af7300eec23701" />

Site Admin
Posts: 9115
Joined: Thu 14 Aug 2008 12:44

Re: ADO.NET Provider Error IIS

Post by Shalex » Mon 17 Mar 2014 20:52

Please confirm that the issue is solved.

If not, specify the call stack of the error with all inner exceptions.

Post Reply