Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to avoid CR viewer in asp.net from requesting log on?

Status
Not open for further replies.

ldejesuspr

Programmer
Jul 29, 2004
27
0
0
PR
Hello

I have an asp.net app upgraded from vs05 - vs08 that has reports using the cr report viewer. When I run a report it displays data fine. When I click on an option of the tool bar like next page or export it presents the log on page. This is happening in development running inside vs08. It used to run fine in development in vs05.

Could someone provide advice on how to solve this?

Thanks

Leslie
 
On my crystalViewerform on my asp form I have set my viewer to the following settings:

Uncheck "Enable Database logon prompting"
and
Check "Reuse Parameter value on Refreshing Report".

Good Luck.
Cathy
 
Thanks for the tip Cathy.

I solved it with this property in my CR object.

CRViewer.EnableDatabaseLogonPrompt = false;

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top