deployment issue with vs 2008 c# and dotconnect
Posted: Tue 05 Jan 2010 12:40
I am looking to see how to create the deployment files for a c# project.
The app works fine on the development m/c's.
When a deployment version is created the app complains that it is unable to find the provider.
I have found to ref's on the forum that I hoped would help. One in MySQL and one in this forum. The posting refers to adding into App.Config code like
I had no system.data section to start with and so it is in the section.
When added to App.config the development PC fails to run the app with the error: InvariantName is constrained to be unique Devart.Data.PostreSql is already present. Creating a different InvariantName doesn't help the deployment creation.
Automatically created in the App.config is a section within the section. It is as follows
I cannot find any relevant documentation to the structure of this file and I don't want to mess around with this too much without knowing the syntax & grammar.
Can anyone point me in the right direction please.
Can I create an App.Config that works for both deployment and development machines or do I need one for each?
Thanks
The app works fine on the development m/c's.
When a deployment version is created the app complains that it is unable to find the provider.
I have found to ref's on the forum that I hoped would help. One in MySQL and one in this forum. The posting refers to adding into App.Config code like
I had no system.data section to start with and so it is in the section.
When added to App.config the development PC fails to run the app with the error: InvariantName is constrained to be unique Devart.Data.PostreSql is already present. Creating a different InvariantName doesn't help the deployment creation.
Automatically created in the App.config is a section within the section. It is as follows
I cannot find any relevant documentation to the structure of this file and I don't want to mess around with this too much without knowing the syntax & grammar.
Can anyone point me in the right direction please.
Can I create an App.Config that works for both deployment and development machines or do I need one for each?
Thanks