Got issue on Webviewer for Version 14.1

Posted by: tsysysy on 14 June 2020, 12:45 pm EST

    • Post Options:
    • Link

    Posted 14 June 2020, 12:45 pm EST - Updated 30 September 2022, 6:35 am EST

    i got issue on version 14 the webviewer.

    i got one screen with the filter for my report

     Dim rpx As New SectionReport
                        Dim ds As New DataSet()
                        Dim xtr As New System.Xml.XmlTextReader(Server.MapPath("~") & "\_Templates\Ar\Tms_TimeSheet.rpx")
    
                        ssql = "Exec sp_tms_SelRptTimeSheet """ & Session("Company").ToString & """,""" & myDS.Tables(0).Rows(0).Item(1).ToString & """,""" & myDS.Tables(0).Rows(0).Item(2).ToString & """,""" & ddlOPTION_GROUP.SelectedValue & """,""" & spid & """,""" & Session("EmpID").ToString & """"
                        ds = mySQL.ExecuteSQL(ssql)
    
                        rpx.LoadLayout(xtr)
                        rpx.DataSource = ds.Tables(0)
                        Session("rptGenericReport") = Nothing
                        Session("rptGenericReport") = rpx
                        myTargetURL = "../../ReportViewer.aspx"
                        Response.Redirect(myTargetURL)
    
                        xtr.Close()
    
    

    then pass the sectionreport to the webviewer page

    
    Imports GrapeCity.ActiveReports
    Imports GrapeCity.ActiveReports.Extensibility
    
    Partial Class ReportViewer
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            If Page.IsPostBack = False Then
                Dim viewprinter As New GrapeCity.ActiveReports.Extensibility.Printing.Printer()
                viewprinter.PrinterName = ""
                WebViewer1.ViewerType = GrapeCity.ActiveReports.Web.ViewerType.HtmlViewer
                WebViewer1.Report = CType(Session("rptGenericReport"), SectionReport)
            End If
        End Sub
    
    End Class
    
    

    but got below error. the script was working fine on version 12.

  • Posted 14 June 2020, 6:24 pm EST

    Hello,

    This issue is fixed in the latest version of AR14. Could you please try with the latest version You can download the same from the following link:

    https://www.grapecity.com/activereports/download

    Thanks,

    Mohit

  • Posted 15 June 2020, 12:40 pm EST

    my activereport version was 14.1.19970, i was using trail version. because i need to make sure this can be work.

    the nuget i install also Grapecity.activereport version 14.1.19970

    the GrapeCity.activereport.web i install version 14.1.2117

    is that got issue.

    is that got new version? because at nuget this was the newest version already.

  • Posted 15 June 2020, 10:40 pm EST

    Hello,

    Yes, it is the latest package. Could you please try with the attached application.

    If issue is not reproducible with the attached application, please modify the attached one or share the stripped-down sample so that I can reproduce the issue at my end.

    Thanks,

    Mohit

    WebViewerApplication1 (2).zip

  • Posted 16 June 2020, 7:43 pm EST

    Hello,

    this sample was can view the report.

    can you list down what i need to install from nuget to get my application working.

    now i only install Grapecity.ActiveReports and Grapecity.ActiveReports.Web

  • Posted 17 June 2020, 5:04 pm EST

    Hello,

    Can try after adding the following package:

    GrapeCity.ActiveReports.Web.Viewer

    If issue is still reproducible, then try after adding the following package

    GrapeCity.ActiveReports.Web.Design

    Hope it helps.

    Thanks,

    Mohit

  • Posted 17 June 2020, 5:18 pm EST - Updated 30 September 2022, 6:35 am EST

    helllo,

    when install the GrapeCity.ActiveReports.Web the Web.viewer and Web.Design already been install.

  • Posted 17 June 2020, 6:01 pm EST

    Hello,

    There is no extra package needed to run the report in WebViewer. Can you please share the sample so that I can replicate the issue at my end.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels