Error on Response.Redirect RRS feed

  • Question

  • When I do the PrivateObject.Invoke("button1_click",button1,EventErgs.Empty); Theres a response.redirect in the button1_click event. Due to this event, the test case returns the result as

    "The communication channel with ASP.NET could not be configured. Requested Service not found".

    Solution to handle response.redirect will be appreciable.

    Note: My Project doesnot have any dotnet patterns implemented.

    Thursday, October 13, 2011 7:27 AM

All replies

  • Hi, 

    Thanks for your post.

    Could you give more details ? I think that the problem is why you dont was set True in the parameter,


    Response.Redirect("http://myurl", true);


    Roberto Borges
    please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Proposed as answer by Roberto.Borges Thursday, September 12, 2013 7:38 PM
    Thursday, September 12, 2013 7:38 PM