Solved

Visual Studio's Crystal Reports problem with toolbar functionality

Posted on 2006-11-09
2
890 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
ID: 17922906
Did you load the export dlls?  Did you include the export merge modules?

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18038413
Glad i could help

mlmcc
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 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