Sunday, February 05, 2012
Support » Support Forum
Register Login
HomeWhat is NDO?- Executive Overview- NDO for DevelopersHow NDO Works- Persistent Classes- Mapping- Queries- Reverse Engineering- Inheritance, Polymorphism- Distributed ApplicationsLicensingSupport- Support Forum- FAQ- Solutions- Downloads- E-Mail Support- Tutorial VideosOnline ShopContact
Welcome to the NDO support forum!
Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender. Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts. The forum software requires that javascript is enabled. Please do not insert licence information or licence keys in forum posts. If you know a good answer to a post of another user, feel free to reply! The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.
Hi Bodo,
the string Provider=SQLOleDb shouldn't appear in the connection string. Perform the following steps:
1. Choose SqlServer in the Sql Dialect ComboBox.2. Open the Connection Dialog with pressing the button "..." to connect to an existing database or "New" to create a new database. If you create a new database, you get a Connection Dialog too. Leave the Database EditBox in the Connection Dialog empty.
I think, the wrong connection string appeared, because you chose a SqlServer connection string while the Sql Dialect ComboBox was set to "Access".
Best RegardsMirko
sorry for the late answer, I was at a business trip and didn't have any time to respond the questions in the forum.
NDO takes the default connection string from the configuration and inserts it as "C0" connection to the mapping file. If you change the default connection string after NDO inserted the "C0" connection, NDO will insert the new string as "C1" connection. But all classes will further use the "C0" connection.
In this case you have to take a look at the NDOMapping.xml and make sure, the correct connection string is used. I use to delete the NDOMapping.xml and let it rebuild by NDO to always have the current connection string available. But this applies only for mappings not having any hand coded changes like ColumnLength entries.