wcf - An existing connection was forcibly closed by the remote host. A connection that was expected to be kept alive was closed by the server -
specifications: 1. web application: asp.net mvc 2.0, 2. dot net framework 4.0, 3. windows server 2008 r2, 4. iis 7.5
points:
- generating word document dynamically using openxml , downloading gives above error. word document size around 1.0 mb
- wcf used xml data used generating document , several other data calculations
- it inconsistently throws error "an existing connection forcibly closed remote host. underlying connection closed: connection expected kept alive closed server."
- one of pattern of throwing error first time downloads without error , second time fails , again downloads correctly.
- one of major point notice not give error once on localhost. error occurs when application hosted on windows server 2008
- setting keep alive property option wont work in case of wcf service. please correct me if wrong.
through elmah have been able above error. please me know can cause of such error.please let me know if more information required.
thanks in advance !
Comments
Post a Comment