Crystal report does not display data RRS feed

  • Question

  • Hi All,
    I'm creating a crystal report that will be accessed via a website. The code is below. The problem is that when i run the program and click the link to the report, i am only seeing the column headings but no data.
    Please reply as to how i can fix this problen

    Imports CrystalDecisions.CrystalReports.Engine

    Imports CrystalDecisions.Shared

    Imports System.Data

    Partial Class Default3

    Inherits System.Web.UI.Page

    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Me.Load


    End Sub

    Private Sub ConfigureCrystalReports()

    Dim connecinfo As ConnectionInfo = New ConnectionInfo

    With connecinfo

    .ServerName = "mySever"

    .DatabaseName = "myDbase"

    End With

    Dim reportpath As String = Server.MapPath("CrystalReport.rpt")

    CrystalReportViewer1.ReportSource = reportpath

    End Sub

    Private Sub SetDBLogonForReport(ByVal ConnecInfo As ConnectionInfo)

    Dim myTableLogOnInfos As TableLogOnInfos = CrystalReportViewer1.LogOnInfo

    For Each myTableLogOnInfo As TableLogOnInfo In myTableLogOnInfos

    myTableLogOnInfo.ConnectionInfo = connecInfo


    End Sub

    End Class

    Monday, December 22, 2008 3:24 PM



    Hello Nickoy, 


    Thank you for your post!  I would suggest posting your question in one of the MSDN > Forums Home > Visual Studio > Crystal Reports for Visual Studio located here:  http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/threads/.

    Have a great day!

    Sudarshan shindode Tier 2 Application Support Server and Tools Online Engineering Live Services Team
    • Proposed as answer by sudarshans1 Monday, December 29, 2008 5:17 AM
    • Marked as answer by sudarshans1 Monday, March 23, 2009 11:10 AM
    Monday, December 29, 2008 5:17 AM