You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
We experienced this with one of our projects which uses PhantomJs to rasterize Html to a pdf. The website is in Asp.Net Mvc running on IIS 7 (Windows 2008 R2). It shells out to a local copy of phantom using a simple command-line wrapper to launch it in cmd.exe.
What we're seeing is that images in the html will occasionally not be transferred properly to Phantom and will appear blank (and collapsed) in the rasterized output.
The solution seems to be
Trigger the rasterization operation - notice the image does not come across.
Identify the user (identity) the Application Pool for the site runs under
Grant this user Administrator privileges.
Recycle, stop, and start the Application Pool.
Trigger the rasterization operation again - the image comes across now.
Revoke the user's Administrator privileges.
Recycle, stop, and start the Application Pool.
Trigger the rasterization operation again - the image comes across still.
Our best guess is that Phantom needs to configure a temp directory or something that it requires admin permissions for to pull down certain types of images. Once that has been done once the permissions can be revoked.
Can anyone confirm/deny that is the case or provide any insight at all?
The text was updated successfully, but these errors were encountered:
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
We experienced this with one of our projects which uses PhantomJs to rasterize Html to a pdf. The website is in Asp.Net Mvc running on IIS 7 (Windows 2008 R2). It shells out to a local copy of phantom using a simple command-line wrapper to launch it in cmd.exe.
What we're seeing is that images in the html will occasionally not be transferred properly to Phantom and will appear blank (and collapsed) in the rasterized output.
The solution seems to be
Our best guess is that Phantom needs to configure a temp directory or something that it requires admin permissions for to pull down certain types of images. Once that has been done once the permissions can be revoked.
Can anyone confirm/deny that is the case or provide any insight at all?
The text was updated successfully, but these errors were encountered: