We are unable to print any report from live via print | server printer. My initial thoughts were that it was a windows printer share issue or a physical printer issue and I spent a load of time debugging fault finding around this, creating a new queue, new printer port etc all to no avail. I also tried creating a brand new printer in Epicor printer maintenance pointing at the same physical hardware/ip address again with no success.
The same reports all work ok printing from Epicor server printing to other printers.
On a whim I tried doing the same thing from our E10 test system, which is a recent copy of live and which is hosted on the same server and it all works ok, any report will print without issue to that server printer.
I have started and stopped the task agent numerous times. There is nothing in the windows server event viewer. I am the only person with admin access on the servers and no permissions changes or updates have been applied since this was last working.
So in summary I cannot print via the server printer option to one printer from our E10 live instance, I can from test and I can to other printers. I’m thinking this is possibly IIS getting itself in a knot so was going to cycle the IIS instance for live at the weekend but in case that doesn’t fox I was wondering of other folks have seen this…
Error message is
Program Ice.Services.Lib.RunTask raised an unexpected exception with the following message: RunTask: Settings to access printer '\\xxxxxx\despatch' are not valid. at System.Drawing.Printing.PrinterSettings.GetHdevmodeInternal(String printer) at System.Drawing.Printing.PrinterSettings.GetHdevmode(PageSettings pageSettings) at PdfPrintingNet.PdfPrint.Print(String fileName, String password) at Ice.Core.SsrsReporting.PdfReportPrinter.Print(Byte reportBytes, String printerNameParameter, EpiPrinterSettings printerSettings, EpiPageSettings pageSettings) at Ice.Core.SsrsReporting.ReportProcessorBase`1.RenderReportForPrintFaxOrEmailReport(SysRptLst sysRptLstRow) at Ice.Core.SsrsReporting.ReportProcessorBase`1.ProcessReportPart(String reportLocation, Action`1 modifySysRptLstRow) at Ice.Core.RptBase.ReportSsrsDatabaseBuilder`1.ProcessReportWithDataInPlace(SqlConnection connection) at Ice.Core.RptBase.ReportDatabaseBuilder`1.XMLClose() at Erp.Internal.OM.OMR50.RunProcess(Int32 instanceTaskNum, String outputFileName) at Ice.Hosting.TaskCaller.ExecuteTask() at Ice.Services.Lib.RunTaskSvc.RunTask(Int32 ipTaskNum)