我有一个带有 Web 服务绑定设置的 radscheduler,就像网站上的演示一样。它在我的本地机器上运行良好,在我的本地 Intranet 服务器上也运行良好。当我将它部署到公共服务器时,我收到以下错误(堆栈跟踪):
[SocketException (0x274c): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 50.62.137.146:443]
System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) +305
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +699
[WebException: Unable to connect to the remote server]
System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request) +3298576
System.Net.WebClient.UploadString(Uri address, String method, String data) +319
Telerik.Web.UI.SchedulerWebServiceClient.LoadResources(WebClient client, ResourcesPopulatingEventArgs args) +267
[Exception: Unable to retrieve response message]
Telerik.Web.UI.SchedulerWebServiceClient.HandleWebException(WebException webEx) +311
Telerik.Web.UI.SchedulerWebServiceClient.LoadResources(WebClient client, ResourcesPopulatingEventArgs args) +364
Telerik.Web.UI.SchedulerWebServiceClient.GetResources() +421
Telerik.Web.UI.RadScheduler.BindResourcesFromWebService() +90
Telerik.Web.UI.RadScheduler.PerformSelect() +117
Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +81
System.Web.UI.Control.EnsureChildControls() +182
System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +35
Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root) +211
Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root) +283
Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root) +283
Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root) +283
Telerik.Web.ChildControlHelper.FindControlRecursive(String ID, Control root) +283
Telerik.Web.UI.RadAjaxControl.OnPagePreRender(Object sender, EventArgs e) +1450
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.PreRenderRecursiveInternal() +113
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201
这只发生在我使用 ResourcePopulationMode="ServierSide" 时。当我将其更改为 ClientSide 时,它可以工作并且 Web 服务被正确调用。我正在使用提琴手来查看。我想使用分组但是不能使用 ClientSide。为什么会出现这个错误?我需要在服务器上进行一些配置设置以使 GetReources 方法正常工作吗?任何帮助将不胜感激:)谢谢