View crystal report in pop-up page

aspfun

Active member
Joined
Feb 16, 2010
Messages
34
Programming Experience
5-10
I used code below to open crystalreportviewer.
I works fine at the same brower but not working in pop-up page.
At pop-up page it prompts for SQL server login name and password.
How solve this problem?

Dim rpt As New ReportDocument

rpt.Load(Server.MapPath(ReportName))
rpt.SetDatabaseLogon("sa", "password")
rpt.SetDataSource(myDataset.Tables(0))
 
Back
Top