none
Unable to Reference TableAdapters in VS2008 RRS feed

  • Question

  • I am stuck with VS2008 trying to work with multiple TableAdapters in my DataSet in my project. Currently I have 5 table adapters in my project and they all work fine. However, when I go to create a new TableAdapter, I go through the TableAdapter Configuration Wizard to  create the TableAdapter and everything completes normally. I can even query and see the results properly in the wizard.

    The problem is when I go to use the TableAdapter ('DataTable1TableAdapter'), it is not visible in Intellisense, IOW, I can not reference it in my code to use it! If I right click on it and select Preview Code I get the error msg.

        An unexpected error has occurred. Please record the following message when seeking support from Microsoft:

        Source:Microsoft.VSDesigner
        ErrorCode:-1
        Additional Info:

        [note: when I click Help it takes me to a 'Information Not Found' page]

    The table does have a primary key defined - I checked all that.

    Thank you for any ideas/suggestions!!!

    Warren
    VS2008 SP1/.NET 3.5 SP1
    SQL 2008


    warren
    • Moved by Barclay Hill Tuesday, June 22, 2010 10:12 PM More appropriate forum (From:Visual Studio Database Development Tools (Formerly "Database Edition Forum"))
    Friday, June 11, 2010 3:18 PM

All replies