Getting error - The response ended prematurely only on Production env. (working fine locally)

1 Answer 29 Views
Rendering Report Designer - Web Report Viewer - HTML5 Report Viewer - MVC
Abhishek
Top achievements
Rank 1
Abhishek asked on 12 Jun 2025, 01:03 PM

Tried to replicate this with prod clone DB on local, works fine. We are not able to find the cause, please help. Below are some information that can help.

 

templateUrl: '/assets/app/telerikReportViewerTemplate-14.1.20.618.html'

 

Designer that we used the create the report:

Below error is rendered on report:

Getting below in pageContent response:    

"pageContent": "<div><div class=\"sheet page1\" style=\"padding-left:76px;padding-right:76px;padding-top:76px;padding-bottom:76px;width:971px;height:643px;\"><div class=\"layer\"><div title=\"\" class=\"Consolidate s0-f38b615dd534d3fdd4832f\" data-id=\"Consolidate_1\" style=\"position:absolute;overflow:hidden;left:76px;top:76px;width:960px;height:164px;font-family:&quot;Tahoma&quot;;font-size:8pt;color:Red;text-align:start;\" data-search-id=\"_440b124cb22f4a74aec496b5d0b1d897\"><div style=\"position:absolute;top:5px;white-space:pre;left:5px;\">An error has occurred while processing Report 'Consolidate':</div><div style=\"position:absolute;top:18px;white-space:pre;left:5px;\">An error occurred while sending the request.</div><div style=\"position:absolute;top:31px;white-space:pre;left:5px;\">------------- InnerException -------------</div><div style=\"position:absolute;top:44px;white-space:pre;left:5px;\">The response ended prematurely.</div></div></div><div title=\"\" style=\"position:absolute;left:76px;top:76px;width:0px;height:643px;\"></div><div title=\"\" style=\"position:absolute;left:1047px;top:76px;width:0px;height:643px;\"></div><div title=\"\" style=\"position:absolute;left:76px;top:76px;width:971px;height:0px;\"></div><div title=\"\" style=\"position:absolute;left:76px;top:719px;width:971px;height:0px;\"></div></div></div>",

1 Answer, 1 is accepted

Sort by
0
Ivet
Telerik team
answered on 17 Jun 2025, 10:23 AM

Hi Abhishek,

I am sorry to hear about this problem.

Thе error indicates that the server closed the connection before sending a complete response. This is the first time we see such an error and for that reason, I cannot suggest an immediate solution. I'm afraid that the available information is not sufficient to diagnose the issue either. Can you share more details regarding the scenario?

Can you attach a Trace Listener to the application? I hope our code will log more details about the error.

If the problem persists, please send me a runnable project we may use to observe the problem locally. If you are hesitant to send your project here, you can open a ticket and provide the details there.

Looking forward to your next reply.

Regards,
Ivet
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Rendering Report Designer - Web Report Viewer - HTML5 Report Viewer - MVC
Asked by
Abhishek
Top achievements
Rank 1
Answers by
Ivet
Telerik team
Share this question
or