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 Michael
we're investigating in this phenomen. I'll come back to you as soon as we can reproduce the failure and have a possible workaround.
Mirko
Hi Michael,
we found the cause of the problem. If you check the "Generate Sql File" option in the NDO configuration, NDO will generate two .sql script files in the executable directory of your project. After enhancement NDO tries to incorporate the files into the project to allow easier access to this files using the Solution Explorer. NDO looks, if the files exist in the current project. If that's not the case, NDO adds the files to the project. Due to a changed behavior of VS 2005 SP1 NDO can't detect, that the files already exist in the project. The attempt to add an already existing file to the project leads to the error.
Workaround:
Uncheck the "Generate Sql File" option in the NDO configuration dialog. If you need the .sql scripts, do the following:
1. Check the option temporarily.2. Make sure to delete the two files in the Solution Explorer.3. After a rebuild the newest version of the files will be available in the Solution Explorer.4. Uncheck the option.
We'll write a fix for the issue and publish it as soon as possible.
Best Regards:Mirko