Solved

Visual Studio's Crystal Reports problem with toolbar functionality

Posted on 2006-11-09
2
880 Views
Last Modified: 2012-06-22
Hi,
I have created a asp.net page in visual studio 2005 that mainly consists of a "crystalreportveiwer" that references a crystalreport.rpt file I created. I have the toolbar visible and whenever I click on either print or export I get an error. In firefox a new smaller window attempts to load and shows "This page cannot be found" in IE it just redraws the page and I get the yellow triangle with exclamation point in my lower left hand corner, the error reads " object doesn't support this action" and says the error is on line 1308 which is the blank line after this closing script tag:
<Script language='javascript'>
<!--
ScrollToCrystalHighLighted();
// -->
</Script>

I am running this on my localhost for now. My report pulls information from two seperate databases on the same sql server and simply displays some fields. I can get the export to work for pdf and excel formats programaticly by doing this:
       
       System.IO.MemoryStream oStream;
        oStream = (System.IO.MemoryStream)
        crReportDocument.ExportToStream(
        CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
        Response.Clear();
        Response.Buffer = true;
        Response.ContentType = "application/pdf";
        Response.BinaryWrite(oStream.ToArray());
        Response.End();

But I would prefer to have the toolbar export working instead. Am I possibly missing some DLLs? and if so where should I look and for what?
0
Comment
Question by:olegjay
  • 2
2 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Did you load the export dlls?  Did you include the export merge modules?

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Glad i could help

mlmcc
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now