thank you for answering
sadly, it's still showing me the login window with the Logon Failure
Main Topics
Browse All TopicsGood day
I've been browsing for at least a week to find a solution at my problem.
I have a Crystal Report into a Window Application coded in c#. This report is directly connected to a SQL Database. When I run it on local computer, where the program is coded and built, but when I try it on a client machine, it gives me the "LOGON FAILED" Error.
Down Below is a snippet code of where I create the report and add the login information. I assured myself that the file does exist.
P.S. Database logon information aren't the one showed. I assured myself that is has been replaced to their proper value.
Please help.
Thank you in advance!
Lefarfadais
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Good day
After further searches, I finally found an answer to my question.
The code was right, I was doing ok all the time. Only 1 exception.
When building your Crystal Report, make sure you build it using an SQL security account. If you use Integrated Security while building the report, any changes will be applying the Integrated security.
Business Accounts
Answer for Membership
by: mlmccPosted on 2009-10-07 at 10:26:47ID: 25517751
Try commenting out the refresh line. Refresh causes you to lose the logon information you changed.
mlmcc