Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have dot net c# application which is using VS 2010 with Mysql.
I have installed Crystal Reports 13.0.
I can run reports made in above tool on local server but on IIS 7.5 reports are not running.
Have been struggling for last more than 2 weeks but not found any solution for this.
Please help.
Thanks in advance.

Regards,
Amita
Posted
Comments
thatraja 21-Jan-14 2:13am    
what's the problem? error message? always include complete details to get answers
Ami2014 21-Jan-14 2:21am    
When I run application via IIS; its not showing any error but its not showing report also.
Whereas same report running fine without error on local machine.
No clue, Please help. Thanks
thatraja 21-Jan-14 2:25am    
So when you load the report page not displaying error(or anything else)?
Ami2014 21-Jan-14 2:25am    
ReportPOForm.aspx file contains foll code:

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MainHeader.Master" CodeBehind="ReportPOForm.aspx.cs"
Inherits="Inventory.Report.ReportPOForm" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
namespace="CrystalDecisions.Web" tagprefix="CR" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<CR:CrystalReportViewer ID="CrystalReportViewer1"
runat="server"
AutoDataBind="True" ReportSourceID="CrystalReportSource1"
GroupTreeImagesFolderUrl="" Height="50px" ToolbarImagesFolderUrl=""
ToolPanelWidth="200px" Width="350px" />

<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<report filename="\Inv\Report\Product.rpt">



----------------------------------

On Page Load of ReportPOForm.aspx.cs has foll code:
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(Server.MapPath("/Inv/Report/Product.rpt"));
CrystalReportViewer1.ReportSource = rptDoc;

When I call ReportPOForm; no report or error is coming that is the problem.
Ami2014 21-Jan-14 3:13am    
Please help... I am stuck up... Not able to proceed

1 solution

Recently answered similar question, check it out.
Crystal report viewer not show data at all[^]

Note: OP confirmed that he solved the issue.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900