Page 1 of 1
New Model Error
Posted: Wed 18 Feb 2015 16:59
by isysoftware
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
Re: New Model Error
Posted: Thu 19 Feb 2015 12:34
by AlexP
Hello,
Please send me the file ..\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config to alexp*devart*com .
Re: New Model Error
Posted: Fri 20 Feb 2015 08:41
by isysoftware
E-mailed yesterday
Thanks,
Flavio
Re: New Model Error
Posted: Fri 20 Feb 2015 11:23
by AlexP
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
Re: New Model Error
Posted: Fri 20 Feb 2015 11:37
by isysoftware
E-mailed
Re: New Model Error
Posted: Fri 20 Feb 2015 16:17
by AlexP
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
Re: New Model Error
Posted: Tue 24 Feb 2015 14:22
by isysoftware
Ok, it works!
Thanks,
Flavio
Re: New Model Error
Posted: Tue 24 Feb 2015 14:49
by AlexP
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us