This is a migrated thread and some comments may be shown as answers.

[Solved] RadScheduler using WebService through SSL = WebException

1 Answer 187 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 12 Nov 2009, 05:39 PM
I am using the Q1 2009 version of the ASP.NET AJAX RadControls and we have created a calendar that heavily uses the RadScheduler.  The site works on the server when you visit it locally or remotely via the IP, but when we try to access it using the SSL address that runs through our hardware load balancer it will not work.  We have a previous version of the same application that works and the main difference between the two is the use of the WebService to populate the data in the RadScheduler. 

The error that we get when attempting to access the new website:  

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 ###.###.###.170:443

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: 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 ###.###.###.170:443

Similarly, we get a WebException in the event viewer that states:

Exception information:
    Exception type: WebException
    Exception message: Unable to connect to the remote server
 
Request information:
    Request URL: https://est01.esalestrack.com/oasis/default.aspx
    Request path: /oasis/default.aspx
    User host address: ###.###.###.###
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 8
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Net.WebClient.UploadDataInternal(Uri address, String method, Byte[] data, WebRequest& request)
   at System.Net.WebClient.UploadString(Uri address, String method, String data)
   at System.Net.WebClient.UploadString(String address, String method, String data)
   at Telerik.Web.UI.SchedulerWebServiceClient.GetResources()
   at Telerik.Web.UI.RadScheduler.BindResourcesFromWebService()
   at Telerik.Web.UI.RadScheduler.PerformSelect()
   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
   at Telerik.Web.UI.RadScheduler.EnsureDataBound()
   at Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource)
   at Telerik.Web.UI.RadScheduler.CreateChildControls()
   at System.Web.UI.Control.EnsureChildControls()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
Any help is greatly appreciated. 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Nov 2009, 12:32 PM
Hello Anthony,

When binding to a Web Service the scheduler will call it from the server to obtain a list of resources (from the GetResources method). This is only needed when using resource grouping otherwise the resources can be loaded from the client too. You can disable the server loading of resources by setting:

<telerik:RadScheduler runat="server" ...>
<WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ClientSide" />
</telerik:RadScheduler>

If you are using resource grouping then please verify that the configured web service URL is accessible from the server that hosts the page.


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
Anthony
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or