C# 水晶报告没有';在HTTPS页面中似乎没有

C# 水晶报告没有';在HTTPS页面中似乎没有,c#,asp.net,https,crystal-reports,C#,Asp.net,Https,Crystal Reports,我的asp.net页面中有一个CrsytalReportView。我正在页面加载事件中设置CrystalReportViewer的ReportSource。当我通过运行visual studio启动页面时,ReportViewer会在页面中显示报表数据。我在IIS中通过http发布了我的网站,一切正常。但是,在将网站的绑定从IIS更改为HTTPS后,报告页面中没有显示任何内容 下面是一些代码: 1.我的报告页 <%@ Page Title="" Language="C#" MasterPa

我的asp.net页面中有一个CrsytalReportView。我正在页面加载事件中设置CrystalReportViewer的ReportSource。当我通过运行visual studio启动页面时,ReportViewer会在页面中显示报表数据。我在IIS中通过http发布了我的网站,一切正常。但是,在将网站的绑定从IIS更改为HTTPS后,报告页面中没有显示任何内容

下面是一些代码:

1.我的报告页

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterMain.Master" AutoEventWireup="true"
        CodeBehind="ReportPageMain.aspx.cs" Inherits="RPS_ArchiveEditor_NEW.ReportPageMain" %>

    <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <asp:Content ID="Content1" ContentPlaceHolderID="cph_Body" runat="server">
        <CR:CrystalReportViewer ID="CrystalReportViewerMain" runat="server" AutoDataBind="true"
            HasPrintButton="False" HasExportButton="False" HasDrillUpButton="False" HasDrilldownTabs="False" />
        <asp:Button runat="server" ID="btnPrintReport" CssClass="PrintReportButton" OnClick="btnPrintReport_Click" Text="Çap et" />
        <input type="button" id="btnGoToDefaultPage" class="PrintReportButton" value="Əsas səhifə" onclick="window.location.href='Default.aspx'" />
    </asp:Content>

2. Page_Load event



protected void Page_Load(object sender, EventArgs e)
    {
        ReportDocument crystalReport = new ReportDocument();
        if (Ajax.RoleIsAdmin())
            crystalReport.Load(Server.MapPath("rptMainGridView.rpt"));
        else
            crystalReport.Load(Server.MapPath("rptUserGridView.rpt"));
        // in this session have data, I'm absolutely sure.
        List<PersonDetailsForPrint> perDetsForPrintList = Session["perDetForPrint"] as List<PersonDetailsForPrint>;
        crystalReport.SetDataSource(perDetsForPrintList);
        CrystalReportViewerMain.ReportSource = crystalReport;
        Session["ReportSource"] = crystalReport;
    }

2.页面加载事件
受保护的无效页面加载(对象发送方、事件参数e)
{
ReportDocument crystalReport=新的ReportDocument();
if(Ajax.RoleIsAdmin())
Load(Server.MapPath(“rptMainGridView.rpt”);
其他的
Load(Server.MapPath(“rptUserGridView.rpt”);
//在这节课上,我绝对肯定有数据。
将perDetsForPrintList=会话[“perDetForPrint”]列为列表;
SetDataSource(perDetsForPrintList);
CrystalReportViewerMain.ReportSource=crystalReport;
会话[“ReportSource”]=crystalReport;
}

我发现了我的问题。我的网站的物理目录中没有aspnet\u client文件夹。我已为.NET Framework v4.0.30319版本注册了IIS:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i