Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 部署报告显示错误_C#_Visual Studio 2008_Sql Server 2008 R2_Ssrs 2008 - Fatal编程技术网

C# 部署报告显示错误

C# 部署报告显示错误,c#,visual-studio-2008,sql-server-2008-r2,ssrs-2008,C#,Visual Studio 2008,Sql Server 2008 R2,Ssrs 2008,我的报告使用SSRS2008R2 我一直在本地环境中工作,部署到本地服务器没有问题。现在我想将所有报表部署到live server,但当我尝试通过更改目标服务器url并提供用户名和密码来部署到live server时。它显示了错误。(我从VS2008开始部署) 但是我可以通过提供凭据从本地机器浏览报表服务器。有人知道这个问题的解决方案吗?试试这个,应该会有很大帮助。还可以尝试使用SSRS服务器上的上载功能逐个上载报告 192.168.0.217真的是您的实时服务器吗?可能是,但检查IP是值得的。

我的报告使用SSRS2008R2

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


但是我可以通过提供凭据从本地机器浏览报表服务器。有人知道这个问题的解决方案吗?

试试这个,应该会有很大帮助。还可以尝试使用SSRS服务器上的上载功能逐个上载报告

192.168.0.217真的是您的实时服务器吗?可能是,但检查IP是值得的。你检查了端口是否被阻止了吗?我已经部署到live server和我的ST。这是一个示例IPT。这是为我的ST工作的,现在正在live server中尝试。非常感谢,当我在我的实时服务器上尝试这一点时,它没有起作用。那里的端口号是8080。现在它显示了相同的错误您的实时服务器是否与ST服务器位于同一个域中?另外,您是否尝试使用SSRS服务器本身而不是使用VS 2008上载SSRS报告。没有我们的ST在我们的网络中,live server在另一个域中。如何使用SSRS服务器本身上载SSRS报告?
===================================

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)