Issue with direct printing stimulsoft report on local iis printers

Stimulsoft Reports.WEB discussion
Post Reply
mategrocery
Posts: 1
Joined: Tue Feb 11, 2025 2:55 am

Issue with direct printing stimulsoft report on local iis printers

Post by mategrocery »

When Stimulsoft Report calls my asp.net core web API, I want reports to be sent straight to the local printer (without preview).

When I debugged it on Visual Studio IIS Express, everything worked fine. However, when I published it to localhost IIS, the rpt.Print(.....) line displayed the following error. Use the user identity to run the iis application pool?
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with direct printing stimulsoft report on local iis printers

Post by Lech Kulikowski »

Hello,

Please checkthe following article:
https://www.stimulsoft.com/en/documenta ... eports.htm

Thank you.
kearawill1122
Posts: 1
Joined: Wed Feb 12, 2025 3:45 pm

Re: Issue with direct printing stimulsoft report on local iis printers

Post by kearawill1122 »

It seems like the issue could be related to the permissions of the IIS application pool identity when running in the local IIS environment. When running under IIS Express, the identity used for debugging may have different permissions compared to when it’s deployed to the full IIS server.

To resolve this, you might need to ensure that the IIS application pool is configured to run under a user identity that has sufficient permissions to access the local printer. You can adjust the application pool settings in IIS Manager by setting it to run under a custom identity with the necessary permissions. Additionally, make sure that the printer is correctly shared and accessible on the server where IIS is running.
Lech Kulikowski
Posts: 7332
Joined: Tue Mar 20, 2018 5:34 am

Re: Issue with direct printing stimulsoft report on local iis printers

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply