Saturday, April 21, 2012

The RPC server is unavailable


After the ABCPDF's issue with IE9 is resolved, we got another issue while generating PDF using ABCPDF.dll. The below is the error message:

Source:System.Drawing, Message:The RPC server is unavailable, StackTracke:   at System.Drawing.Printing.PrinterSettings.get_InstalledPrinters()     at WebSupergoo.ABCpdf8.Doc.AddHtmlGecko(String html, Boolean paged, Int32 width, String& err)     at WebSupergoo.ABCpdf8.Doc.AddImageHtml(String html, Boolean paged, Int32 width, Boolean disableCache)     at WebSupergoo.ABCpdf8.Doc.AddImageHtml(String html) 


Make sure that the PrintPool service is running on your server. By default, it was disabled in my SharePoint server. I enabled and set it to start automatically and was able to generate PDF from then.

Cheers !

No comments:

Post a Comment