Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

CrystalReport 13.0 is not showing on VS 2013 professional form when running on FireFox 35.0

$
0
0

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:

ProtectedSubOfficeExecute_Click()  If page.isvalid=TruethenLoadReportData()Dim crystalReport asnew reportDocument() crystalreport.load((Server.mappath("~/Reports/FollowUp.rpt"))CrystalReportViewer1.ReportSource=crystalreport Response.redirect(httpcontext.current.request.url.tostring(),True) endif  EndSub

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:ContentID="Content1"ContentPlaceHolderID="head"Runat="Server">  <styletype="text/css">...</style>  </asp:Content>  <asp:ContentID="Content2"ContentPlaceHolderID="CpMainContent"runat="sever> . . . . . . <divid="ReportDiv"runat="server"...><CR:CrystalReportViewerID="CrystalReportViewer1"runat="server"AutoDataBind="True"GroupTreeImagesFolderUrl=""Height="50px"ReportSourceID="CrystalReportSource1"ToolbarImagesFolderUrl=""ToolPanelWidth="200px"Width="300px"CssClass="ReportViewerStyle"/>  <CR:CrystalReportSourceID="CrystalReportSource1"runat="server">  <ReportFileName="~/Reports/FollowUp.rpt">  </Report>  </CR:CrystalReportSource>  </div>  . . . . </asp:Content>

 

Is there any expert who can help me solving this Crystal Report dilemma?

Thanks,


Viewing all articles
Browse latest Browse all 2556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>