devart provider with entity framework connection string

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
unwisen@gmail.com
Posts: 2
Joined: Fri 24 May 2013 18:37

devart provider with entity framework connection string

Post by unwisen@gmail.com » Fri 24 May 2013 18:57

Hi,

I'm using the devart dotConnect professional provider (version 7.7.242.0) for oracle in my ASP.NET MVC 4 C# project.

When I try to make a request on the oracle database,
I got this error :

"An error occurred while getting provider information from the database. This can be caused by Entity Framework using an incorrect connection string. Check the inner exceptions for details and ensure that the connection string is correct"

This is my configuration :

<configSections>

<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />

</configSections>

<connectionStrings>

<add name="NetworkXContext" connectionString="Data Source=***;User Id=***; Password=***;" providerName="Devart.Data.Oracle" />

</connectionStrings>

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: devart provider with entity framework connection string

Post by Shalex » Mon 27 May 2013 09:56

1. Please specify the name of the template you are using (e.g.: ObjectContext or DbContext).
2. The value of the "Metadata Artifact Processing" property of your model.
3. Post here the full call stack (with the inner exception).

unwisen@gmail.com
Posts: 2
Joined: Fri 24 May 2013 18:37

Re: devart provider with entity framework connection string

Post by unwisen@gmail.com » Mon 27 May 2013 13:49

Thanks for your replys.
It's solved for the moment.
I installed Oracle client on my computer.
And now it's work...
I plan to investigate this result later.

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: devart provider with entity framework connection string

Post by Shalex » Tue 28 May 2013 06:59

If you are interested in the Direct Mode, this feature is described at http://www.devart.com/dotconnect/oracle ... tmode.html.

Post Reply