无法打开数据库"myDB";登录要求. [英] Cannot open database "myDB" requested by the login.

查看:190
本文介绍了无法打开数据库"myDB";登录要求.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在plesk上上传了我的网站(通过?),并出现以下错误:登录名请求无法打开数据库"myDB".登录失败.
用户"CL-T088-432CN \ IWPD_173( hamshahris )"的登录失败."

说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息.

异常详细信息:System.Data.SqlClient.SqlException:无法打开登录请求的数据库"myDB".登录失败.
用户''CL-T088-432CN \ IWPD_173(hamshahris)''登录失败.


我没有这个名称的用户.
我该怎么办?

I uploaded my website (via?) on plesk and get this error: "Cannot open database "myDB" requested by the login. The login failed.
Login failed for user ''CL-T088-432CN\IWPD_173( hamshahris )''."

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Cannot open database "myDB" requested by the login. The login failed.
Login failed for user ''CL-T088-432CN\IWPD_173(hamshahris)''.


I dont have any users with this name.
What should I do?

推荐答案

您可能会知道.它可以是IIS用于访问数据库的默认匿名帐户.

检入IIS:身份验证"选项卡.

您需要确保配置正确并且允许ASPNET用户访问.或者,您可以使用模拟来提供访问权限.
Well you might have. It can be the default Anonymous account that your IIS is using in order to access the database.

Check in the IIS: Authentication tab.

You need to make sure that the configuration is appropriate and you allow ASPNET user to access. Or you can use Impersonation in order to provide access priviledge.


这篇关于无法打开数据库"myDB";登录要求.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆