I am trying to get the demo version of the dotconnect working with entity framework 4.1, using code first. I am trying to run this through a unit test project. So the app.config of my unit test has the following.
Code: Select all
<connectionStrings> <add name="BIL.ORM.EF.Properties.Settings.EnterpriseConString" connectionString="DATA SOURCE=xxx;PASSWORD=XXXX;USER ID=XXXXX" providerName="Devart.Data.Oracle" /> </connectionStrings> <system.data> <DbProviderFactories> <remove invariant="Devart.Data.Oracle" /> <add name="dotConnect for Oracle" invariant="Devart.Data.Oracle" description="Devart dotConnect for Oracle" type="Devart.Data.Oracle.OracleProviderFactory, Devart.Data.Oracle, Version=18.104.22.168, Culture=neutral, PublicKeyToken=09af7300eec23701" /> </DbProviderFactories> </system.data>
But yet every time I run I get
Unable to determine the provider name for connection of type 'Devart.Data.Oracle.OracleConnection'.
The one thing I don't have is a license file. I am trying out the 30 day deal. Is this an expected error for no license file? I did try to create just a text file and add it to my project called licesnse.licx and list to the two dll's as stated in the doc. But that didn't work either same error.
FYI I have the oracle beta working, but I am hoping for a easier install during deployment. My hope was to change the connection string, list the factory, include the dll's and be off an running. No such luck so far.