Click here to Skip to main content
13,052,900 members (77,737 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 7:43am
Updated 24-Nov-12 7:50am

1 solution

Rate this: bad
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[^]

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 31 Oct 2013
Copyright © CodeProject, 1999-2017
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