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))
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))