无法打开登录所请求的数据库,查了N久
各位路过的大侠,请帮忙看一下。
查过TCP/IP 设置了,防火墙关了,用查询分析器测试rojank654y6k9是可以登陆的,但放在网站上就不正常了,不知哪里有问题?
Server Error in '/' Application.
无法打开登录所请求的数据库 "rojank654y6k9"。登录失败。
用户 'rojank8u59' 登录失败。
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: 无法打开登录所请求的数据库 "rojank654y6k9"。登录失败。
用户 'rojank8u59' 登录失败。
Source Error:
Line 86: public DataTable Bind(string sql, Repeater repList, AspNetPager pager)
Line 87: {
Line 88: DataTable dt = Whir.Common.IBatisDbHelper.ExecuteDataset(CommandType.Text, sql).Tables[0];
Line 89: PagedDataSource pds = new PagedDataSource();
Line 90:
Source File: d:\wwwroot\rojank\App_Code\BasePage.cs Line: 88