CodeSmith Community
Your Code. Your Way. Faster!

Trouble with TablePicker - no tables!

Latest post 10-09-2006 9:10 PM by Terrence. 2 replies.
  • 10-08-2006 10:23 PM

    • Terrence
    • Not Ranked
    • Joined on 10-09-2006
    • Posts 3
    • Points 45

    Trouble with TablePicker - no tables!

    <%@ Property Name="SourceTable" Type="SchemaExplorer.TableSchema" Category="Context" Description="Table that the object is based on." %>

    Magically, this morning I no longer get a list of tables when I select my SQL Server 2005 Database.  I have been burning code from Codesmith for years and I promise I didn't do anything to my database or the codesmith install yesterday.

    I have tested the connection and it works, the database shows up, but no tables are listed. 

     I have uninstalled Codesmith 3.2 and reinstalled it and it still doesn't show tables.  I have tried this on my laptop and nothing.  I have created new databases and nothing, no listing of tables after I have selected my database.

     Any ideas on what has changed in my system?

    Thanks.

    Terrence

    • Post Points: 35
  • 10-09-2006 3:45 PM In reply to

    Re: Trouble with TablePicker - no tables!

    Try it this Friday. It's friday the 13th. I would try opening the XML template file and resaving as a different filename and then close and open the new xml file. This is the only thing I've done in past if something is missing. The only, probably unrelated, I know when you add tables to a DB, you have to close and reopen codesmith with template to see new tables listed and so they are recognized to be generated.
    ------------------- rob_nettiers -------------------
    • Post Points: 35
  • 10-09-2006 9:10 PM In reply to

    • Terrence
    • Not Ranked
    • Joined on 10-09-2006
    • Posts 3
    • Points 45

    Re: Trouble with TablePicker - no tables!

    Thanks for your reply Rob.  I am not sure what XML file you are talking about.  All of my templates are .cst files.  If you are talking about the xml files in the install directory, I have uninstalled and installed many times and on different computers.  I feel it must be something in my database, but then again, when I add another database codesmith still does not populate the tables of the database.

     Any other ideas?

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