Webservice call from BizTalk 2010 to IIS7 fails. The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.


i need investigate more on issue related keep alive settings in iis 7 mentioned in link http://seroter.wordpress.com/2007/08/06/troubleshooting-canceled-web-request/

in our case have orchestration in biztalk 2010 (windows server 2008 r2 standard , iis7) calls webservice (asmx) hosted in iis 7. checked configuration [the "ping maximum responser time (seconds)" under "process model" settings] in iis on both server [biztalk hosting , web service hosting server] , settings same. don't option set keepalive=false, since need use connection pooling feature. have mentioned below exact error message in biztalk server.

webexception: underlying connection closed: connection expected kept alive closed server.
ioexception: unable read data transport connection: existing connection forcibly closed remote host.
socketexception: existing connection forcibly closed remote host

most of our webservice calls orchestration working expected, 5% of webservice calls fails.
please point me right direction trouble shoot issue.


thanks , regards, vikram

it network issue. actual network problem not detected, resolved our issue.

we looked @ iis logs on web server (where web service hosted) , see request coming web server not completed. there error in iis log while sending request (sc-win32-status 121 , 1236). looks network connection between these 2 servers terminate. (something related way snat works)

to resolve our issue, had keep web service , biztalk on same network. 

once did that, resolved our issue.


thanks , regards, vikram



BizTalk Server  >  BizTalk Server General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to send non-standard Content-Type header ?