无法打开登录请求的数据库“lolo2013_db1.mdf”。登录失败 [英] Cannot open database “lolo2013_db1.mdf” requested by the login. The login failed

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

问题描述

上传后,当我尝试浏览我的网站时,我收到此错误



after uploading when i try to browse my website I get this error

Server Error in '/lolo2013' Application.
Cannot open database "lolo2013_db1.mdf" requested by the login. The login failed.
Login failed for user 'DOTNETSPIDER1\lolo2013'.
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 "lolo2013_db1.mdf" requested by the login. The login failed.
Login failed for user 'DOTNETSPIDER1\lolo2013'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.



我该如何解决?


how can I solve it?

推荐答案

您好,您的用户/密码错误或您没有权限。错误在这里很清楚。



编辑:参见 [ ^ ]论坛帖子。



问候
Hi, your user/password are wrong or you haven't got permissions there. Error is very clear here.

See this[^] forum thread.

Regards


我找到了解决方案

初始目录需要不带扩展名的数据库名称.mdf
I found the solution
Initial Catalog requires the name of a database without extension .mdf


这篇关于无法打开登录请求的数据库“lolo2013_db1.mdf”。登录失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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