webgio / Rotativa

Rotativa, /rota'tiva/. Make Pdf from Asp.Net MVC. Available on Nuget https://www.nuget.org/packages/Rotativa
http://letsfollowtheyellowbrickroad.blogspot.it/search/label/Rotativa
MIT License
621 stars 224 forks source link

The requested URL /controlname/viewname was not found on this server #220

Open HealthcareMaster opened 4 years ago

HealthcareMaster commented 4 years ago

Hi. This is the best converter library I had used. Thank you.
I had it working on my local as well as several servers. However, when I promoted to google cloud, I get this error. "The requested URL /controlname/viewname was not found on this server".

Trouble shoot so far:

  1. Grant same permission to folders. Have all the DLL and EXE across three servers. All three servers also have C++ redistributable Package for Visual Studio 2013 file called (MSVCP120.dll).
  2. Manually convert html to PDF- it created PDF without error. C:[sites]\Rotativa\wkhtmltopdf.exe C:\Download\xxx.html C:\Download\xxx.pdf
  3. access through localhost, it will create PDF without error.
  4. access through IP address or DNS, it creates PDF with file not found. My network guy said, it's not security problem; story of developer, right?

Is this library works on cloud server? Thank again