<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: CR SP26 VS2019 Parameter Panel Missing Parameters in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103042#M4521671</link>
    <description>&lt;P&gt;So I have made some progress.  I have updated my viewer to the following: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;CR:CrystalReportViewer 
           ID="crReportViewer" Runat="server" AutoDataBind="True" Height="1250px" HasCrystalLogo="False" BestFitPage="True" DisplayStatusbar="True" ToolPanelView="None" PrintMode="ActiveX"
           EnableDatabaseLogonPrompt="False" 
           ReuseParameterValuesOnRefresh="True" 
           HasRefreshButton="True" 
           HasToggleParameterPanelButton="True"
           HasToggleGroupTreeButton="True" 
           /&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now the parameters are showing in the parameter panel and the report is loading correctly after the original parameter prompt closes.  However, now whenever there is a postback on reports that includes optional prompts in the report, the parameter prompt is shown again with just those optional parameters. 
He is an example of the flow. &lt;/P&gt;&lt;P&gt;1. Load report in web viewer that include 4 parameters, 2 of which are optional &lt;BR /&gt;2. Built-in viewer parameter dialog shows and only the required parameters are picked and click OK &lt;BR /&gt;3. Report loads in viewer correctly. &lt;BR /&gt;4. Any postback is fired from viewer (this example let's say you click Next Page button)
&lt;BR /&gt;5. Built-in viewer parameter prompt appears with only the 2 optional parameters
&lt;BR /&gt;6. You just click OK and the prompt closes, but you are still on page 1.
&lt;BR /&gt;7. You click Next Page again, but this time when the 2 optional parameters appear you select values for both and click OK.
8. Report not loads with values set for all 4 parameters.
&lt;BR /&gt;9. You not click Next Page again, but this time you are shown page 2 as expected. &lt;/P&gt;&lt;P&gt;So it appears to me something is up with the optional parameters after the initial loading of the report.  Here is my code that handles my report loading.  I cannot figure out what I am doing wrong.  Like I said before this all worked prior to SP25.  Something has changed and I am not sure what I need to do now for the optional parameters not to appear after the report is loaded unless I pick the parameter from parameter panel. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  Private crReportDoc As ReportDocument
    Private rpt As String

    Sub LoadCRV()
        Try
            rpt = Request.QueryString("rpt")
            If rpt Is Nothing Then Response.Redirect("~/reports/crm.aspx", False)
            Dim rptPath As String = Nothing
            If rpt IsNot Nothing Then rptPath = Server.MapPath("~/reports/cr/" + rpt)
            If rptPath IsNot Nothing Then
                Try
                    crReportDoc = New ReportDocument
                    crReportDoc.Load(rptPath)

                    For Each rd As ReportDocument In crReportDoc.Subreports
                        crDBLogin(rd)
                    Next
                    crDBLogin(crReportDoc)

                    crReportViewer.ReportSource = crReportDoc

                    'crReportViewer.RefreshReport()
                Catch ex As CrystalReportsException

                Catch ex As Exception

                End Try
            End If
        Catch ex As Exception

        End Try
    End Sub

    Private Sub crReportViewer_Init(sender As Object, e As EventArgs) Handles crReportViewer.Init
        Dim exportFormatFlags As Integer = CInt(CrystalDecisions.[Shared].ViewerExportFormats.PdfFormat Or CrystalDecisions.[Shared].ViewerExportFormats.ExcelFormat)
        crReportViewer.AllowedExportFormats = exportFormatFlags
        'crReportViewer.EnableParameterPrompt = False
        'Report.ParameterFieldInfo.Clear() 'started causing prompt to not go away if set 'removed 12/13/19 CR SP25 &amp;amp; SP26
        LoadCRV()
    End Sub

    Sub crDBLogin(ByVal rptDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument)
        Try
            Dim crCI As New CrystalDecisions.Shared.ConnectionInfo
            With crCI
                .ServerName = System.Configuration.ConfigurationManager.AppSettings("sqlserver")
                .DatabaseName = System.Configuration.ConfigurationManager.AppSettings("database")
                .UserID = System.Configuration.ConfigurationManager.AppSettings("user")
                .Password = System.Configuration.ConfigurationManager.AppSettings("pwd")
                .Type = CrystalDecisions.Shared.ConnectionInfoType.SQL
                .IntegratedSecurity = False
            End With
            For Each crTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                Dim li As CrystalDecisions.Shared.TableLogOnInfo = crTable.LogOnInfo
                li.ConnectionInfo = crCI
                crTable.ApplyLogOnInfo(li)
                'crTable.Location = crCI.DatabaseName &amp;amp; ".dbo." &amp;amp; crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
            Next
            'rptDoc.SetDatabaseLogon(ConfigurationManager.AppSettings("user"), ConfigurationManager.AppSettings("pwd"), ConfigurationManager.AppSettings("sqlserver"), ConfigurationManager.AppSettings("database"))
            rptDoc.VerifyDatabase()
        Catch ex As CrystalDecisions.Shared.CrystalReportsException


        End Try
    End Sub

    Private Sub cr_Unload(sender As Object, e As System.EventArgs) Handles Me.Unload
        If rpt IsNot Nothing Then
            If crReportDoc IsNot Nothing Then
                If crReportDoc.Subreports IsNot Nothing Then
                    For Each srDoc As ReportDocument In crReportDoc.Subreports
                        If srDoc IsNot Nothing Then
                            srDoc.Close()
                            'srDoc.Clone() 'idea from web post
                            srDoc.Dispose()
                            GC.Collect()
                            'GC.WaitForPendingFinalizers() 'idea from web post
                        End If
                    Next
                End If
                crReportDoc.Close()
                'crReportDoc.Clone() 'idea from web post
                crReportDoc.Dispose()
                GC.Collect()
                'GC.WaitForPendingFinalizers() 'idea from web post
            End If

            If crReportViewer IsNot Nothing Then
                crReportViewer.Dispose()
            End If
        End If
    End Sub&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Jan 2020 18:24:55 GMT</pubDate>
    <dc:creator>kevin_hicks</dc:creator>
    <dc:date>2020-01-08T18:24:55Z</dc:date>
    <item>
      <title>CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaq-p/12103033</link>
      <description>&lt;P&gt;I have run the the update to SP26 for some reason my parameters are no longer showing up in the parameter panel on the web crystalreportviewer after the report has initially loaded. The parameter(s) is prompted initially to run the report. &lt;/P&gt;
  &lt;P&gt;As a work around I have set HasToggleParameterPanelButton= false, HasRefreshButton=true, and ReuseParameterValuesOnRefresh=false. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;&amp;lt;CR:CrystalReportViewer ID="Report" Runat="server" AutoDataBind="true" Height="1250px" HasCrystalLogo="False" HasRefreshButton="True" HasToggleParameterPanelButton="false" BestFitPage="True" ReuseParameterValuesOnRefresh="false" ToolPanelView="None" DisplayStatusbar="True" HasToggleGroupTreeButton="false" EnableDatabaseLogonPrompt="False" PrintMode="ActiveX" /&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;This does show the parameter(s) as expected. My report parameters are set to editable and when you loop through the parameterfield using the code below the Usage2 values is already set to all the available values (side note, this snip came from another post, but if you try it you will get a Not Supported exception)&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;foreach (CrystalDecisions.Shared.ParameterField parameterField in reportDocument.ParameterFields)
{
  parameterField.ParameterFieldUsage2 = ParameterFieldUsage2.ShowOnPanel;
}&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;As you can see from pic here the parameter for this report is missing from the Parameter Panel. Not sure how to fix this issue. Any suggestions would be appreciated. Thinking it might be a bug. I included my code below for reference. Prior to SP25 I was clearing the parameterfieldinfo property using Report.ParameterFieldInfo.Clear() in the report init method. This might have something to do with the missing parameters, but I have no way of testing, because if I add that back I cannot get the report to load as when you click the OK on the parameter dialog the report's ajax postback just returns the parameter dialog back instead of the rendered report.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1755019-capture1.png" /&gt;&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt; Private crReportDoc As ReportDocument
 Private rpt As String

    Private Sub Report_Init(sender As Object, e As System.EventArgs) Handles Report.Init
        Dim exportFormatFlags As Integer = CInt(CrystalDecisions.[Shared].ViewerExportFormats.PdfFormat Or CrystalDecisions.[Shared].ViewerExportFormats.ExcelFormat)
        Report.AllowedExportFormats = exportFormatFlags
        'Report.ParameterFieldInfo.Clear() 'started causing prompt to not go away if set 'removed 12/13/19 CR SP25 &amp;amp; SP26
        LoadCRV()
    End Sub
    Sub LoadCRV()
        Try
            rpt = Request.QueryString("rpt")
            If rpt Is Nothing Then Response.Redirect("~/reports/crm.aspx")
            Dim rptPath As String = Nothing
            If rpt IsNot Nothing Then rptPath = Server.MapPath("~/reports/cr/" + rpt)
            If rptPath IsNot Nothing Then
                Try
                    crReportDoc = New ReportDocument
                    crReportDoc.Load(rptPath)
                    For Each rd As ReportDocument In crReportDoc.Subreports
                        crDBLogin(rd)
                    Next
                    crDBLogin(crReportDoc)
                    Report.ReportSource = crReportDoc

                    Report.RefreshReport()
                Catch ex As CrystalReportsException
                Catch ex As Exception
                End Try
            End If
        Catch ex As Exception
        End Try
    End Sub
    Private Sub cr_Unload(sender As Object, e As System.EventArgs) Handles Me.Unload
        If rpt IsNot Nothing Then
            If crReportDoc IsNot Nothing Then
                If crReportDoc.Subreports IsNot Nothing Then
                    For Each srDoc As ReportDocument In crReportDoc.Subreports
                        If srDoc IsNot Nothing Then
                            srDoc.Close()
                            'srDoc.Clone() 'idea from web post
                            srDoc.Dispose()
                            GC.Collect()
                            'GC.WaitForPendingFinalizers() 'idea from web post
                        End If
                    Next
                End If
                crReportDoc.Close()
                'crReportDoc.Clone() 'idea from web post
                crReportDoc.Dispose()
                GC.Collect()
                'GC.WaitForPendingFinalizers() 'idea from web post
            End If
            If Report IsNot Nothing Then
                Report.Dispose()
            End If
        End If
    End Sub
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Notes about my upgrade:&lt;/P&gt;
  &lt;P&gt;I ran the exe as the admin as instructed. I let it install the 64bit msi. The 32bit msi was already installed, but did not get updated. I updated it manually. The VS toolbox still has the .3500 controls referenced so I removed them and added the new items (not sure if that was suppose to happen automatically). I did remove all my references in the image below and added them back which updated the project file to the .4000 dll's.&lt;/P&gt;
  &lt;P&gt;Project Specs&lt;BR /&gt;x86, 4.7.2 framework&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1755018-capture.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 16:42:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaq-p/12103033</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2019-12-13T16:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103034#M4521663</link>
      <description>&lt;P&gt;Don't install the 32 bit MSI on your DEV PC, not required. Just install the EXE.&lt;/P&gt;&lt;P&gt;Make sure the Viewer was updated as well to 13.0.4000.0&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 14:21:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103034#M4521663</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2019-12-16T14:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103035#M4521664</link>
      <description>&lt;P&gt;Don, thanks for the response.  I went ahead and uninstalled the 32 bit MSI.  All references are using 13.0.4000.0.  Removed all project references and added them back as instructed in the wiki.  Here is my complete viewer code.  I went ahead and switched HasToggleParam and ReuseParam values back to true and false, but the values still do not appear on the parameter panel.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;%@ Page Language="vb" AutoEventWireup="false" CodeBehind="cr.aspx.vb" Inherits="MJHCRM.cr" %&amp;gt;
&amp;lt;%@ Register Assembly="CrystalDecisions.Web, Version=13.0.4000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %&amp;gt;
&amp;lt;!doctype html&amp;gt;
&amp;lt;html lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;CR Viewer&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;form id="crForm" runat="server"&amp;gt;
       &amp;lt;CR:CrystalReportViewer ID="Report" Runat="server" AutoDataBind="true" Height="1250px" HasCrystalLogo="False" HasRefreshButton="True" HasToggleParameterPanelButton="true" BestFitPage="True" ReuseParameterValuesOnRefresh="true" ToolPanelView="None" DisplayStatusbar="True" HasToggleGroupTreeButton="false" EnableDatabaseLogonPrompt="False" PrintMode="ActiveX"  /&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Dec 2019 21:01:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103035#M4521664</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2019-12-16T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103036#M4521665</link>
      <description>&lt;P&gt;Are you using Sessions and Postback to keep the report in scope?&lt;/P&gt;&lt;P&gt;See this KBA:&lt;/P&gt;&lt;P&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/1985571" target="test_blank"&gt;https://launchpad.support.sap.com/#/notes/1985571&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 22:58:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103036#M4521665</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2019-12-17T22:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103037#M4521666</link>
      <description>&lt;P&gt;Strange since I have never had an issue prior to SP25.  Is this a new thing?  Also, I tried setting my ReportDocument to the sesssion, but get this exception. &lt;/P&gt;&lt;P&gt;Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.&lt;/P&gt;&lt;P&gt;Caused By: System.NotSupportedException Not supported within subreports&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 14:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103037#M4521666</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2019-12-18T14:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103038#M4521667</link>
      <description>&lt;P&gt;Theres's been updates to resources. Try ProcessMonitor and see what it's looking for.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 20:29:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103038#M4521667</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2019-12-19T20:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103039#M4521668</link>
      <description>&lt;P&gt;Do you have a good link on how to use that tool?  &lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 18:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103039#M4521668</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2019-12-30T18:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103040#M4521669</link>
      <description>&lt;P&gt;just add your EXE to the filter...&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2020 19:16:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103040#M4521669</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2020-01-06T19:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103041#M4521670</link>
      <description>&lt;P&gt;This is a web app, what process do I need to monitor, IIS Express or something else?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 02:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103041#M4521670</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-07T02:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103042#M4521671</link>
      <description>&lt;P&gt;So I have made some progress.  I have updated my viewer to the following: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;CR:CrystalReportViewer 
           ID="crReportViewer" Runat="server" AutoDataBind="True" Height="1250px" HasCrystalLogo="False" BestFitPage="True" DisplayStatusbar="True" ToolPanelView="None" PrintMode="ActiveX"
           EnableDatabaseLogonPrompt="False" 
           ReuseParameterValuesOnRefresh="True" 
           HasRefreshButton="True" 
           HasToggleParameterPanelButton="True"
           HasToggleGroupTreeButton="True" 
           /&amp;gt; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Now the parameters are showing in the parameter panel and the report is loading correctly after the original parameter prompt closes.  However, now whenever there is a postback on reports that includes optional prompts in the report, the parameter prompt is shown again with just those optional parameters. 
He is an example of the flow. &lt;/P&gt;&lt;P&gt;1. Load report in web viewer that include 4 parameters, 2 of which are optional &lt;BR /&gt;2. Built-in viewer parameter dialog shows and only the required parameters are picked and click OK &lt;BR /&gt;3. Report loads in viewer correctly. &lt;BR /&gt;4. Any postback is fired from viewer (this example let's say you click Next Page button)
&lt;BR /&gt;5. Built-in viewer parameter prompt appears with only the 2 optional parameters
&lt;BR /&gt;6. You just click OK and the prompt closes, but you are still on page 1.
&lt;BR /&gt;7. You click Next Page again, but this time when the 2 optional parameters appear you select values for both and click OK.
8. Report not loads with values set for all 4 parameters.
&lt;BR /&gt;9. You not click Next Page again, but this time you are shown page 2 as expected. &lt;/P&gt;&lt;P&gt;So it appears to me something is up with the optional parameters after the initial loading of the report.  Here is my code that handles my report loading.  I cannot figure out what I am doing wrong.  Like I said before this all worked prior to SP25.  Something has changed and I am not sure what I need to do now for the optional parameters not to appear after the report is loaded unless I pick the parameter from parameter panel. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  Private crReportDoc As ReportDocument
    Private rpt As String

    Sub LoadCRV()
        Try
            rpt = Request.QueryString("rpt")
            If rpt Is Nothing Then Response.Redirect("~/reports/crm.aspx", False)
            Dim rptPath As String = Nothing
            If rpt IsNot Nothing Then rptPath = Server.MapPath("~/reports/cr/" + rpt)
            If rptPath IsNot Nothing Then
                Try
                    crReportDoc = New ReportDocument
                    crReportDoc.Load(rptPath)

                    For Each rd As ReportDocument In crReportDoc.Subreports
                        crDBLogin(rd)
                    Next
                    crDBLogin(crReportDoc)

                    crReportViewer.ReportSource = crReportDoc

                    'crReportViewer.RefreshReport()
                Catch ex As CrystalReportsException

                Catch ex As Exception

                End Try
            End If
        Catch ex As Exception

        End Try
    End Sub

    Private Sub crReportViewer_Init(sender As Object, e As EventArgs) Handles crReportViewer.Init
        Dim exportFormatFlags As Integer = CInt(CrystalDecisions.[Shared].ViewerExportFormats.PdfFormat Or CrystalDecisions.[Shared].ViewerExportFormats.ExcelFormat)
        crReportViewer.AllowedExportFormats = exportFormatFlags
        'crReportViewer.EnableParameterPrompt = False
        'Report.ParameterFieldInfo.Clear() 'started causing prompt to not go away if set 'removed 12/13/19 CR SP25 &amp;amp; SP26
        LoadCRV()
    End Sub

    Sub crDBLogin(ByVal rptDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument)
        Try
            Dim crCI As New CrystalDecisions.Shared.ConnectionInfo
            With crCI
                .ServerName = System.Configuration.ConfigurationManager.AppSettings("sqlserver")
                .DatabaseName = System.Configuration.ConfigurationManager.AppSettings("database")
                .UserID = System.Configuration.ConfigurationManager.AppSettings("user")
                .Password = System.Configuration.ConfigurationManager.AppSettings("pwd")
                .Type = CrystalDecisions.Shared.ConnectionInfoType.SQL
                .IntegratedSecurity = False
            End With
            For Each crTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
                Dim li As CrystalDecisions.Shared.TableLogOnInfo = crTable.LogOnInfo
                li.ConnectionInfo = crCI
                crTable.ApplyLogOnInfo(li)
                'crTable.Location = crCI.DatabaseName &amp;amp; ".dbo." &amp;amp; crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
            Next
            'rptDoc.SetDatabaseLogon(ConfigurationManager.AppSettings("user"), ConfigurationManager.AppSettings("pwd"), ConfigurationManager.AppSettings("sqlserver"), ConfigurationManager.AppSettings("database"))
            rptDoc.VerifyDatabase()
        Catch ex As CrystalDecisions.Shared.CrystalReportsException


        End Try
    End Sub

    Private Sub cr_Unload(sender As Object, e As System.EventArgs) Handles Me.Unload
        If rpt IsNot Nothing Then
            If crReportDoc IsNot Nothing Then
                If crReportDoc.Subreports IsNot Nothing Then
                    For Each srDoc As ReportDocument In crReportDoc.Subreports
                        If srDoc IsNot Nothing Then
                            srDoc.Close()
                            'srDoc.Clone() 'idea from web post
                            srDoc.Dispose()
                            GC.Collect()
                            'GC.WaitForPendingFinalizers() 'idea from web post
                        End If
                    Next
                End If
                crReportDoc.Close()
                'crReportDoc.Clone() 'idea from web post
                crReportDoc.Dispose()
                GC.Collect()
                'GC.WaitForPendingFinalizers() 'idea from web post
            End If

            If crReportViewer IsNot Nothing Then
                crReportViewer.Dispose()
            End If
        End If
    End Sub&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jan 2020 18:24:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103042#M4521671</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-08T18:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103043#M4521672</link>
      <description>&lt;P&gt;And just to be clear.  I can load this very same report is optional parameters in CR 2013 SP12 and after the initial parameter selection I go directly to page two without getting prompted for the optional parameter.  So this would make me believe nothing is wrong with the actual report itself.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 18:33:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103043#M4521672</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-08T18:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103044#M4521673</link>
      <description>&lt;P&gt;Yes, monitor the web server&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2020 21:41:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103044#M4521673</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2020-01-08T21:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103045#M4521674</link>
      <description>&lt;P&gt;Ok  &lt;SPAN class="mention-scrubbed"&gt;don.williams&lt;/SPAN&gt; I have run the processmonitor, but I have no clue what I am looking for.  I ran it just on iisexpress and only when I clicked the next page button in the crystal report viewer and when it prompted for the optional parameters I clicked stop on the process montior.  Captured 42000 events.  Should I filter those events with just SAP in the path?  I am going to start reviewing now just to see if I can find anything that makes sense.&lt;/P&gt;&lt;P&gt;Also, I added two additional notes to the main question.  I am starting to believe this might a bug related to handling optional prompts (parameters).  Thanks for the help so far!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 15:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103045#M4521674</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-09T15:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103046#M4521675</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;don.williams&lt;/SPAN&gt; so now I am really thinking this might be a bug with SP26.  Will you please see if you can reproduce the optional prompt issue?  &lt;/P&gt;&lt;P&gt;I have attached a sample project. (&lt;A href="https://tfs.mjharris.com/drive/d/f/531029240286552073" target="_blank"&gt;sample project here&lt;/A&gt;)  This project was created using the crystal reports website template.  I have one test.rpt file.  Run the project and select the Name property only.  Once report loads, then click next page.  You should get a prompt for Color which is the optional parameter.  If you just hit ok, then window closes but still on page 1.  If you select a color it updates the report, but still on page 1.  Only then can you click next page and page 2 will load.&lt;/P&gt;&lt;P&gt;My project is a web app and this a newer website project, so I am convinced it has to be a bug.  Hopefully you will get the same results.&lt;/P&gt;&lt;P&gt;Don't forget to add the asp_net virtual directory to the vs/applicationhost.config file so the viewer loads. I also updated the physicalPath, but you might have to update that too if VS doesn't do it for you. &lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1761512-capture.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 17:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103046#M4521675</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-09T17:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103047#M4521676</link>
      <description>&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;Thanks for the test app andf the viewer warning.&lt;/P&gt;&lt;P&gt;So I copied the CR viewer folder into the AppData folder:&lt;/P&gt;&lt;P&gt;C:\inetpub\wwwroot\CrystalReportsWebSite12\CrystalReportsWebSite1\App_Data\crystalreportviewers13&lt;/P&gt;&lt;P&gt;It works for me:&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1763539-ulykr.png" /&gt;&lt;/P&gt;&lt;P&gt;Use Fiddler and see where it's trying to load the various CR resources from.&lt;/P&gt;&lt;P&gt;The JS file it's not finding is in here:&lt;/P&gt;&lt;P&gt;C:\inetpub\wwwroot\CrystalReportsWebSite12\CrystalReportsWebSite1\App_Data\crystalreportviewers13\prompting\js&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;P&gt;Don&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 19:27:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103047#M4521676</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2020-01-09T19:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103048#M4521677</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;don.williams&lt;/SPAN&gt; I have made a quick video to make sure we are both on the same page.  Still feel like we are looking at a bug here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://vimeo.com/383845145" target="_blank"&gt;Video link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks, Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 21:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103048#M4521677</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-09T21:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103049#M4521678</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;don.williams&lt;/SPAN&gt; did you have a chance to watch my video in above post?  I am assuming you did and were able to replicate the issue at hand.  If so, any timeline on a possible fix or work-around?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2020 19:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103049#M4521678</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-13T19:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103050#M4521679</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;don.williams&lt;/SPAN&gt; hate to keep bugging you, no pun intended, haha.  I assume at this point something is in in the works about the bug I have identified in my video and sample solution.  Could you please provide some kind of update so I can respond to my team accordingly?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 02:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103050#M4521679</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-17T02:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103051#M4521680</link>
      <description>&lt;P&gt;Video link no longer works.&lt;/P&gt;&lt;P&gt;Your test app works for me so it's environmental on your system likely causing the problem.&lt;/P&gt;&lt;P&gt;Parameter prompts are handled by js files in the Viewer folder:&lt;/P&gt;&lt;P&gt;C:\inetpub\wwwroot\aspnet_client\system_web\4_0_30319\crystalreportviewers13\js&lt;/P&gt;&lt;P&gt;Note there is a new Parameter reference in the project you need to use. So remove the old Flash component from your references, then it should work again for you.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 18:22:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103051#M4521680</guid>
      <dc:creator>former_member11696</dc:creator>
      <dc:date>2020-01-17T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: CR SP26 VS2019 Parameter Panel Missing Parameters</title>
      <link>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103052#M4521681</link>
      <description>&lt;P&gt;Try video again please. Changed privacy setting. &lt;/P&gt;&lt;P&gt;&lt;A href="https://vimeo.com/383845145"&gt;&lt;/A&gt;&lt;A href="https://vimeo.com/383845145" target="test_blank"&gt;https://vimeo.com/383845145&lt;/A&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Not using flash. What is parameter reference you are talking about?&lt;/P&gt;&lt;P&gt;Video shows the issue I’m experiencing.  Hopefully you can view it and repeat the issue on your end. &lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 20:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/cr-sp26-vs2019-parameter-panel-missing-parameters/qaa-p/12103052#M4521681</guid>
      <dc:creator>kevin_hicks</dc:creator>
      <dc:date>2020-01-17T20:40:29Z</dc:date>
    </item>
  </channel>
</rss>

