on 01-26-2015 11:43 AM
I have a crystal report file "FollowUp.rpt". When I open this file, it shows the "Main Report Preview" loaded data perfectly.
The problem I have is that when I want to show this report on the "FollowUp.aspx" form using the CrystalReportViewer1 object, nothing appears on the form at all. The strange thing is that there was error appearing "Error Loading Report" on the form. I fixed this error by making sure the path of the underlying "FollowUp.rpt" file is accurate.
Now, although the error is fixed and no more shown, the CrystalReportViewer1 object is NOT Showing at all.
I am using Visual Studio Professional 2013, FireFox 35.0, SAP Crystal Report 13.0.9.1312.
My Code vb.net is as following:
Protected Sub OfficeExecute_Click() If page.isvalid=True then LoadReportData() Dim crystalReport as new reportDocument() crystalreport.load((Server.mappath("~/Reports/FollowUp.rpt")) CrystalReportViewer1.ReportSource=crystalreport Response.redirect(httpcontext.current.request.url.tostring(),True) endif End Sub
The aspx code is as following:
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPages/MasterPage.master" AutoEventWireup="false" CodeFile="FollowUp.aspx.vb" Inherits="Reports_FollowUp" MaintainScrollPositionOnPostback="true" %> <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> . . . </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="CpMainContent" runat="sever> . . . . . . <div id="ReportDiv" runat="server"...> <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" GroupTreeImagesFolderUrl="" Height="50px" ReportSourceID="CrystalReportSource1" ToolbarImagesFolderUrl="" ToolPanelWidth="200px" Width="300px" CssClass="ReportViewerStyle" /> <CR:CrystalReportSource ID="CrystalReportSource1" runat="server"> <Report FileName="~/Reports/FollowUp.rpt"> </Report> </CR:CrystalReportSource> </div> . . . . </asp:Content>
Is there any expert who can help me solving this Crystal Report dilemma?
Thanks,
What version of Java are you running? Also, you have an older version of the SDK - it's now on SP12 with SP13 due out in the next couple of weeks. The older SDK may not work with the latest version of Firefox - the latest version of the Product Availability Matrix shows it's certified to work with Firefox ESR 31.
-Dell
Message was edited by: Dell Stinnett-Christy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.