SQL Server connection string problems

前端 未结 3 1425
没有蜡笔的小新
没有蜡笔的小新 2021-01-28 04:24

I am trying to have access to my project from the browser, I have put it on my server .

My database is on SQL Server 2008 R2 .

When I try to login I have always

3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-28 04:59

    The AttachDbFileName= feature is available ONLY in the SQL Server EXPRESS edition. It is NOT compatible and supported on a "full" SQL Server installation.

    If you have a full SQL Server, you have to attach your database to the SQL Server instance, and then reference it by its (logical) database name - not the physical file name:

    
      
     
    

提交回复
热议问题