Can't Deploy or Upload Large SSRS 2008 Report from VS or IE

11,644

I think I figured this one out. The blog entry about increasing the maximum request bytes stated to add a registry key named "MaxRequestBytes" to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters, which I did, and then restarted the appropriate services. Since I still had the issue I kept looking for a solution, and as it turns out, "MaxRequestBytes" should not be added as a registry key, but as a DWORD value. See Http.sys registry settings for IIS for more information. For MaxRequestLength the default value is 16384 and the max is 16777216 (16 MB). I have mine set to 1048576 (1 MB).

Another thing I looked at was the maxRequestLength attribute in < httpRuntime in C:\Program Files\Microsoft SQL Server\MSRS10.SWA\Reporting Services\ReportServer\web.config which has a default value of 4096 KB (4 MB), which is large enough. Reference: < httpRuntime> Element.

The last thing to verify was that HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\EnableTCPChimney was already set to 0.

The server was rebooted for another reason after making the MaxRequestLength registry change and I am able to upload all reports now, including the larger one, all via HTTPS.

Share:
11,644
Bratch
Author by

Bratch

��]ks�6����Xu��΄�e;v��١.��ʢ_In����@$$1�./v�����9IQ2i�iI�3|������Ã��^��l����p���7{&lt;��⣀L0ƻ�������&gt;9�^ ��Ug8蒆�j}&lt;��Z�iO8l���ԧn�6w��j�G �X��w�j���5���_����2\9�-���5��j�������'|q�d�s&gt;����CnrG��K���F̟�R&gt;V3�&amp;�q~�4�������5��Q���y�b!%�Cc������?�+]���GC{��1�27�%����﹫�Fv+xג��-T�3���pQD�}�qN�P.(c�d���3C�طb��u����hg��L VF���፽����1��k]�%����,���&gt;^_�0�i��9l�&gt;z����ڷ���M�82�UpK�l���E����ߜ��݃7G��a�{v�락휵��A1�@$��&amp;u�k��y��4 ��� ��V ��MU+VZK%bc�0,&gt;b�11��&amp;H̆V'=ܚ�[�7�Oj87y$UZa�[�+ț��(���� ��A@���iA����:� o�X 2ڌ�K�/C)e�9;RJ��חT4�nW����Џ�0��W���{�j�^ }�����UF���O�4���J���E��Uz��{G�p�(kڿ�9qB�!�����&lt;�i2�u5��C&lt;�؜�Y�'zK�� |3�{��[�o�b������T?�'b�Zk7����F��ܡ������Z��Ź�A���!�����HH &lt;���od&gt; ��2�S�w=���Oo���f䀃�=Fg6z�� ���z�z�:��-�ƣѓ 19��A�_����嫵F���}g�sm[Oϸbn��+�:·�}��u��V:[4��2bV� y���f�ض�����v��%xC+�'.-�z�P�޽J�l�(�֯�K?�]���+#��Jܹ��Q���Ɖ������µ�8���Ǽ 6�ٗ'�ݬ�J� r�����'BxҲ�0�cM���|�S��L�*J�g-}����Nd1&lt;�넄%8/3%�O*J"���?�Г�W�Cˤ0��@���"��G:;�b�v��K�b �D���ƫ���a�vҀ0�G �/�@���W��قxC (��x�����ة �CF��C͛��#��r��@��=۟R,9ܢ�����8pc{#��a!I,x��'�L����N�j7�*5|֕)�ܮ���#���lf�%}��)H���H�!�e������Z���sGX�/g�T�C&amp;��*3K`��ϖ@zp ��N8+������ �e�~��$j�p/al��*�Ѐ� B����T!0� O��� �����*uC�������w~xh6�޶��p��j^k�u���齷G����������k ��-�Ӳ��&lt;�ս�o5�x^͸��D��Om��WD���:tV҄2a,���M�� �o����s�{��&amp;��m�,�X���s8 ~&amp;#��$s\�/�ŗ�M�lAW�ZT��+�?P�󝜺b�qA"���0.:-}

Updated on June 05, 2022

Comments

  • Bratch
    Bratch almost 2 years

    So far in this project I have two reports in VS2008/BIDS. The first one contains 1 tablix and is about 100k. The second one contains 3 tablixes (tablices?) and is about 257k. I can successfully deploy the smaller report from VS and I can upload it from the Report Manager in IE. I can view/run it from Report Manager and I can get to the Report Server (web service) URL from my browser just fine. Everything is done over HTTPS and there is nothing wrong with the certificates.

    With the larger report, the error I get in VS is "The operation has timed out" after about 100 seconds. The error when I upload from IE is "The underlying connection was closed: An unexpected error occurred on a send" after about 130 seconds.

    In the RSReportServer.config file I tried changing Authentication/EnableAuthPersistence from true to false and restarting the service, but still get the error. I have the key "SecureConnectionLevel" set to 2. Changing this to 0 and turning off SSL is not going to be an option. I added a registry key named "MaxRequestBytes" to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters and set it to 5242880 (5MB) and restarted the HTTP and SRS services as suggested in a forum post by Jin Chen of MSFT.

    I still cannot upload the larger report. This is on MS SQL 2008 and WS 2003. Below is part of a log file entry from ...\Reporting Services\LogFiles when I attempted to upload from IE.

    library!WindowsService_0!89c!02/10/2010-07:57:57:: i INFO: Call to CleanBatch() ends
    ui!ReportManager_0-1!438!02/10/2010-07:59:33:: e ERROR: The underlying connection was closed: An unexpected error occurred on a send.
    ui!ReportManager_0-1!438!02/10/2010-07:59:34:: e ERROR: HTTP status code --> 500
    -------Details--------
    System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. 
    ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. 
    ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
       at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags)
       at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
       --- End of inner exception stack trace ---
       ...