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

Scheduler With Web Service Error when loading

4 Answers 146 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ekjot
Top achievements
Rank 1
Ekjot asked on 20 Aug 2013, 12:56 AM
Hello

I have a radscheduler with web service binding set up like the demo on the website. It is working fine on my local machine and also working fine on my local intranet server. When I deployed it to the public server I am getting the following error (Stack trace):

[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

This only happens when I am using the ResourcePopulationMode="ServierSide". When I change that to ClientSide then it works and the webservice gets called properly. I am using fiddler to see that. I want to use grouping however so can't use ClientSide. Why is this error occuring? Is there some configuration setting I need to do on the server to get the GetReources method to work? Any help would be appreciated :) Thanks

4 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 20 Aug 2013, 06:12 AM
Hello,

 
You can refer to this help topic where several suggestions for such scenarios are provided.  You can also refer to this more general thread where the similar issue and several suggestions for it  are described .

Hope this will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Ekjot
Top achievements
Rank 1
answered on 20 Aug 2013, 01:32 PM
Hello

Thank for the reply!

I have looked at the help topic however I am not using authentication so it didn't relate to me and didn't help my situation. The other thread is relating to a SMTP client so that solution didn't work for me. However I am also on a godaddy server so maybe there is some other proxy address I have to use?

Any other suggestions?

Thanks again
0
Ekjot
Top achievements
Rank 1
answered on 21 Aug 2013, 03:57 PM
As an update: I also tried on a server at my local site and it has the same problem. Some sort of timeout when trying to call the GetResources method. Is there any fix for this? It's the last thing I am stuck on.
0
Plamen
Telerik team
answered on 22 Aug 2013, 12:58 PM
Hello,

 
I have researched the issue deeper and it seems to be an issue connected rather with the Web Service and GoDaddy than with RadScheduler. That is why I would rather recommend you to refer to some of their forums where you may find more useful information like the these ones:
http://stackoverflow.com/questions/1441976/webservice-socketexception-only-breaks-on-one-application
http://support.godaddy.com/groups/web-hosting/forum/topic/asp-net-shared-hosting-servers-medium-trust-level/

Hope this will be helpful.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Ekjot
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Ekjot
Top achievements
Rank 1
Share this question
or