I'm having an issue where I can view my reports in an ASP.NET environment, and can even export them, but as soon as I got print them, I get the following javascript error:
我有一个问题,我可以在ASP.NET环境中查看我的报告,甚至可以导出它们,但是一旦我打印它们,我得到以下javascript错误:
"Object doesn't support this property or method"
“对象不支持此属性或方法”
When I run the debugger, I see the following code:
当我运行调试器时,我看到以下代码:
<HTML>
<BODY onload="Print()">
<OBJECT ID="RSClientPrint" CLASSID="CLSID:FA91DF8D-53AB-455D-AB20-F2F023E498D3" CODEBASE="?rs:Command=Get&rc:GetImage=8.00.1038.00rsclientprint.cab#Version=2000,080,1044,000" VIEWASTEXT></OBJECT>
<script language="javascript">
function Print()
{
RSClientPrint.MarginLeft = 6.35;
RSClientPrint.MarginTop = 3.81;
RSClientPrint.MarginRight = 6.35;
RSClientPrint.MarginBottom = 3.81;
RSClientPrint.PageHeight = 215.9;
RSClientPrint.PageWidth = 355.6;
RSClientPrint.Culture = 1033;
RSClientPrint.UICulture = 9;
RSClientPrint.Print("http://192.9.200.36/ReportServer", "%2fERSReports%2fGrossRequirements", "GrossRequirements")
}
</script>
</BODY>
</HTML>
I have even tried doing this from the server, logged in as the Administrator ... and have set the security settings in IE to low and still get this error.
我甚至尝试从服务器执行此操作,以管理员身份登录...并将IE中的安全设置设置为低并仍然出现此错误。
This was all working last week, and as far as I can tell, the only thing that may have happened is an update was pushed out by the server, which is probably the culprit.
这一切都在上周工作,据我所知,唯一可能发生的事情是服务器推出了更新,这可能是罪魁祸首。
Anyway, any idea how to work around this? My users desperately need to print these reports.
无论如何,任何想法如何解决这个问题?我的用户迫切需要打印这些报告。
Any help would be appreciated!
任何帮助,将不胜感激!
2 个解决方案
#1
http://www.tek-tips.com/viewthread.cfm?qid=1541733&page=1
Check this thread. Sounds eerily similar to your problem.
检查这个帖子。听起来很像您的问题。
#2
http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx - this has a great explanation of the issue, so you can understand it.
http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx - 这个有问题的很好的解释,所以你可以理解它。
Make sure you also install the report viewer redistributable on your app/web servers. I was having another problem after I got past this one.
确保还在应用程序/ Web服务器上安装可再发行的报表查看器。我越过这个问题后又遇到了另一个问题。
#1
http://www.tek-tips.com/viewthread.cfm?qid=1541733&page=1
Check this thread. Sounds eerily similar to your problem.
检查这个帖子。听起来很像您的问题。
#2
http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx - this has a great explanation of the issue, so you can understand it.
http://blogs.msdn.com/brianhartman/archive/2008/11/05/client-print-fails-to-load-after-microsoft-update-956391.aspx - 这个有问题的很好的解释,所以你可以理解它。
Make sure you also install the report viewer redistributable on your app/web servers. I was having another problem after I got past this one.
确保还在应用程序/ Web服务器上安装可再发行的报表查看器。我越过这个问题后又遇到了另一个问题。