那位朋友解决过呢?? 麻烦告诉一下好吗?
我装的是.NET Studio 2003 里面自带了Crystal Report 9 连同IIS的目录都是NTFS上面,设计了报表以后,调试时出现Crystal Report LogOnException,不知道如何解决。解决问题高分相送!

解决方案 »

  1.   

    /*
    * pull模式,建立rpt文件,以及web页面,其中页面控件不需指定数据源.
    * */
    TableLogOnInfo logOnInfo = new TableLogOnInfo ();
    ReportDocument oRpt = new ReportDocument();string path = Server.MapPath("CrystalReport/Order.rpt");
    oRpt.Load (path);/* MS Server 2000数据库,其他作相应的改动 */
    logOnInfo.ConnectionInfo.ServerName = "localhost";
    logOnInfo.ConnectionInfo.UserID     = "sa";
    logOnInfo.ConnectionInfo.Password   = "hxh";oRpt.Database.Tables[0].ApplyLogOnInfo(logOnInfo);CrystalReportViewer.ReportSource = oRpt; //建立.rpt文件与CryStalReportviewer文件之间的连接//The ReportDocument object will need to placed into Session so that
    //on each postback, the viewer's ReportSource can be set to this instance
    Session.Add("REPORT", oRpt);
      

  2.   

    BLOG.CSDN.NET/yllaji里面有很详细的叙述
      

  3.   

    我现在连接ACCESS的数据库可以,但是SQL SERVER就不行,
    是什么问题呢?? 各位帮帮忙吧
      

  4.   

    千万不要在用水晶报表做什么WEB程序了,没有任何的服务器愿意给你安装水晶报表.我的报表模块在重新做
      

  5.   

    应该与ntfs无关的!请确认一下报表的数据源用的是ole db驱动程序!
      

  6.   

    http://dev.csdn.net/develop/article/69/article/66/66300.shtm