[FIXED] Use dotConnect for Oracle without installing it in development environment
Posted: Tue 09 Apr 2013 12:31
Hello,
We have a licence of dotConnect for Oracle 6.8.350 Professional and I would like to use dotConnect for Oracle without installing it in my development environment. So I've created a class library project with Visual Studio 2010 and EF4 and I followed this documentation http://www.devart.com/dotconnect/oracle ... yment.html to setup my project.
In App.Config, I've added the DbFactory :
And I've added the following references to the project :
I've added the licenses.licx in Properties as Embedded Resource :
Then I added an existing working EF4 Model but when I try to compile, I keep getting this error :
The error is located in the model MyModel.edmx :
I've tried many tricks and did many researches and can't resolve this issue, but if I install dotConnect for Oracle, I can compile the project. So what does it mean? We couldn't develop without installing dotConnect for Oracle? Or I missed something?
Thanks for support!
Rasheed
We have a licence of dotConnect for Oracle 6.8.350 Professional and I would like to use dotConnect for Oracle without installing it in my development environment. So I've created a class library project with Visual Studio 2010 and EF4 and I followed this documentation http://www.devart.com/dotconnect/oracle ... yment.html to setup my project.
In App.Config, I've added the DbFactory :
Code: Select all
<system.data>
<DbProviderFactories>
<add name="dotConnect for Oracle" invariant="Devart.Data.Oracle"
description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=7.7.217.0, Culture=neutral, PublicKeyToken=09af7300eec23701" />
</DbProviderFactories>
</system.data>Code: Select all
Devart.Data.dll
Devart.Data.Oracle.dll
Devart.Data.Oracle.Entity.dllCode: Select all
Devart.Data.Oracle.OracleConnection, Devart.Data.Oracle, Version=7.7.217.0, Culture=neutral, PublicKeyToken=09af7300eec23701Code: Select all
Error 175: The specified store provider cannot be found in the configuration, or is not valid.Code: Select all
<Schema Namespace="MyModel.Store" Alias="Self" [color=#FF0000][b]Provider="Devart.Data.Oracle" [/b][/color]ProviderManifestToken="ORA" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
<EntityContainer Name="MyModelStoreContainer">
..Thanks for support!
Rasheed