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

problem with redschedule using web service

7 Answers 90 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Petit
Top achievements
Rank 1
Petit asked on 01 Aug 2012, 03:03 AM
Hi

Im trying to use telerik redchedule , I use web service to populate data, it working well on my local . but when I deployed it to server it rise an error 
"

No connection could be made because the target machine actively refused it 119.252.77.166:80

"

any  suggestion, what should I do hendle this error?

7 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 03 Aug 2012, 11:51 AM
Hi Petit,

The exception that you get when you deploy your application to the server is indeed very general one and there might be various reasons that are causing it. Please take a look at the following posts and the proposed suggestions that you may try out:

  • http://blogs.msdn.com/b/sql_protocols/archive/2007/07/19/tcp-provider-no-connection-could-be-made-because-the-target-machine-actively-refused-it.aspx
  • http://stackoverflow.com/questions/2972600/no-connection-could-be-made-because-the-target-machine-actively-refused-it
  • http://stackoverflow.com/questions/9695224/no-connection-could-be-made-because-the-target-machine-actively-refused-it-127-0

All the best,

Kate
the Telerik team
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 their blog feed now.
0
Petit
Top achievements
Rank 1
answered on 07 Aug 2012, 05:50 AM
Hi kate 
thank for suggestions, we have fixed that error , but I have one more question , when we add new appointment , can we set  the time picker to 24 hours rage , currently it 8.00 am until 5.30 pm 

i have read this http://www.telerik.com/help/aspnet-ajax/scheduler-customizing-advanced-form-formcreated.html  but I'm using asp.net mvc and web service to populate telerik sheduler , is there is some way to Change  time picker options using web service on mvc project

thank
0
Ivana
Telerik team
answered on 09 Aug 2012, 08:53 AM
Hello Petit,

Unfortunately, start and end time of RadTimePicker can not be changed on the client. The control does not support methods or properties that would do that on the client. The only way to change the hour range is to make the changes on the server which can be achieved in a full postback or in a AJAX callback to the server.

The following online demo shows how to changes the start and end time for the RadTimePicker with an AJAX callback to the server: http://demos.telerik.com/aspnet-ajax/calendar/examples/datetimepicker/overview/defaultcs.aspx.

All the best,
Ivana
the Telerik team
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 their blog feed now.
0
Petit
Top achievements
Rank 1
answered on 14 Aug 2012, 02:05 AM
how  changes the start and end time for the RadTimePicker with an AJAX callback to the server , in MVC project and web service to populate scheduler data?

0
Peter
Telerik team
answered on 14 Aug 2012, 10:13 AM
Hi Petit,

Indeed, in MVC there is no server-side event handling, so the workaround with handling FormCreated is not applicable. You can consider using the advanced form templates as shown in this demo. You can download a working sample from here.


All the best, Peter
the Telerik team
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 their blog feed now.
0
Ross Dunham
Top achievements
Rank 1
answered on 27 Apr 2015, 07:32 PM

Hey Petit, 

This is an old post but I am hoping you are still around ...

I am having the same issue you described in the post.  Server is refusing connection on public, but works in development.  How did you resolve this?  I am having the same issue.  I opened a ticket with Telerik directly, but they don't have any suggestions on this one.  Thanks in advance.

Ross

0
Bozhidar
Telerik team
answered on 28 Apr 2015, 02:02 PM
Hi,

The problem you've opened the support ticket about concerns Export to PDF, while this thread is about WebService binding, so I'm closing this thread. You can continue the discussion in the other forum you've posted on:
http://www.telerik.com/forums/problem-with-exporttopdf-on-web-servers

Regards,
Bozhidar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Scheduler
Asked by
Petit
Top achievements
Rank 1
Answers by
Kate
Telerik team
Petit
Top achievements
Rank 1
Ivana
Telerik team
Peter
Telerik team
Ross Dunham
Top achievements
Rank 1
Bozhidar
Telerik team
Share this question
or