Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 901
  • Last Modified:

Visual Studio's Crystal Reports problem with toolbar functionality

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
olegjay
Asked:
olegjay
  • 2
1 Solution
 
mlmccCommented:
Did you load the export dlls?  Did you include the export merge modules?

mlmcc
0
 
mlmccCommented:
Glad i could help

mlmcc
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now