繁体   English   中英

无法部署SSRS报告

[英]Cannot deploy SSRS report

当我想将Visual Studio的SSRS报告部署到Lan网络中的​​服务器时,出现此错误。

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()

您可能提供了错误的凭据,每当您将SSRS报告部署到要求用户名和密码的报告服务器时,帖子中的上述错误都表明您可能提供了错误的凭据。

用户名和密码必须正确才能访问报告服务器。

恕我直言, 报表服务器添加报表要容易得多!

使用上载文件选项。 上传文件

您可能需要检查以下几件事:检查您使用的URL是否正确,可以通过转到SQL Server Reporting Services(我相信您需要从其访问主机的管理员)来进行检查,然后转到网络服务URL部分:“ SQL Server Reporting Services配置管理器”>“ Web服务URL”>“ Report Server Web URL”

检查您是否可以通过浏览器连接到SSRS服务器,以及可以导航到要将报告上传到的位置。 您可以按BIDeveloper指出的那样手动添加报告。 如果失败,则您可能没有足够的权限用于您用于上载报告的帐户。

您将需要一个具有Content Manager / System Administrator SSRS角色的帐户,以授予您的帐户项目级别的权限,以查看/编辑/管理内容,如此处所述: https : //msdn.microsoft.com/zh-cn/library/ms156034 .aspx

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM