Click here to Skip to main content
15,903,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi there...

I created an ASP.NET web service. Deployed it into the windows server 2012, and it worked fine when being accessed using the local lan (same subnet). However, when using the same application (client) to access the service via wireless network which is on another subnet, the application triggers this error after a while:

"An error occurred while receiving the http response to http:// ..... This could be due to the service endpoint binding not using the http protocol. This could also be due to an http request context being aborted by the server (possibly due to the service shutting down)"

Now, I did check the internet for this error, and most of the solutions involved increasing the buffer size, and maxItemsInObjectGraph. I set all these parameters to max, but the problem is not solved.

Also I installed a version of the application on another windows server 2012, and created a testing application that continuously download files from the server. It creates 30 clients, each loading 100 files (30 clients sending loading requests at the same time), each file of size 1MB. It worked perfectly fine without an error. So, it seems that the webservice and its configuration is fine.

When I changed the IP of the server to be at the same subnet of the client, the problem disappeared.

I assume the issue might be related to the router, I might be wrong.

The router being used is: Cisco 3750G series

Kindly advice.
Posted
Updated 29-Sep-13 23:59pm
v2

1 solution

Are you using Server.Transfer for moving from one page to another? if yes, then try using Response.redirect. I too had same problem replacing Server.Transfer with Response.redirect resolved the issue for me
 
Share this answer
 
v2
Comments
mkaatr2 30-Sep-13 8:21am    
Hi there...

I am calling a web service. The application does not use web forms at all.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900