Re: CrystalReportViewer not show in aspx

From: Richard (richardp_at_e-hkma.com)
Date: 04/17/04


Date: 16 Apr 2004 19:25:49 -0700

Thx Steve. I can display Crstal Report in Web browser now by typing
"aspnet_regiis.exe -i" under the
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322" path of client IIS
machine.

Richard

<Steve> wrote in message news:<e7eSbc6IEHA.2876@TK2MSFTNGP09.phx.gbl>...
> If that's the literal content being returned to the browser, then it looks
> like the problem is with ASP.NET/IIS, not Crystal. Verify that you have the
> .Net Framework and ASP.NET installed on the IIS machine. If ASP.NET is
> installed but IIS is not recognizing the .aspx extension, run aspnet_regiis
> to fix the mappings.
>
> "Richard" <richardp@e-hkma.com> wrote in message
> news:edc69499.0404152214.2344b959@posting.google.com...
> > Hi,
> >
> > I have used CrystalReportViewer to display report in aspx. By using
> > "PUSH" approach, I have created a dataset with data and assigned them
> > into pre-defined crystal report. Finally, the crystal report object is
> > assigned to CrystalReportViewer.
> >
> > The report is shown correctly in web browser in developer's machine.
> > However, the report is not shown in other machine if I put those file
> > into another IIS machine even with Crystal Enterprise installed. It
> > only show the content of the page like this
> >
> > <%@ Page language="VB" AutoEventWireup="false"
> > Codebehind="WebForm1.aspx.vb" Inherits="PUSH.WebForm1"%>
> > <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
> > Assembly="CrystalDecisions.Web, Version=9.2.3300.0, Culture=neutral,
> > PublicKeyToken=692fbea5521e1304" %>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <title>WebForm1</title>
> > <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
> > <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="http://schemas.microsoft.com/intellisense/ie5">
> > </HEAD>
> > <body MS_POSITIONING="GridLayout">
> > <form id="Form1" method="post" runat="server">
> > <FONT face="&#26032;&#32048;&#26126;&#39636;">
> > <cr:CrystalReportViewer id="CrystalReportViewer1" style="Z-INDEX:
> > 101; LEFT: 23px; POSITION: absolute; TOP: 16px" runat="server"
> > Width="518px" Height="19px"></cr:CrystalReportViewer></FONT>
> > </form>
> > </body>
> > </HTML>
> > --------------------------------------------------------------------------
> >
> > How to show crystal report in web browser correctly? Any thing I need
> > to install in the IIS machine?
> >
> >
> > Here is the original code in WebForm1.aspx.vb
> > -----------------------------------------
> > Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
> > System.EventArgs) Handles MyBase.Load
> > Dim crpt As New CrystalReport1()
> > Dim myDS As New DataSet()
> > Dim myTable As DataTable
> > Dim row As DataRow
> > Me.CrystalReportViewer1.Visible = True
> > myDS.ReadXmlSchema(Server.MapPath("\PUSH\bin\Dataset1.xsd"))
> > myTable = myDS.Tables("Account")
> > row = myTable.NewRow()
> > row("Fname") = "Mathew"
> > row("Lname") = "Hayden"
> > row("Salary") = "5000$"
> > myTable.Rows.Add(row)
> > crpt.SetDataSource(myDS)
> > Me.CrystalReportViewer1.ReportSource = crpt
> > End Sub
> >
> > ------------------------------------------------------------



Relevant Pages

  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Enabled Integrated Windows authentication ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)
  • Re: Problem: IIS 6 ASP sessions disconnections
    ... After configuring IIS recycling monitoring, i get this entry on the event ... should IISState report the problem asp pages? ...
    (microsoft.public.inetserver.iis)
  • Re: IIS logs for Exchange/OMA Access
    ... "Please also take your time to check IIS setting to make sure they are ... The SBS 2003 Monitoring and Reporting can monitor your server performance, ... Select Receive a daily performance report in e-mail, ... < Integrated Windows Authentication: Ticked ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Select Edit in Authentication and access control box. ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)
  • Re: IIS logs for Exchange/OMA Access
    ... Open IIS Manager ... Select Edit in Authentication and access control box. ... gather the log with Monitoring and Reporting. ... Select Receive a daily performance report in e-mail, ...
    (microsoft.public.windows.server.sbs)