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 223 forks source link

[FIX] Rotativa not working on NAS #181

Open tomaszjodko2 opened 6 years ago

tomaszjodko2 commented 6 years ago

Hello, There was a problem with running Rotativa in environment with load balancer and application files being stored in NAS. We managed to fix that with assistance of Microsoft support, just want to leave that here in case someone has the same issue.

The solution was to change the Application Pool account from local user to a domain user which has read/write permissions in the application path.

In order to do that:

  1. Open IIS manager (you can find it by clicking the start button and searching for inetmgr)
  2. In the left pane, expand the node and select Application Pools.
  3. Select the application pool and click Advanced Settings in the right pane.
  4. Select Identity and click the small “…” button.
  5. Select Custom Account, click Set and enter the credentials for the domain account.
  6. Click Ok to dismiss the dialogs.
  7. In the middle panel, right click the same application pool and click Recycle

Hope that helps, as it was quite a headache for us.