从IIS7进行打印时找不到打印机错误 [英] No printer Found error while printering from IIS7

查看:578
本文介绍了从IIS7进行打印时找不到打印机错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,

我已经在Visual Studio 2008中设计了一个Web应用程序,并且在Crystal Report中生成了报告.它在开发服务器上工作正常.但是,如果我在IIS7上部署,则会出现以下错误

未安装打印机.
说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的详细信息.

异常详细信息:System.Drawing.Printing.InvalidPrinterException:未安装任何打印机.

请帮助解决这些错误

Dear,

I have designed an web application in visual studio 2008 and report is generated in crystal report. It works fine in development server. But if i deploy on IIS7 then i got following error

No printers are installed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Drawing.Printing.InvalidPrinterException: No printers are installed.

Please help in resolving these error

推荐答案

下面的类似问题问答线程可能会对您有所帮助.

http://www.velocityreviews.com/Forums/t97893-allowing-asp-net-user-access-to-printers-on-server.html [
Below simmilar Question-Answer thread might help you.

http://www.velocityreviews.com/forums/t97893-allowing-asp-net-user-access-to-printers-on-server.html[^]


错误消息清楚说问题.

MSDN将手指指向下面的事物
0)确保打印机存在.
1)确保已安装默认打印机.

故障排除异常:System.Drawing.Printing.InvalidPrinterException [
The error message clearly says the issue.

MSDN points the finger on below things
0) Make sure that the printer exists.
1) Make sure a default printer has been installed.

Troubleshooting Exceptions: System.Drawing.Printing.InvalidPrinterException[^]


这篇关于从IIS7进行打印时找不到打印机错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆