Solved

Visual Studio's Crystal Reports problem with toolbar functionality

Posted on 2006-11-09
2
892 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: 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.

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. …
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

742 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