Rupesh Kahane

Rupesh Kahane

  • 95
  • 19.1k
  • 4.1m

Rotativa pdf doesn't work when published to Azure Server

Jun 17 2016 10:25 AM
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)