New Model Error
-
- Posts: 44
- Joined: Wed 14 Nov 2012 17:33
New Model Error
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
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
Hello,
Please send me the file ..\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config to alexp*devart*com .
Please send me the file ..\Devart\EntityDAC\EntityDeveloper\EntityDeveloper.exe.config to alexp*devart*com .
-
- Posts: 44
- Joined: Wed 14 Nov 2012 17:33
Re: New Model Error
E-mailed yesterday
Thanks,
Flavio
Thanks,
Flavio
Re: New Model Error
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
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
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
<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
-
- Posts: 44
- Joined: Wed 14 Nov 2012 17:33
Re: New Model Error
Ok, it works!
Thanks,
Flavio
Thanks,
Flavio
Re: New Model Error
Glad to see that the issue was resolved. If you have any further questions, feel free to contact us