locked
i have some problem with crystal Report 13 more few weeks - -'' RRS feed

  • Question

  • User-93012705 posted

    hi everyone

       i have website (vb.net 2010) and crystal report (13) when i run on my pc (window 7 64 bit) it's work ........ 

    but when i run on server (server 2008 R2 64 bit ) it's have error like this   www.therichestthailand.com/err.jpg

       i already install crystal report 13 runtime for ms server 2008 R2 64 bit

    this my code (100% Username , Password , ServerName , DatabaseName is Correct)

    RptName = New Report_PO 

    Rpt.SetDatabaseLogon(Username, Password, ServerName, DatabaseName)

    Rpt.RecordSelectionFormula = "{Head.P_PO_H_ID} = '{" & Session("id") & "}' "

    Me.CrystalReportViewer1.ReportSource = Rpt

    Rpt.VerifyDatabase()

    Rpt.Refresh()

       Pls help me , thank you very much

    Friday, September 21, 2012 1:28 PM

Answers

  • User1196771204 posted

    hi Zomba,

    I am 100% sure that your current host does not fully Crystal Report. Please note that most of the host providers do not support Crystal Report. If you want to host your reports, you may contact asphostcentral.com

    Hope this helps 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 26, 2012 12:01 AM
  • User-93012705 posted

    hi necro_mancer

         thank u very much for your help. my problem is slove when i change my code to 

        Dim cryRpt As ReportDocument = New ReportDocument
        Dim crtableLogoninfos As TableLogOnInfos = New TableLogOnInfos
        Dim crtableLogoninfo As TableLogOnInfo = New TableLogOnInfo
        Dim crConnectionInfo As ConnectionInfo = New ConnectionInfo
        Dim CrTables As Tables
    
            cryRpt.Load(Server.MapPath(RptName))
             
            crConnectionInfo.ServerName = ServerName
            crConnectionInfo.DatabaseName = DatabaseName
            crConnectionInfo.UserID = Username
            crConnectionInfo.Password = Password 
    
            CrTables = cryRpt.Database.Tables
            For Each CrTable As CrystalDecisions.CrystalReports.Engine.Table In CrTables
                crtableLogoninfo = CrTable.LogOnInfo
                crtableLogoninfo.ConnectionInfo = crConnectionInfo
                CrTable.ApplyLogOnInfo(crtableLogoninfo)
            Next

    thx u again

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 16, 2012 4:46 AM

All replies

  • User1196771204 posted

    hi there,

    based on the error message, it seems that the Crystal Report application is not installed properly. Please kindly contact your hosting provider to have it checked thoroughly.

    Please mark this response as an "answer" if it helps you. Thanks heaps!  

    Saturday, September 22, 2012 12:10 AM
  • User-93012705 posted

    hi necro_mancer

       my hosting installed CRforVS_redist_install_64bit_13_0_1.zip ,

    and did by this link http://stackoverflow.com/questions/5193887/crystal-reports-13-and-asp-net-3-5

       i'm not sure ,it's same that u mean ?   did i miss somthing ?

       thank you

       

    Tuesday, September 25, 2012 12:23 AM
  • User1196771204 posted

    hi Zomba,

    I am 100% sure that your current host does not fully Crystal Report. Please note that most of the host providers do not support Crystal Report. If you want to host your reports, you may contact asphostcentral.com

    Hope this helps 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 26, 2012 12:01 AM
  • User-93012705 posted

    hi necro_mancer

         thank u very much for your help. my problem is slove when i change my code to 

        Dim cryRpt As ReportDocument = New ReportDocument
        Dim crtableLogoninfos As TableLogOnInfos = New TableLogOnInfos
        Dim crtableLogoninfo As TableLogOnInfo = New TableLogOnInfo
        Dim crConnectionInfo As ConnectionInfo = New ConnectionInfo
        Dim CrTables As Tables
    
            cryRpt.Load(Server.MapPath(RptName))
             
            crConnectionInfo.ServerName = ServerName
            crConnectionInfo.DatabaseName = DatabaseName
            crConnectionInfo.UserID = Username
            crConnectionInfo.Password = Password 
    
            CrTables = cryRpt.Database.Tables
            For Each CrTable As CrystalDecisions.CrystalReports.Engine.Table In CrTables
                crtableLogoninfo = CrTable.LogOnInfo
                crtableLogoninfo.ConnectionInfo = crConnectionInfo
                CrTable.ApplyLogOnInfo(crtableLogoninfo)
            Next

    thx u again

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 16, 2012 4:46 AM