Unanswered data generation plan dgen file not saving

  • Saturday, April 07, 2012 10:39 AM
     
     
    I have database project with a data generation plan file name xyz.dgen . 
    i made  xyz.dgen file settings changed and clicked generate data it worked fine. But the problem is when i close the xyz.dgen file and reopen it the changed settings vanished. 
    But i want to keep the previous changes i made to the xyz.dgen file every time i open. 
    Any Solution will be highly recommended.

    jahirhstu

    • Moved by Forrest GuoModerator Monday, April 09, 2012 9:04 AM database project (From:.NET Framework Setup)
    •  

All Replies

  • Saturday, April 07, 2012 10:50 AM
     
     
  • Monday, April 09, 2012 9:02 AM
     
     

    Hi Jahirhstu,

    Welcome to the MSDN forum.

    Do you mean that when you can not save the changes to your xyz.dgen file? Both "Ctrl+S" and File-> Save xyz.dgen can not save your files? If so, it is a Visual Studio setting error and you may try these steps to reset Visual Studio:

    steps to see if these can help and then show us more details:

    1. Open Visual Studio Command Prompt (2010) under Start menu -> All Programs -> Microsoft Visual Studio 2010  -> Visual Studio Tools (run it with Administrator privilege: right-click the program -> Run as administrator);
    2. Try some devenv switches in command prompt:
      1. Run devenv /Resetsettings to eliminate the cause of corrupted settings.
      2. Run devenv /ResetSkipPkgs in Command Prompt.
      3. Run devenv /Safemode to see if you can apply it correctly. This can eliminate the possibility that third party Add-ins or packages are causing problems.
    3. Reboot the machine in Safe Mode. This can isolate some third party application/driver's interference.
    4. Switch and try a new user account. This can rule out the possibility of corrupted user profile.

    If not so, please try to save your files before you close it.

    Thanks,


    Barry Wang [MSFT]
    MSDN Community Support | Feedback to us

  • Monday, April 09, 2012 10:08 AM
     
     

    Thanks Barry,

    No the problem is not what you are thinking about.

    xyz.dgen saved successfully.

    if i closed the xyz.dgen file and open again it doesn't show the saved changes.

    Suppose :

    I have a custom generator named : ForeignKeyCustomGenerator

    I changed one of my table foreign key column Generator(Default ForeignKey)  to ForeignKeyCustomGenerator.

    I saved the xyz.dgen file and closed.

    If i opened the file again the foreign key column set to default Generator(ForeignKey) instead of ForeignKeyCustomGenerator. But i don't want that.


    jahirhstu

  • Wednesday, April 11, 2012 3:29 AM
    Moderator
     
     

    Hi,

    Would you please send this feedback to Microsoft connect website? product team will evaluate it carefully.

    Refer to: http://connect.microsoft.com/VisualStudio/


    Forrest Guo | MSDN Community Support | Feedback to manager