部署报告会显示错误

时间:2012-05-25 09:36:57

标签: c# visual-studio-2008 sql-server-2008-r2 ssrs-2008

我正在使用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)

但我可以通过提供凭据从本地计算机浏览报表服务器。有谁知道解决这个问题?

1 个答案:

答案 0 :(得分:2)

试试这个,应该主要帮助。还可以尝试查看是否可以使用SSRS服务器本身的上载工具逐个上载报告 http://www.sqlservercentral.com/Forums/Topic1135602-150-1.aspx#bm1135709