Oracle..data and DBFactoryProvider Deploy issues
Oracle..data and DBFactoryProvider Deploy issues
Dear all,
I've got some trouble deploying oracle.data on a productions machine using factory.
After reading other topics I've done following:
- Copied devart.data.dll and devart.data.oracle.dll to the app directory
- Added the following entry to the app.config:
I copied this line from my development machine.config file.
I checked the version of the dll, they are the same.
This will not work on the production machine.
DbProviderFactories.GetFactoryClasses() will give no Devart.Data.Oracle and will further lead to "factory provider not found".
But, if i include the entry into the machine.config of the production machine, everything's run fine.
Why is this not working with the app.config?
regards
I've got some trouble deploying oracle.data on a productions machine using factory.
After reading other topics I've done following:
- Copied devart.data.dll and devart.data.oracle.dll to the app directory
- Added the following entry to the app.config:
I copied this line from my development machine.config file.
I checked the version of the dll, they are the same.
This will not work on the production machine.
DbProviderFactories.GetFactoryClasses() will give no Devart.Data.Oracle and will further lead to "factory provider not found".
But, if i include the entry into the machine.config of the production machine, everything's run fine.
Why is this not working with the app.config?
regards
Hi Avanata,
does your app.config-section look like this?
The remove tag will be ignored if no devart provider is registered yet.
If your app.config looks like that, it should work.
If you work with certain functionality of Devart.Data.Oracle.Entity (e.g. OracleConnection) you also have to add the Devart.Data.Oracle.Entity.dll to your output.
Andi
does your app.config-section look like this?
Code: Select all
...
...
If your app.config looks like that, it should work.
If you work with certain functionality of Devart.Data.Oracle.Entity (e.g. OracleConnection) you also have to add the Devart.Data.Oracle.Entity.dll to your output.
Andi
Bonsahib, thank you for your answer.
Avanata, have you resolved the problem? For more information about deployment, please refer to http://www.devart.com/dotconnect/oracle ... yment.html.
Avanata, have you resolved the problem? For more information about deployment, please refer to http://www.devart.com/dotconnect/oracle ... yment.html.
I've allready read all the deployment informations.
My app.config looks like this:
I have copied the Devart.Data.Oracle.Entity.dll to the app folder
the effect ist the same as before - it will not work (provider is not found).
the only way to make it work is to include the settings into the machine.config
am I missing something simple here?
My app.config looks like this:
I have copied the Devart.Data.Oracle.Entity.dll to the app folder
the effect ist the same as before - it will not work (provider is not found).
the only way to make it work is to include the settings into the machine.config
am I missing something simple here?
dcuser, we have answered you in this thread: http://www.devart.com/forums/viewtopic.php?t=21401.