Page 1 of 1

Issue with direct printing stimulsoft report on local iis printers

Posted: Tue Feb 11, 2025 2:58 am
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?

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

Posted: Tue Feb 11, 2025 8:35 pm
by Lech Kulikowski
Hello,

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

Thank you.

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

Posted: Wed Feb 12, 2025 3:55 pm
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.

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

Posted: Wed Feb 12, 2025 11:59 pm
by Lech Kulikowski
Hello,

Thank you for the information.