Click here to Skip to main content
15,916,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to hide login dialog box ?

Am using ASp.Net using VB.net and am using Crystal reports for generating reports in it.

I've got many type of reports and each time when I access it the login dialog box is displayed. So is there any way to set the user Id and password previously(as default).

This is the code that am using in the web form to get the report:

<CR:CrystalReportSource ID="CrystalReportSourcecd" runat="server">

<report filename="costdate.rpt">
<report>

<CR:CrystalReportViewer ID="CrystalReportViewercd" runat="server" ReportSourceID="CrystalReportSourcecd" />


Pls help........

Jasmin
Posted
Comments
aidin Tajadod 26-Sep-10 19:22pm    
What do you mean by Login? you mean SQL login?
jasminkp 27-Sep-10 7:27am    
yes

Check this thread it will help you.
Crystal Report Login[^]
 
Share this answer
 
MSIL
I did the same way but now am not able to get the report and the error below is displayed.

Logon failed. Details: ADO Error Code: 0x Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'sa'. SQL State: 42000 Native Error: Error in File C:\DOCUME~1\jasmin1\LOCALS~1\Temp\costdate {FBB6ADA6-6DE5-438F-9EBD-F44BCB9B5BA7}.rpt: Unable to connect: incorrect log on parameters.
 
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