locked
Twitter Accelerator workflow time out exception RRS feed

  • Question

  • Hi experts,

    need your advice.Implement Twitter accelerator at CRM .Installtion going well & but i got strucked at Workflow error. Modifed the proxy code at

    msa_twitter .cs

     

     as per our organization enviornment. here is the code & getting error "The operation has timed out".Please suggest me.

    case "GET":

    AddToFile(

     

    "SendRequestBegins");

     

     

    WebClient wCli = new WebClient();

     

    if (_creds != null)

     

    #region

     

    Confidential

     

     

    IWebProxy proxy = HttpWebRequest.DefaultWebProxy;

    proxy.Credentials =

    new NetworkCredential("xxx", "xxxx");

     

    #endregion

     

     

    try

    {

    AddToFile(

    "SendRequestBegins -tryblock");

     

     

    using (Stream str = wCli.OpenRead(_URL))

     

    using (StreamReader reader = new StreamReader(str))

     

    catch (WebException ex)

     

    if (ex.Response is HttpWebResponse)

     

    if ((ex.Response as HttpWebResponse).StatusCode == HttpStatusCode.NotFound)

     

    return null;

     

    "SendRequestBegins -catchblock" + ex.Message.ToString());

     

     

    throw ex;

    }

    Thanks

    }

    }

    AddToFile(

    {

     

    {

     

    {

     

    {

    responseXml = reader.ReadToEnd();

    AddToFile(responseXml.ToString());

    }

    }

    }

     

    {

     

    wCli.Proxy = proxy;

    {

    wCli.Credentials = _creds;

    }

     

     


    VenkataP
    Wednesday, June 9, 2010 5:58 AM

Answers

  • Slove the problem.Please let me know ,if any body facing issue with twitter accelerator.

    Thanks


    VenkataP
    Monday, June 14, 2010 4:53 PM