Report works locally but not when deployed to IIS 10 not working

2 Answers 568 Views
Report Viewer - ASP.NET Report Viewer - HTML5
khaled
Top achievements
Rank 1
Iron
khaled asked on 03 Jun 2023, 08:33 PM

i have website built with telerik tools when i deploy it in azure service it work fine , but when i built my own server with windows server 2019 all website work well except report viewer not showing reports. i use Fiddler jam to trace the problem but can't understand the output the following link https://jam.getfiddler.com/sessions/9f5a7b05-843b-4af5-98b5-c03114e3f700?t=587433717443c9c10eeb06fb6e2c60644c8065cecb4332d81c2e8853c619228b057b5a9f3b84f54a98b5c03114e3f700

the other ver which run in Azure service make deffiernt output in Fiddler jam : 

https://jam.getfiddler.com/sessions/16b8e346-d884-4a87-b9db-512619933502?t=6d25ac1629c9c2481948bea862f1f9bb4faeeae1bd0f881c8f0a5668b91373a046e3b81684d8874ab9db512619933502

i hope you can help me in this issue

khaled
Top achievements
Rank 1
Iron
commented on 05 Jun 2023, 03:39 PM

this what i get now when i run report viewer

2 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 07 Jun 2023, 10:14 AM

Hi Khaled,

Thank you for the Fiddler Jam sessions.

Please, note that the first series of requests finish with the Get Document Info that returns '202 Accepted' meaning that 'Document processing is still in progress.' Did you wait for the next request, or just stopped the recording? The same request is made each 0.5s until the document is ready. I expected the requests to continue until the document is prepared server-side.

In the second Fiddler Jam session, there are 10 (ten) Info requests, with the last one returning '200 OK' meaning that 'Document processing is ready.' The next requests are for the generated pages that get displayed in the viewer.

If the problem persists you may attach a Trace Listener to the Reporting REST Service to check whether everything is fine server-side.

Regards,
Todor
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
khaled
Top achievements
Rank 1
Iron
commented on 07 Jun 2023, 05:04 PM

Thank you Toder for your respond .. here is another Fiddler Jam for the same operation i hope you can get any info related to the problem . https://jam.getfiddler.com/sessions/60964325-7e68-446c-872d-356d4880385b?t=008a8264c5175e60408e18d14fbdf50d5a21dc6e60f30f7fdfd7072ff22f824b25439660687e6c44872d356d4880385b

by the way my server info is windows server 2019 stander edition . should i change the version of windows server.

as i tell you i'm host the same website in azure service without any issues.

khaled
Top achievements
Rank 1
Iron
commented on 07 Jun 2023, 09:14 PM

after disabled the authentication of ASP.net the report viewer make a different error :

Error registering the viewer with the service.
An error has occurred.
Access to the path 'C:\Windows\TEMP\restService1\13.1.19.618\LCT\value.dat' is denied


0
khaled
Top achievements
Rank 1
Iron
answered on 10 Jun 2023, 05:56 PM

I solve the problem i discover that the Application bool of the IIS should have rights to read and write to the Temp folder under windows .. 

so i select the temp folder and in the securty option i add defaultappbool and select read and write and modify writes, then every thing work fine

Tags
Report Viewer - ASP.NET Report Viewer - HTML5
Asked by
khaled
Top achievements
Rank 1
Iron
Answers by
Todor
Telerik team
khaled
Top achievements
Rank 1
Iron
Share this question
or