Print Page | Close Window

Database connection problem - Logon failed

Printed From: Crystal Reports Book
Category: Crystal Reports .NET 2003
Forum Name: Data Connectivity
Forum Discription: How to connect to data sources and export reports
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=3620
Printed Date: 03 May 2024 at 9:44pm


Topic: Database connection problem - Logon failed
Posted By: Youssef
Subject: Database connection problem - Logon failed
Date Posted: 07 Jul 2008 at 2:43pm
I have the following error: Log on failed whenever i tried to connect to database i point to the report source and i passed the password of the report but still the report is not working

Code:

Crystalreportviewer1.reportsource = Server.Mappath("CrystalReport1.rpt")
Crystalreportviewer1.logoninfo(0).connectioninfo.password = "password"

would you please help me regarding that issue

by the way i passed the logon info to each table as many solutions advised

but still not working   

Thanks in advance



Print Page | Close Window