Reply
Member
Posts: 3
Registered: ‎12-20-2012

The request was aborted: The request was canceled.

Hi,

 

Can some one help me out, I am using c# sample in my application and it was working we on development as well as production environment but from last 2-3 days now on production my application started logging "The request was aborted: The request was canceled." exception for few transaction meanwhile few transaction is sattled successfully. 

 

This thread suggest me to set objRequest.ContentType = "application/x-www-form-urlencoded"; which is already set so, I am finding it difficult to track this issue so please help me what is the problem. Please ask if any further details needed to track. 

 

Thanks and Regards,

Ravi Maurya

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: The request was aborted: The request was canceled.

It is hard to tell if it only happen once in a while. Are you opening new connection each time? it is only happened on certain time/order?

Member
Posts: 3
Registered: ‎12-20-2012

Re: The request was aborted: The request was canceled.

Thanks for your reply, yes I am opening new connection each time.

 

Is their is any solution for this problem.

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: The request was aborted: The request was canceled.

Might have to check your log to see why it is failing.

Member
Posts: 3
Registered: ‎12-20-2012

Re: The request was aborted: The request was canceled.

Which type of log? What details are required?

Expert
Posts: 4,525
Registered: ‎03-08-2010

Re: The request was aborted: The request was canceled.

Start with log that is for web/application.