2016-02-12 159 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