在线等:reporting service错误:由于套接字没有连接 发送或接收数据的请求没有被接受

dongpo1 2008-12-01 04:05:02
在生成报表的时候出现以下错误,服务器上装的有瑞星防火墙,出现这个错误的时候,一登录服务器操作系统,就没事了,很奇怪


“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。 XX.XXX.XX.xXX:80
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.Sockets.SocketException: 由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。 XX.XXX.XX.xXX:80

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[SocketException (0x2749): 由于套接字没有连接并且(当使用一个 sendto 调用发送数据报套接字时)没有提供地址,发送或接收数据的请求没有被接受。 59.108.227.116:80]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +1073657
System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP) +33
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +217

[WebException: 无法连接到远程服务器]
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.GetSecureMethods() +212
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.IsSecureMethod(String methodname) +42
Microsoft.SqlServer.ReportingServices2005.Execution.RSExecutionConnection.LoadReport(String Report, String HistoryID) +131
Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +118
Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +67
ReportManage_Report_Contract_resign.Button1_Click(Object sender, EventArgs e) +380
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +

...全文
722 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
寒勿语 2012-04-09
  • 打赏
  • 举报
回复
寻求解决办法
rachelshao 2009-11-02
  • 打赏
  • 举报
回复
我也遇到了同样的问题,不知道楼主的问题解决了没有呀?解决了就在此告诉下小妹呀~~~
dongpo1 2008-12-03
  • 打赏
  • 举报
回复
自己顶
难得胡涂 2008-12-02
  • 打赏
  • 举报
回复
应该是你本机跟RS服务器之间的信任链接问题
filec75 2008-12-02
  • 打赏
  • 举报
回复
不懂,帮顶
dongpo1 2008-12-02
  • 打赏
  • 举报
回复
this.ReportViewer1.ProcessingMode = ProcessingMode.Remote;
ServerReport serverReport = ReportViewer1.ServerReport;

serverReport.ReportServerUrl = new Uri(ConfigurationManager.AppSettings["ReportServerUrl"]);
serverReport.ReportServerCredentials = MyReportViewerCredential.getcredenti();

是这么链接的 ,难道有错误吗

6,108

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 数据库报表
社区管理员
  • 数据库报表社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧