Click here to Skip to main content
15,895,192 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i just try to make a crystal report in visual studio 2008 using C#, OLE DB(ADO) and the connection was successfully made. but every time when i start to run the application it asks for a login USER NAME and PASSWORD but my database is not secured with any password here is my pies of code to view in CrystalViewer

C#
ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load("CrystalReport1.rpt");
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();


thank you in advance
zakirox123
Posted

open your crystal report.
database connection.
you find a IntegratedSecurity checkbox.
put a tik mark in it.
and try. also
if you hard code the connection string then put
"Integrated Security=True"
 
Share this answer
 
Comments
zakirox123 9-Jun-13 14:01pm    
where can i find that IntegratedSecurity checkbox? i searched all over i am unable to fine that check box over all please help me....
open your crystal report.
database connection.
you find a IntegratedSecurity checkbox.
put a tik mark in it.
and try. also
if you hard code the connection string then put
Integrated Security=True
 
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