WebViewer problem in AR15

Posted by: librasoft on 19 April 2023, 5:09 am EST

    • Post Options:
    • Link

    Posted 19 April 2023, 5:09 am EST

    Hi,

    When i working in VS2019 IDE the project are runs fine and shows section report in webviewer, but after deployment to remorte server the error occur “Report not found: Report Instance Error-63716305”.

    code language is VB.Net

    global.asax.vb

    Imports System.Web.Http

    Imports System.IO

    Imports GrapeCity.ActiveReports.Web

    Public Class Global_asax

    Inherits System.Web.HttpApplication

    Protected Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)

    Me.UseReporting(Sub(settings)

    settings.UseFileStore(New DirectoryInfo(Server.MapPath(“~”)))

    settings.UseCompression = True

    settings.UseCustomStore(AddressOf GetReport)

    End Sub)

    End Sub

    Public Function GetReport(ByVal Optional reportName As String = “SectionReport”) As Object

    Dim rpt As SectionReport1 = New SectionReport1()

    Return rpt

    End Function

    End Class

    default.asax.vb

    Public Class _Default

    Inherits System.Web.UI.Page

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

    Dim rpt As New SectionReport1()

    rpt.Restart()

    WebViewer1.Report = rpt

    rpt.Run()

    End Sub

    End Class

    default.axpx

    <%@ Page Language=“vb” AutoEventWireup=“false” CodeBehind=“Default.aspx.vb” Inherits=“WebApplication2._Default” %>

    <%@ Register assembly=“GrapeCity.ActiveReports.Web” namespace=“GrapeCity.ActiveReports.Web” tagprefix=“ActiveReportsWeb” %>

    sectionReort1.vb

  • Posted 20 April 2023, 4:35 pm EST

    Hi Imran,

    We tried to replicate the issue by creating a new ‘SectionReport1.vb’ and using your exact code in our sample. And deploying the same in our case to Azure, however, the issue does not seem to replicate on our end.

    We have attached a sample for your reference you may refer/modify the same as per your requirements.

    However, if the issue persists please try sharing a sample that replicates the issue, also tell us more about the server you are deploying your project to so we could test the same on our end and further investigate the issue.

    Regards,

    Anand

    WebViewer_ASP.NET_VB.NET.zip

Need extra support?

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

Learn More

Forum Channels