SharePoint file download interrupted

In previous article SharePoint file download programmatically, we knows about downloading a file from document library and prompting the user to save it in Internet Explorer. When working on a custom SharePoint application and tries to download file from Internet Explorer, I received a download interrupted error most of the time. My web application was hosted in SharePoint on-premise environment. It is working without any issue in Google Chrome but failed to download in Internet explorer.

I thought this might be the case of network issue but downloads from other sites are working fine without any issue within same network. After searching in google, I found this article  http://support.microsoft.com/kb/947239 in which Microsoft has mentioned about “AutoTuning” feature. AutoTuning scales the TCP window dynamically.

The workaround is to disable the “Autotuninglevel” feature by opening the command prompt with administrative privileges

netsh int tcp set global autotuninglevel=disabled

Note : There is no need to reboot the system.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s