2016-08-11 99 views
-2

每次嘗試在Reporting Services表單身份驗證中註冊新用戶時,都會收到跟隨錯誤。我不知道如何擺脫它。我遵循here的步驟。連接字符串在報告服務中無效SQL Server 2012

錯誤信息是:

An error occurred while attempting to add the account. 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: 25 - Connection string is not valid)

任何溶液?

+1

修復您的連接字符串! – Kinetic

+1

向我們顯示您的連接字符串 – CodeNotFound

+0

SqlConnection( 「Server = SERVERNAME \\ MSSQLSERVER;」+ 「Integrated Security = SSPI;」+ 「database = UserAccounts」)。 – LittleBirdy

回答

0

您的連接字符串不正確。如果您有疑問,請使用除程序之外的其他工具進行測試。首先要檢查的是服務器是否實際可訪問,因爲消息指出The server was not found or was not accessible

+0

事實上,我不允許通過Windows身份驗證或表單身份驗證通過SSMS連接到報告服務。我在報表配置管理器中的擴展部署未加入任何服務器。 – LittleBirdy

+0

也許你的網絡管理員應該爲你解決這個問題。 –

+1

我已經使用udl測試過連接,而且succeed.t非常簡單,我必須創建一個新的報表服務器數據庫,並在擴展部署中加入服務器。 – LittleBirdy