New Model Error

New Model Error

Postby isysoftware » Wed 18 Feb 2015 16:59

Hi All,
with Entity Developer I click on 'New Model -> Code-mapped Entities -> Database First' and I have this error "Section DBProviderFactories can be appair only one time in every config file" (Note: this message is in Italian language; I have traslated);
If I click OK, the Setup Data connection propperties -> provider, is empty.
https://dl.dropboxusercontent.com/u/57073931/ED1.jpg
https://dl.dropboxusercontent.com/u/57073931/ED2.jpg
isysoftware
 
Posts: 42
Joined: Wed 14 Nov 2012 17:33

Re: New Model Error

Postby AlexP » Thu 19 Feb 2015 12:34

Hello,

Please send me the file ..\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config to alexp*devart*com .
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: New Model Error

Postby isysoftware » Fri 20 Feb 2015 08:41

E-mailed yesterday

Thanks,
Flavio
isysoftware
 
Posts: 42
Joined: Wed 14 Nov 2012 17:33

Re: New Model Error

Postby AlexP » Fri 20 Feb 2015 11:23

Please send 2 more files:
C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: New Model Error

Postby isysoftware » Fri 20 Feb 2015 11:37

E-mailed
isysoftware
 
Posts: 42
Joined: Wed 14 Nov 2012 17:33

Re: New Model Error

Postby AlexP » Fri 20 Feb 2015 16:17

This behavior is caused by duplicated records:

<add name="BlackfishSQL Local Provider" invariant="Borland.Data.BlackfishSQL.LocalClient" description="Provider with inprocess database Server" type="Borland.Data.DataStore.DataStoreProviderFactory, Borland.Data.BlackfishSQL.LocalClient, Version=8.0.0.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b"/>
<add name="BlackfishSQL Remote Provider" invariant="Borland.Data.BlackfishSQL.RemoteClient" description="Provider for connectivity to BlackfishSQL Server" type="Borland.Data.DataStore.DataStoreProviderFactory, Borland.Data.BlackfishSQL.RemoteClient, Version=8.0.0.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b"/>
<add name="AdoDbx Data Provider" invariant="Borland.Data.AdoDbxClient" description=".Net Framework Data Provider for dbExpress Drivers" type="Borland.Data.TAdoDbxProviderFactory, Borland.Data.AdoDbxClient, Version=11.0.5000.0, Culture=neutral, PublicKeyToken=91d62ebb5b0d1b1b"/>

You should delete these lines from the file

C:\ Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35

Re: New Model Error

Postby isysoftware » Tue 24 Feb 2015 14:22

Ok, it works!
Thanks,
Flavio
isysoftware
 
Posts: 42
Joined: Wed 14 Nov 2012 17:33

Re: New Model Error

Postby AlexP » Tue 24 Feb 2015 14:49

Glad to see that the issue was resolved. If you have any further questions, feel free to contact us
AlexP
Devart Team
 
Posts: 5525
Joined: Tue 10 Aug 2010 11:35


Return to EntityDAC