locked
Problem: REST client throw timeout exception RRS feed

  • Question

  • Hi, 

    I have create REST client in C# using example on this page: http://msdn.microsoft.com/en-us/library/aa395208(v=vs.90).aspx#sectionSection1. Server is built in PHP.

    When I send request to some urls I have this exception:

    The request channel timed out while waiting for a reply after 00:00:59.9531250. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

    But, sometimes, when I debug code, I get response.

    How to solve this or how to change timeout?
    • Edited by shandu Tuesday, January 18, 2011 9:06 AM fix link example
    • Moved by Cindy Meister MVP Tuesday, January 18, 2011 1:12 PM not VSTO-related (From:Visual Studio Tools for Office)
    Tuesday, January 18, 2011 8:49 AM

Answers