2016-02-12 142 views
0

當我想從Visual Studio部署SSRS報告到我局域網中的服務器時,出現此錯誤。無法部署SSRS報告

Could not connect to the report server http://10.42.7.14/ReportServer_MSDEV. 
Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server. 

At Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol() 
at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper1.ExecuteMethod(Boolean setConnectionProtocol) 
at Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes() 
at ReportServiceClient2010.CheckAuthenticated() 
at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ICredentials credentials, String& authCookieName, Cookie& authCookie, EndpointType& endpointType) 
at Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(String url, ConnectionProperties& connectionProperties) 
at Microsoft.ReportDesigner.Project.ReportClientManager.GetCredentials(String url, CancelFlag cancelFlag) 
at Microsoft.ReportDesigner.Project.ReportProjectDeployer.PrepareDeploy() 
+0

你應該能夠把該確切地址在瀏覽器中並從SSRS服務器的根目錄中取回「文件夾列表」。它是否與您嘗試部署的地址一起工作? –

+0

是的,我可以通過瀏覽器訪問地址 –

回答

0

你可能會得到錯誤的憑據,當你部署到報告服務器您的SSRS報告它要求用戶名和密碼,在您的文章上述錯誤表明,你可能會得到錯誤的憑據。

用戶名和密碼必須正確才能訪問您的報告服務器。

0

這是更容易恕我直言添加報告報告服務器!

使用上傳文件選項。 Upload File

0

可能有幾件事你可以檢查: 檢查你使用的URL是正確的,你可以通過去SQL Server Reporting Services檢查這個(我相信你需要管理員在你正在訪問的主機上)並轉到Web服務URL部分: SQL Server報表服務配置管理器> Web服務URL>報表服務器Web URL

檢查,你可以通過瀏覽器連接到SSRS服務器,並且可以導航到該位置,您將要上傳報告。您可以手動添加BIDeveloper指出的報告。如果失敗,您可能對您用於上傳報告的帳戶沒有足夠的權限。

你需要有任何的Content Manager /系統管理員帳戶SSRS角色授予您的帳戶項目級權限查看/編輯/管理內容的規定在這裏: https://msdn.microsoft.com/en-us/library/ms156034.aspx