Click here to Skip to main content
14,695,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

My project is in C#.NET with Microsoft Access as its database, with the initial location of database in E:\Project Folder, and the name of my db is Bill.accdb.
I designed a crystal report using Visual Studio, with the same database. And it works fine.

The problem arises when I changed the location of my database, It is showing "Login Failed. Please Try Again Error."

My question is: Is there any reliable way to change the server, and db from code (during runtime) so once we go live with some reports, they will still work on the other server machine with the other db?

I appreciate any help...
God Bless
Shweta Saxena

1 solution

How did you define the data source in your crystal report..??

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