在工具箱中有一个:CrystalReportViewer(在工具箱中最下面)
在“文件”->“添加新项”->“Crystal Report”

解决方案 »

  1.   

    我在asp中創建了一個crystal report但運行時出現如下錯誤,這是為何,在那里出了問題
    Logon failed. 
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  Stack Trace: 
    [LogOnException: Logon failed.]
       .K(String 
    , EngineExceptionErrorID  )
       .F(Int16 , Int32 )
       .E(Int16 )
       CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext)
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext)
       CrystalDecisions.Web.ReportAgent.v(Boolean `)
       CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e)
       System.Web.UI.Control.PreRenderRecursiveInternal()
       System.Web.UI.Control.PreRenderRecursiveInternal()
       System.Web.UI.Control.PreRenderRecursiveInternal()
       System.Web.UI.Page.ProcessRequestMain() 
      

  2.   

    我的也是的。
    在ASP.NET里运行是出现:
    未将对象引用设置到对象的实例。 
    说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.NullReferenceException: 未将对象引用设置到对象的实例。难道是我开始组件没有装完备?
    谢谢高手赐教!!