MVC5 application with Rotativa does not work when published on IIS
问题 I am using Rotativa for convert the view to PDF. It works on my local but when published on IIS server it gives error as below: Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [Exception] Rotativa.WkhtmltopdfDriver.Convert(String wkhtmltopdfPath, String switches, String html) +1364 Rotativa.WkhtmltopdfDriver