Active x crystal report viewer
![active x crystal report viewer active x crystal report viewer](https://i.ytimg.com/vi/WKL4E1Q6ZH0/maxresdefault.jpg)
When I click my own custom print button and call PrintToPrinter(), I get the same error message as trying to print a PDF report: I've tried adding my own print button and a drop down list with a list of available printers.Enabling ViewState on the page has no effect on whether printing works or not.I've tried setting up a Virtual Directory for the CrystalReportViewers13 inside the Default Web Site, as recommended by some forum posts I came across.I've installed the latest Crystal Reports service pack (service pack 3).This made no difference in any of the scenarios. I've tried manually installing the ActiveX control from the correct.The error is happening in the dynamically created code for the page - not something that I have written. They are the only binary objects that I can think of that would be associated with this report. There are several dynamic images in the report, but all of them are being displayed correctly when viewing the report. Microsoft JScript runtime error: Object required."ī('MainContent_reportViewer_ UI',eval('('+document.getElementById('_CRYSTALSTATEctl00$MainContent$reportViewer').value+')')) If I do this, and click the print button on the report viewer I get the following error: I've tried doing the following things, none of which have worked:
#Active x crystal report viewer install#
There is no prompt to install an ActiveX control, and nothing pops up allowing me to select a printer (of which I know several are installed). If I click OK on the error message the dialog underneath says "Please wait while the Crystal Reports Print Control is loaded.". This same error happens more than one machine. When I click on the Print icon on the report viewer, I get the following error message:
![active x crystal report viewer active x crystal report viewer](https://flylib.com/books/4/229/1/html/2/images/i27-16.jpg)
The error happens regardless of running it from the IDE or from a set up website on a separate server.I've tried checking the ActiveX settings on Internet Explorer 8, and none of them should be a problem (everything is either set to allow or prompt).
![active x crystal report viewer active x crystal report viewer](http://4.bp.blogspot.com/-KH9EacEDhBQ/UqFNwkvSDTI/AAAAAAAALh0/PB7z7MTv0hE/s1600/01+-+Display+Report+Viewer.gif)
It is being viewed in Internet Explorer 8. Everything is using Crystal Reports version 13, and the ASP.Net web application is using.The build target for the ASP.Net application and related services are x86.(Again, the report displays just fine, showing all content like it should). The data being passed into the report is fine. The report data source is being set by a call to a WCF service. I am setting the report data source from a session variable, as per SAP's recommendation (found in one of their knowledge base articles).The report viewer PrintMode is set to ActiveX.The report appears fine when viewing the report. A Crystal Reports viewer is set up on a page.I'm having some serious issues trying to get a Crystal Reports report printed from an ASP.Net page.