Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#2.0 C#3.0 C C# C#4.0
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
 
ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load("CrystalReport1.rpt");
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();
 
thank you in advance
zakirox123
Posted 8-Jun-13 22:32pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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"
  Permalink  
Comments
zakirox123 at 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....
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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



Advertise | Privacy | Mobile
Web01 | 2.8.1411022.1 | Last Updated 9 Jun 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100