CodeSmith Community
Your Code. Your Way. Faster!

errors after regeneration

Latest post 06-12-2008 9:33 AM by Donzella. 4 replies.
  • 06-11-2008 3:26 PM

    • Donzella
    • Top 500 Contributor
    • Joined on 02-12-2008
    • Dallas, TX
    • Posts 19
    • Points 575

    errors after regeneration

    Does anyone else have issues with getting errors from the Nettiers after regeneration? Sometimes I start getting such and such "does not have an implementation" errors after generating and have to go back and generate again and the errors will go away usually after generating the 2nd time.  This makes me extremely leary of regenerating everytime it comes along because I always worry that something will be broken after regenerating. Anyone else know what I am talking about?

    Donzella
    Filed under: ,
    • Post Points: 35
  • 06-11-2008 3:47 PM In reply to

    • vbandrade
    • Top 25 Contributor
    • Joined on 09-27-2007
    • Brasil
    • Posts 249
    • Points 6,345

    Re: errors after regeneration

    That happened to me couple of times, usually when I changed the database and didn´t refresh .netTiers source tables... what I started doing was to finish any database changes and then open CodeSmith.

    Also, make sure the folder you´re generating to is not read-only. I´ve had some problems with that as well. 

    • Post Points: 35
  • 06-11-2008 4:11 PM In reply to

    • Donzella
    • Top 500 Contributor
    • Joined on 02-12-2008
    • Dallas, TX
    • Posts 19
    • Points 575

    Re: errors after regeneration

    Something else I've run into is that if a table name has an underscore ( _ )  in the name, and you try to create custom stored procedures, the underscore really messes things up. Sometimes it creates a method in more than one table (if the name in front of the underscore is also the name of another table) and sometimes it just puts it in the wrong place completely. I hate underscores in table names and this particular table structure was inherited from a previous developer. We are reworking this database the last half of this year but right now is it a pain in my behind.

    Donzella
    • Post Points: 35
  • 06-12-2008 6:52 AM In reply to

    • swin
    • Top 10 Contributor
    • Joined on 06-14-2006
    • London, UK
    • Posts 924
    • Points 34,750

    Re: errors after regeneration

     Have you seen the mapping file or alias options in the generation as they may be able to help you with regards renaming your tables.

    hth

    swin 

    ------------------------------------------------- Member of the .NetTiers team -------------------------------------------------
    • Post Points: 35
  • 06-12-2008 9:33 AM In reply to

    • Donzella
    • Top 500 Contributor
    • Joined on 02-12-2008
    • Dallas, TX
    • Posts 19
    • Points 575

    Re: errors after regeneration

    Oh, mapping file. I honestly did not really know what that was for. I will look into that. Thanks! 

    Donzella
    • Post Points: 5
Page 1 of 1 (5 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems