In my web application, there is one page which is used for reporting purpose.
Based on selected parameters it fetches the summary data and binds to Gridview.
There is another separate button on which detail excel report should generate.
Problem is this functionality properly works in development environment. Excel report gets generate in development environment.
But in UAT sometime it excel gets generate sometime it doesn't. when it doesn't work it shows following message
This page isn’t working
mindworks.ultimatix.net is currently unable to handle this request.
HTTP ERROR 502
Requesting to give hint about the cause of the issue.
What I have tried:
Tried tracing the issue by logging the steps but it shows all the code is getting executed. But still excel report in not getting generate.
1) Using sql connection to fetch data.
2) Using openxml to generate excel file.