Click here to Skip to main content
15,889,867 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to add a Crystal Report into a form with a master page in asp.net

when i add then there is an error occurred

Quote:
Error
Load report failed.




C#
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   
    <CR:CrystalReportViewer ID="CrystalReportViewer1"  runat="server" 
        AutoDataBind="True" EnableDatabaseLogonPrompt="False" 
        GroupTreeImagesFolderUrl="" Height="50px" ReportSourceID="restrodetails" 
        ToolbarImagesFolderUrl="" ToolPanelView="None" ToolPanelWidth="200px" 
        Width="350px" />
  
    <CR:CrystalReportSource ID="restrodetails"  runat="server">
        <Report FileName="CrystalReport1.rpt">
        </Report>
    </CR:CrystalReportSource>
  
    </asp:Content>
Posted
Updated 11-Apr-14 5:46am
v2

1 solution

It's nothing to do with master page, try these solutions:
Crystal Reports: Fix for "Load report failed" error.[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900