<small id='YuakL'></small><noframes id='YuakL'>

  • <tfoot id='YuakL'></tfoot>

      <i id='YuakL'><tr id='YuakL'><dt id='YuakL'><q id='YuakL'><span id='YuakL'><b id='YuakL'><form id='YuakL'><ins id='YuakL'></ins><ul id='YuakL'></ul><sub id='YuakL'></sub></form><legend id='YuakL'></legend><bdo id='YuakL'><pre id='YuakL'><center id='YuakL'></center></pre></bdo></b><th id='YuakL'></th></span></q></dt></tr></i><div id='YuakL'><tfoot id='YuakL'></tfoot><dl id='YuakL'><fieldset id='YuakL'></fieldset></dl></div>

          <bdo id='YuakL'></bdo><ul id='YuakL'></ul>
        <legend id='YuakL'><style id='YuakL'><dir id='YuakL'><q id='YuakL'></q></dir></style></legend>
      1. Crystal Report:无法连接不正确的登录参数

        时间:2023-07-11

        1. <legend id='YVRWE'><style id='YVRWE'><dir id='YVRWE'><q id='YVRWE'></q></dir></style></legend>

            <small id='YVRWE'></small><noframes id='YVRWE'>

            <i id='YVRWE'><tr id='YVRWE'><dt id='YVRWE'><q id='YVRWE'><span id='YVRWE'><b id='YVRWE'><form id='YVRWE'><ins id='YVRWE'></ins><ul id='YVRWE'></ul><sub id='YVRWE'></sub></form><legend id='YVRWE'></legend><bdo id='YVRWE'><pre id='YVRWE'><center id='YVRWE'></center></pre></bdo></b><th id='YVRWE'></th></span></q></dt></tr></i><div id='YVRWE'><tfoot id='YVRWE'></tfoot><dl id='YVRWE'><fieldset id='YVRWE'></fieldset></dl></div>
              <bdo id='YVRWE'></bdo><ul id='YVRWE'></ul>
              <tfoot id='YVRWE'></tfoot>
                <tbody id='YVRWE'></tbody>

                1. 本文介绍了Crystal Report:无法连接不正确的登录参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  打印报告时,用户有时会出现以下错误:

                  When printing a report, the user sometime have the following error:

                  CrystalDecisions.CrystalReports.Engine.LogOnException:  
                  Error in File C:DOCUME~1carolecLOCALS~1Temp	emp_b117cc2e-c184-4556-a493-e04e6d4126fb {388C2B55-114E-4087-A22D-9289902AFDEB}.rpt:  
                  Unable to connect: incorrect log on parameters. ---> System.Runtime.InteropServices.COMException (0x8004100F): 
                  Error in File C:DOCUME~1carolecLOCALS~1Temp	emp_b117cc2e-c184-4556-a493-e04e6d4126fb {388C2B55-114E-4087-A22D-9289902AFDEB}.rpt:
                  Unable to connect: incorrect log on parameters.
                     à CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext)
                     à CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
                     --- Fin de la trace de la pile d'exception interne ---
                     à CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
                     à CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
                     à CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
                     à CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)

                  关于解决方案的任何想法?

                  Any ideas on a solution?

                  配置:C# (2008)、WinForm、Crystal Report 10、SQL Server 2008 Express(本地)

                  Configuration: C# (2008), WinForm, Crystal Report 10, SQL Server 2008 Express (local)

                  推荐答案

                  有一段时间没用过水晶报表,但是一般来说出现类似LogOn Exception"这样的错误,其实可能和安全一点关系都没有,Crystal Report 错误可能有点随机.

                  Haven't used Crystal Reports for a bit, but generally an error along the lines of "LogOn Exception" may actually have nothing to do with security at all, Crystal Report errors can be a bit random.

                  这可能是与内存问题有关的错误.

                  Its possible it may be an error related to memory issues.

                  或者……

                  它可能是特定于报告的,子报告可能会尝试使用存储在报告中的凭据而不是您通过代码传递给它的凭据来登录;您需要遍历所有子报告,而不仅仅是设置登录信息的主报告.

                  It might be report specific, a sub-report maybe trying to logon using credentials stored within the report, rather than the credentials you've passed into it via the code; You need to loop through all sub-reports rather than just the main report setting the login information.

                  我记得当我使用一种变通方法为报告安装动态徽标(从另一个数据库表中的二进制字段中提取)时遇到了这个特殊错误,除了它为每个报告提取徽标数据时出现了一个小错误数据行;在返回一定数量的行后,它就死了,导致类似的错误.

                  I remember having this particular error when I used a workaround to install a dynamic logo for a report (that got pulled from a binary field within another database table) except there was a slight error in which it pulled the logo data for each row of data; After a certain amounts of rows returned it died resulting in a similar error.

                  这篇关于Crystal Report:无法连接不正确的登录参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何从 CrystalReport 调用 StoredProcedure? 下一篇:CrystalReports ReportDocument 与数据库连接的内存泄漏

                  相关文章

                  1. <small id='MNOd9'></small><noframes id='MNOd9'>

                    1. <legend id='MNOd9'><style id='MNOd9'><dir id='MNOd9'><q id='MNOd9'></q></dir></style></legend>
                      <i id='MNOd9'><tr id='MNOd9'><dt id='MNOd9'><q id='MNOd9'><span id='MNOd9'><b id='MNOd9'><form id='MNOd9'><ins id='MNOd9'></ins><ul id='MNOd9'></ul><sub id='MNOd9'></sub></form><legend id='MNOd9'></legend><bdo id='MNOd9'><pre id='MNOd9'><center id='MNOd9'></center></pre></bdo></b><th id='MNOd9'></th></span></q></dt></tr></i><div id='MNOd9'><tfoot id='MNOd9'></tfoot><dl id='MNOd9'><fieldset id='MNOd9'></fieldset></dl></div>
                    2. <tfoot id='MNOd9'></tfoot>
                      • <bdo id='MNOd9'></bdo><ul id='MNOd9'></ul>