我需要您與ASP網站管理工具的幫助!我已經嘗試過這樣的:ASP網站管理工具:無法連接到SQL Server數據庫(安全選項卡)
Visual Studio 2013 and ASP.NET Web Configuration Tool
這
ASP.NET Website Administrator Tool in VS 2013
我也試圖卸載SQL Server,但什麼都沒有改變我仍然無法進入Web管理工具嗯,其實我!有,但現在我點擊安全選項卡,它會說它無法連接到SQL Server數據庫。
我的繼承人網絡連接字符串:
<connectionStrings>
<add name="SecurityDB" connectionString="Data Source=Ryan;Initial Catalog=SecurityDB;Integrated Security=True" providerName="System.Data.SqlClient"/>
與成員和角色
<authentication mode="Forms" />
<membership>
<providers>
<clear/>
<add
name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
connectionStringName="SecurityDB"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="false"
applicationName="/"
requiresUniqueEmail="false"
passwordFormat="Hashed"
maxInvalidPasswordAttempts="5"
minRequiredPasswordLength="9"
minRequiredNonalphanumericCharacters="0"
passwordAttemptWindow="10"
passwordStrengthRegularExpression=""/>
</providers>
</membership>
<roleManager enabled="true" defaultProvider="MyRoleProvider">
<providers>
<clear/>
<add
name="MyRoleProvider"
connectionStringName="SecurityDB"
applicationName="/"
type="System.Web.Security.SqlRoleProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
</roleManager>
和BTW我使用aspnet_regsql.exe的希望,它可能會幫助可惜也試過它沒有。我也檢查了machine.config,並且我剛剛複製了粘貼角色和成員資格塊,之後我更改爲connectionStringName爲我正在使用的那個(SecurityDB)。
運行該網站的用戶帳戶是否具有該數據庫的權限? – 2015-03-13 17:24:31
歡迎來到本網站。很難理解你的問題,以及它涉及的工具。我相信你會在Web Admin Tool中收到'無法連接到SQL Server數據庫'。你能否看看並至少編輯標題以更好地反映你所要求的內容。 – mins 2015-03-13 17:29:54
我如何檢查用戶是否具有在數據庫中的適當權限?我也檢查過,但我不知道去哪裏看:) – adikt3d 2015-03-13 21:51:41