The report you requested requires further information. Converted a VS 2008 to VS 2010 c# RRS feed

  • Question

  • User-53824557 posted

    Hi All

    I converted a ASP.net C# web application from VS2008 to VS2010 but when I trying and display a Crystal Report in a viewer I get a Message Box:-

    Enter Values

    The report you requested requires further information.

    Server Name - Order_Input_Dataset

    Database Name-

    User Name-


     Use Integrated Security

    Here's the code to display the report:-

            public static void Open_Report(ref ReportDocument MyReport, ref CrystalDecisions.Web.CrystalReportViewer CrystalReportViewer1, TOrder Order, DataSet Order_Input_As_DataSet, System.Web.HttpServerUtility Server)
                    // As a matter of caution lets clear out any reports first.
                    // Clearing out will remove the Temp Crystal Report on the Servers Windows\Temp\ Folder
                    Close_Report(MyReport, CrystalReportViewer1);
                    MyReport = new ReportDocument();
                    MyReport.Load(Server.MapPath(Constants.rOrder_Report_Path)); // Must Load prior to setting any controls on the report
                    if (Order_Input_As_DataSet != null)
                    SharedMethods.Order_Report = MyReport;
                    if (SharedMethods.Order != null)
                        SharedMethods.Set_Report_Objects(MyReport, Order);
                    CrystalReportViewer1.ReportSource = MyReport;

     Here's the  Source for the Page - Viewer:-

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Order_Report.aspx.cs" Inherits="Mala_Orders.Web_Pages.Order_Report" %>
    <%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <link rel="shortcut icon" href="~/Mala_favicon.ico" type="image/x-icon"/>    
        <title>Order Print Preview</title> 
        <form id="form1" runat="server">
            <asp:Button ID="btnExport_To" runat="server" onclick="btnExport_To_Click" 
                Text="Export to -&gt;" />
            <asp:DropDownList ID="ddlExport_Types" runat="server">
            <br />
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" ReportSourceID="CrystalReportSource1" 
                HasCrystalLogo="False" AutoDataBind="True" ToolPanelView="None"/>
            <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
                <Report FileName="..\Reports\Order_Report.rpt">

    I have another Crystal Reports Viewer on the same web application which now says:-

    The report filename was empty.

    All worked when using VS 2008.

    I've searched high and low on the Internet for a solution but couldn't find anything.

    Any ideas?


    Friday, August 15, 2014 9:39 AM

All replies