Server2008R2 with Excel, No Printers are installed when User is not logged on
I've a Server with Windows Server 2008 R2 (x64) running Office 2010 (at the moment x86, but I already tested x64) and IIS. My Application tries to convert a Excel Workbook Sheet to PDF with the ExportAsFixedFormat function.I've created a Printer and printed some documents with Microsoft XPS Writer for testing. I posted already here ( http://social.technet.microsoft.com/Forums/en-US/officeitpro/thread/e9890946-52f3-456d-8706-b91f62b047ca , but I'm having the problem again on a other test server) The Conversion works fine, if the User, who's the IIS Application Pool Identity and starts Excel, is logged on the Server. When this User isn't logged on the Server I get a entry "No printers are installed" in the event log. But I've used the class PrinterSettings to write the current printers to a textfile. My added printer and 2 others (xps writer, onenote) are available at runtime. As Microsoft provides no other solution for converting excel sheets to pdf I need to get this working. Any ideas what I'm missing? Regards, Tim
October 17th, 2012 4:49am

read these: http://stackoverflow.com/questions/10474066/network-connected-printer-not-available-in-asp-net-application http://stackoverflow.com/questions/3729153/printing-from-asp-net-to-a-network-printer hope help you! :)Marco Adamo
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2012 7:34am

Hi, the User I'm using for this has Administrator rights and I'm not using any printers. Excel just needs a local printer driver when using the function ExportAsFixedFormat which I provide through installing a local printer.
October 17th, 2012 10:21am

Did you installed it via a pritnserver like \\printserver\printer ? Those printer are user specific, thats why I ask and it could explain your error message when the user is logged off. If it's the case make one with a tcp/ip printqueue to test out. MCP | MCTS 70-236: Exchange Server 2007, Configuring Want to follow me ? | Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2012 9:34pm

No, I installed Ghostscript and used the Ghostscript Printer Driver to create a local printer which prints to a file on the harddisk. Also I've used the class PrinterSettings to write the current printers to a textfile. My added printer and 2 others (xps document writer, one note) are available through runtime...
October 19th, 2012 8:47am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics