The designer encountered an error while loading the table definition?

前端 未结 9 1272
执笔经年
执笔经年 2021-02-06 00:43

I\'ve problem with Visual Studio 2012 Ultimate.

I inserted a \"Sql Server Database\", and when I try to \"Add new table\" after a while I get this problem

9条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-06 01:06

    Follow these steps:

    1. Right click on Data Connection
    2. Click Add Connection
    3. Select your Data Source
    4. Browse to the existing database file on your system (e.g. C:\Users\pcname\Documents\databasefile.mdf)
    5. Click on Test Connection
    6. If connection succeeded then problem should be solved, otherwise try it after restarting Visual Studio

提交回复
热议问题