水晶报表问题,高手请进来帮忙看看,谢谢先
C/S结构:水晶报表问题
ReportDocument Report = new ReportDocument();
Report.Load("C:\\Documents and Settings\\Administrator\\桌面\\Test\\rptsales.rpt");
TableLogOnInfo logOnInfo = new TableLogOnInfo();
logOnInfo.ConnectionInfo.ServerName="thw";
logOnInfo.ConnectionInfo.DatabaseName="thw.com";
logOnInfo.ConnectionInfo.UserID = "sa";
logOnInfo.ConnectionInfo.Password = "111111";
Report.Database.Tables[0].ApplyLogOnInfo(logOnInfo);
Report.SetDataSource(ds.Tables[0]);//ds 为一个取到报表数据的dataset
crvReport.ReportSource = Report;
以上连接,在本地数据库做是好好的,但到网上的数据库就不行,提示“未知的查询引擎错误”,请高手帮忙呀
谢谢!!