从IE登录水晶报表老是提示输入帐号密码
petex 2006-12-18 05:35:00 各位请帮我解决一个问题:
在VS2005里面运行时没有出现输入密码的界面.
但是把文件夹设为web共享再从IE进入时,
老是出现输入帐号密码的界面,而且输入正确后,
还是停留在这个界面.
程序代码如下,请各位帮忙.
谢谢!
northwindCustomersReport = new ReportDocument();
string reportPath = Server.MapPath("NorthwindCustomers.rpt");
northwindCustomersReport.Load(reportPath);
northwindCustomersReport.SetDatabaseLogon("sa", "1234", "aa", "Northwind");
crystalReportViewer.ReportSource = northwindCustomersReport;