Print problem with ApplicationPoolIdentity (IIS)

Anonymous
2022-08-30T13:02:07.027+00:00

We run an application via IIS, to save something as PDF using PDF-XChange printer driver.
It works fine in regular, but on one machine we have a problem: generating the pdf stops. We can not see a reason.
The applicationpool within IIS uses default identity "ApplicationPoolIdentity" which works fine on all other installations.
If we change the identity to "LocalService", it will work on the problematic machine as well . But due to other reasons, this is not a solution. It should run with "ApplicationPoolIdentity".
We tried to reinstall the Printer Driver several times. But it did not change anything.
Load User Profile is activated.
What else can we check, that "ApplicationPoolIdentity" can use the printer just as "LocalService".
Or what can we do, to locate the problem?

Windows development | Internet Information Services
Windows for business | Windows Server | User experience | Print jobs
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2022-08-31T17:23:27.303+00:00

    Hi @Anonymous ,

    it looks like the ApplicationPoolIdentity does not have the right permission on the resource.
    You can try to add the ApplicationPoolIdentity with the required permissions this way:
    https://learn.microsoft.com/en-us/iis/manage/configuring-security/application-pool-identities#securing-resources

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.