SQL Server connection string problems

前端 未结 3 1420
没有蜡笔的小新
没有蜡笔的小新 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 05:18

    You should "Database" rather than "AttachDbFileName" as it is not recommended for production servers.

    Hence your connection string should be:

    
    
    
    
    

提交回复
热议问题