3
Reply

Rotativa pdf doesn't work when published to Azure Server

Rupesh Kahane

Rupesh Kahane

Jun 17 2016 10:25 AM
869
I have a web app with Asp.net MVC 5 and I used Rotativa for the pdf.
Bellow is my code
 
public ActionResult DoPdf(int id)
{
return new ActionAsPdf("PrintMyPdf", new { id = id }) { FileName = string.Format("Demo_{0}.pdf", id) };
}
 
 
Rotativa doesn't work when published to Azure Server but it works on my local computer.
It is giving bellow error 

500 - The request timed out.

The web server failed to respond within the specified time. 
 
Please give me suggestion. 

Answers (3)