Click here to Skip to main content
15,921,837 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am created one dataset and than add whole database table in that dataset..when i add one table in dataset than its works fine but when i added more than one table and then run my crystal report then logon dialogue appear.if any one know about this than post the answer.thanx in advance
Posted

Set EnableDatabaseLogonPrompt to false

ASP.NET
<pre lang="vb"><CR:CrystalReportViewer ID="CwrVatCrystalReportViewer" 
        runat="server" AutoDataBind="true"
        EnableDatabaseLogonPrompt="False"
        EnableParameterPrompt="False" Height="1039px"
        ReportSourceID="CwrVatCrystalReportSource"
        ReuseParameterValuesOnRefresh="True"
        Width="901px" />
 
Share this answer
 
Same problem i had faced before, So write this in the app.config page.

HTML
<startup uselegacyv2runtimeactivationpolicy="true">
   <supportedruntime version="v4.0" sku=".NETFramework,Version=v4.0" />
 </startup>
 
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