Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

CrystalReportViewer applying SQL login not working

Hello,

I've been trying to figure out how to correctly supply sql server authenticatication for CrystalReports. The reports are using stored procedures. The viewer automatically supplies a form to get the parameters for the stored procedure and it also handles getting the database log in info. Of course I don't want the user to have to enter in database log in info.

I've tried the applylogin method which can easily found by googling.

Auto Login Technique (http://support.businessobjects.com/library/kbase/articles/c2010371.asp)

It works fine in a forms app, however, this does not work with asp .net...the viewer does not respond.

Is there some event that I'm missing? Maybe the viewers refresh event or something?

Thanks for your help
[817 byte] By [Joe Beam] at [2007-11-11 8:38:13]
# 1 Re: CrystalReportViewer applying SQL login not working
nevermind...I was databinding in the load event. I moved it to the OnInit event and works good now.
Joe Beam at 2007-11-11 23:13:02 >