部署报告显示错误

本文关键字:错误 显示 报告 部署 | 更新日期: 2023-09-27 18:35:14

我正在使用SSRS 2008 R2进行报告。

我一直在本地环境中工作,部署到本地服务器没有问题。现在,我想将所有报表部署到实时服务器,但是当我尝试通过更改目标服务器 url 然后提供用户名和密码来部署到实时服务器时。它显示错误。(我从VS 2008部署)

===================================
Could not connect to the report server http://192.168.0.217/ReportServer. Verify that the TargetServerURL is valid and that you have the correct permissions to connect to the report server. (Microsoft SQL Server Report Designer)
===================================
The underlying connection was closed: An unexpected error occurred on a receive. (System.Web.Services)
------------------------------
Program Location:
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.SqlServer.ReportingServices2006.ReportServiceAuthentication.GetAuthenticationMode()
   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()
===================================
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System)
------------------------------
Program Location:
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
===================================
An existing connection was forcibly closed by the remote host (System)
------------------------------
Program Location:
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

但是我能够通过提供凭据从本地计算机浏览报表服务器。有人知道这个解决方案吗?

部署报告显示错误

试试这个,应该会有很大帮助。此外,请尝试查看是否能够使用 SSRS 服务器本身上的上传工具逐个上传报表http://www.sqlservercentral.com/Forums/Topic1135602-150-1.aspx#bm1135709