cancel
Showing results for 
Search instead for 
Did you mean: 

prompted for username & password when opening a report

Former Member
0 Kudos

Hello,

I was wondering if anyone could help me with the issue I am having.  I am using a Winform application using Crystal Report Viewer for VS2010.  When I execute the report, I get prompted for the username and password every time.

I am running it on a Windows 7, SQL Server 2005 Express, .NET 4.0.  I didn't have this issue when I was running it on Windows XP, SQL Server 2000, .NET 2.0.

Any help would be appreciated...

Thanks,

Bryan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Only reason CR will prompt for DB log on info is because the DB info has changed from what is saved in the report. We don't save the password so it must log on once.

Are you using ODBC or OLE DB? and which driver, SQL Native or OLE DB Provider for SQL Server?

If you are using/were using Trusted Authentication then you need to be sure your user name is in SQL Express also.

Don

Former Member
0 Kudos

Don,

I have opened the report and saved the new connection info.

I am using ODBC with the SQL Native driver.

I am using trusted connection but, I don't understand what you mean by needing the username in SQL Express?

Thanks,

Bryan

Answers (0)