简体   繁体   English

无法打开登录请求的数据库“MyBase”。 登录失败。 用户“域\用户”登录失败

[英]Cannot open database "MyBase" requested by the login. The login failed. Login failed for user 'domain\User'

string connectionString ="Server=localhost;Database=StudentRate;Trusted_Connection=True;Encrypt=False;";

I have problem with connection, general with user databases, I can't connection to any.我的连接有问题,一般是用户数据库,我无法连接到任何数据库。 Property of login and user . login 和 user 的属性 I try every way, but problem wasnt's solved.我尝试了各种方法,但问题没有解决。

Try尝试

Server=localhost;Database=StudentRate;Trusted_Connection=True;MultipleActiveResultSets=true

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法打开登录请求的数据库“test”。 登录失败。 用户 'Domain\\userid' 登录失败 - Cannot open database "test" requested by the login. The login failed. Login failed for user 'Domain\userid' 无法打开登录请求的数据库“ [数据库]”。 登录失败。 用户“ [User]”的登录失败 - Cannot open database “[Database]” requested by the login. The login failed. Login failed for user '[User]" 无法打开登录请求的数据库“身份”。 登录失败。 用户“DESKTOP\User”登录失败 - Cannot open database “Identity” requested by the login. The login failed. Login failed for user 'DESKTOP\User' 无法打开登录请求的数据库“ gainpeace”。 登录失败。 用户“ MALIK \\ ASPNET”的登录失败 - Cannot open database “gainpeace” requested by the login. The login failed. Login failed for user 'MALIK\ASPNET' 无法打开登录请求的数据库“ dbname”。 登录失败。 用户“ machinname \\ username”的登录失败 - Cannot open database “dbname” requested by the login. The login failed. Login failed for user “machinname\username” 无法打开登录请求的数据库。 登录失败。 用户“ NT AUTHORITY \\ SYSTEM”的登录失败 - Cannot open database requested by the login. The login failed. Login failed for user 'NT AUTHORITY\SYSTEM' 无法打开登录请求的数据库“Life”。 登录失败。 用户登录失败 - Cannot open database "Life" requested by the login. The login failed. Login failed for user 无法打开登录请求的数据库“Test”。 登录失败。 用户'sa'登录失败 - Cannot open database “Test” requested by the login. The login failed. Login failed for user 'sa' 无法打开登录请求的数据库“”。 登录失败。 用户“ sa”的登录失败 - Cannot open database “” requested by the login. The login failed. Login failed for user 'sa' 无法打开登录请求的数据库“databaseName”。登录失败。用户登录失败 - Cannot open database “databaseName" requested by the login. The login failed. Login failed for user
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM