我已经创建了一个Windows应用程序,但是却出现此错误:
Cannot open database "dataname" requested by the login. The login failed. Login failed for user.
使用集成的SQL Server身份验证。
我的连接字符串是
Dim ConStr As String = "Server=192.168.36.72 ; Database=Library;User ID=sa;pwd=scc1234*;Trusted_Connection=True; Integrated security=sspi;"
最佳答案
在程序包管理器控制台中
add-migration first
update-database
关于sql-server - 无法打开登录名请求的数据库 “dataname"。登录失败。用户登录失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59299810/