错误--->;ASP.net网站管理工具。请帮助我可以';不创建角色、用户等

错误--->;ASP.net网站管理工具。请帮助我可以';不创建角色、用户等,asp.net,Asp.net,无法连接到SQL Server数据库。在ASP.security\u roles\u manageallroles\u aspx.BindGrid()在ASP.security\u roles\u manageallroles\u aspx.Page\u Load()在System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp,Object o)在System位于System.Web.UI.Control.OnLoad(EventArg

无法连接到SQL Server数据库。在ASP.security\u roles\u manageallroles\u aspx.BindGrid()在ASP.security\u roles\u manageallroles\u aspx.Page\u Load()在System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp,Object o)在System位于System.Web.UI.Control.OnLoad(EventArgs e)处System.Web.UI.Control.LoadRecursive()处System.Web.UI.Page.ProcessRequestMain(布尔includeStagesBeforeAsyncPoint,布尔IncludeStagesSafterAsSyncpoint)处System.Web.Util.CalliEventHandlerDelegateProxy.Callback(对象发送者,EventArgs e)

没什么可谈的。 我想说,您需要检查到SQL数据库的连接字符串——因为错误消息说它无法连接

这意味着以下情况之一是正确的:

  • 没有连接字符串
  • 预期位置没有SQL Server(错误的连接字符串)
  • SQL server的登录详细信息不正确,因此连接被拒绝
  • SQL Server未运行
  • 检查以上所有内容。 尝试使用VisualStudioServerExplorer或SQLServerManagementStudio共同连接到数据库。
    如果通过使用服务器资源管理器中的拖放添加了数据库访问,则需要使用它重新定位数据库并刷新数据对象。

    Scott Guthrie对配置成员资格提供程序有详细说明。如果不使用默认的SQL express数据库,请确保遵循数据库的安装说明。

    请更深入地描述您的问题。不清楚你试过什么。