cannot be opened because it is version 706. This server supports version 662 and earlier. A downgrade path is not supported

后端 未结 2 1456
無奈伤痛
無奈伤痛 2020-12-12 01:32

When i am trying to run my website (with aspx) this problem comes up:

An exception of type \'System.Data.SqlClient.SqlException\' occurred in System

相关标签:
2条回答
  • 2020-12-12 02:05

    If you’re trying to attach to a local db use LocalDb (since vs2012, sql2012), ie:

    Data Source=(LocalDB)\v11.0;AttachDbFilename= (etc)
    
    0 讨论(0)
  • 2020-12-12 02:14

    Looks like the Database.mdf file was created with a later version of SQL Server Express (2012) than the one installed on the server (2008). Upgrade the server with the latest version of SQL Server Express.

    0 讨论(0)
提交回复
热议问题