Print problem with ApplicationPoolIdentity (IIS)

Chris 1 Reputation point
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?

Internet Information Services
Windows Server Printing
Windows Server Printing
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Printing: Printer centralized deployment and management, scan and fax resources management, and document services
647 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 98,621 Reputation points MVP
    2022-08-31T17:23:27.303+00:00

    Hi @Chris ,

    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