所以這是我第一個推出Azure用戶的web應用程序,所以我對此有點新。 我終於設法讓AD身份驗證正常工作,但現在一旦用戶登錄後,他們就無法訪問「管理您的帳戶」選項卡,這些選項卡會在您生成通常在/ accounts/*目錄。Azure Web服務管理你的accout鏈接給出的錯誤:26 - 錯誤定位服務器/實例指定)
當那他們引導到/帳戶上的廣告名稱,用戶點擊/管理頁面,他們將得到這個錯誤:
A network-related or instance-specific error occurred while establishing a
connection to SQL Server. The server was not found or was not accessible.
Verify that the instance name is correct and that SQL Server is configured to
allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
,當我在我的機器上本地運行的應用程序這一過程工作完全正常,但不是在使用AD帳戶信息時。
我的問題是爲什麼它這樣做?我可以在哪裏修復它?
檢查您的數據庫連接字符串。 – juunas
這是我第一次想到的,但我找不到在/ Accounts/*目錄中找到的連接字符串。 – Sudosu0