Search   

Sunday, February 05, 2012

Support » Support Forum

Register  Login

 Menu  
 
    

 Welcome!  
 


Welcome to the NDO support forum!

kreis.gif 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.
kreis.gif 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.
kreis.gif The forum software requires that javascript is enabled.
kreis.gif Please do not insert licence information or licence keys in forum posts.
kreis.gif If you know a good answer to a post of another user, feel free to reply!
kreis.gif The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.

   Print   

      
 NDO Support Forum  
 
SearchForum Home
  NDO-Forum postings in english please, if possible.  Developing with NDO  Visual Studio S...
 Visual Studio SP1
 
 11/2/2006 8:03:47 AM
michael
5 posts


Visual Studio SP1
Hallo Mirko! After the installation of SP1 for Visual Studio I get the error message ------ Build started: Project: NDOTestSP1, Configuration: Debug Any CPU ------ NDOTestSP1 -> D:\Daten\TestProjekte\NDOTestSP1\NDOTestSP1\bin\Debug\NDOTestSP1.exe NDO: 10.01.2006 (V. 1.2) SP 1 Saving mapping file Generating schema file Generating sql file Enhancer ready *** Enhancer Add-in Error: *** Attempted to read or write protected memory. This is often an indication that other memory is corrupt. This is possibly a follow-up error. Look at error messages above this line. ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== Build failed Looking forward to hear from you Yours sincerly Michael
 11/6/2006 2:33:21 PM
Mirko
109 posts
5th


Re: Visual Studio SP1

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

 11/7/2006 5:18:02 PM
Mirko
109 posts
5th


Re: Visual Studio 2005 SP1 - Workaround
 Modified By Mirko  on 11/7/2006 6:18:28 PM)

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

  NDO-Forum postings in english please, if possible.  Developing with NDO  Visual Studio S...
  SearchSearch  Forum HomeForum Home