Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB CrystalReports
I'm working on a crystal report that sorts data and allows your search by entering different names.
I'm using the AdventureWorks access database that was provided by my instructor. With this database he has required us to put everything into one folder then after completing the work to zip the files and post them to blackboard.
 
My problem currently is within my database connection to my report. When I try to run my report I continue to be prompted for a database login information.
When I first connected my database to my project I selected OLE DB (ADO) like I have throughout my class I ran through the wizard the same way as before and now when my database loads today it prompts for user name and password. While last night when I was working on my project I didn't receive a single prompt.
 
How does this occur?
 
What file controls the database access information. As there is now user name and password how does crystal reports just assign something to it?
 
I need some helpful hints in where to look or what steps should be taken to resolve this problem.
I'm also not receiving any errors when I build my project.
Posted 24-Nov-12 8:43am
Edited 24-Nov-12 8:50am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You have to set logon details dynamically at runtime.
C# Crystal Reports Dynamic Logon parameters[^]
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 85
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 31 Oct 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