Crystal Reports 2008 - Blank page on server only

Crystal Reports 2008 - Blank page on server only
My report is developed in the Crystal Reports 2008 Report Designer 12.0.0.683.
I have a .NET application that takes the report file, an ODBC connection and exports the resulting report to PDF. This application is deployed as an MSI and includes the Crystal Reports .msm merge module. The report uses multiple views and tables from a single database to create invoices in PDF format.
Problem: For one particular invoice, a blank page is being added to the end of the invoice. This blank page contains the report's standard page header. There is no missing data and no missing sections on the invoice. This is only occurring when the pdf is generated on a Windows Server 2008 x64 server where the application is deployed using the merge modules.
I have installed the application locally on my Windows Vista Business x86 system and the generated PDF does NOT contain the blank page at the end.
The blank page is not generated when previewing the report in Report Designer. For the particular invoice this is occurring on, footer F and footer G are blank and therefore suppressed.
Please bear in mind that this happens only for one particular invoice that uses this report file and does not happen from my local system using the same .rpt file.
The report is constructed of the following sections:
-Page Header (suppressed on page 1)
-Grp1 header A (watermark conditionally suppressed based upon a parameter)
-Grp1 header B (Keep together - always fits onto a single page)
-Details
-Grp1 footer A (Keep together)
-Grp1 footer B (Conditionally suppressed based upon data)
-Grp1 footer C (Keep together)
-Grp1 footer D (Contains sub report(suppressed when blank). Keep together. Suppress blank section. New page before but (Not OnLastRecord))
-Grp1 footer E (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
-Grp1 footer F (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
-Grp1 footer G (Contains sub report(suppressed when blank). Keep together. Suppress blank section.)
-Report footer (Always blank. Suppress blank section)
-Page footer (Fixed static content, displayed on every page.)
Edited by: alibaabaa on Oct 12, 2009 12:41 PM
Edited by: alibaabaa on Oct 12, 2009 12:45 PM

Thanks for responding, Jonathan.
Is the same runtime installed on the 64 bit system? I notice from your version number that you do not have any service packs installed on the dev system. SP 2 is out and may help.
I have installed SP1 and SP2 this morning, resaved the report file and tried again but the same problem remains.
I'm not sure how to answer your runtime question. I am using the same application built with the same merge modules on both the dev machine and the production server. Of course, the dev machine has the additional complication of having Crystal Reports 2008 installed. Perhaps this is causing the difference?
Compare the printer settings between the two systems. Try installing the same printer driver on the 64 bit system.
Perhaps I am misinterpreting your suggestion, but I am not printing the invoices. I am only exporting them to PDF. It is the PDF that has the extra page. Is there a 'print to PDF' driver of some sort that I need?
Also, was the .NET application compiled as 32 bit, or Any CPU? Whichever it was, try switching it then recompiling to see if that helps.
I tried switching to Any CPU but this caused the Crystal Reports module not to load at all on the 64bit Windows server.
Thank you for your suggestions, but my problem remains. Is it worth trying with the redistributable msi rather than using the merge modules? If so, could you recommend which one I should use? I am using Visual Studio 2008 Professional.

Similar Messages

  • Crystal Reports 2008 Missing Page Headers and Footers when Exporting Excel

    After upgrading from Crystal Reports 9 to Crystal Reports 2008 we have noticed that when we export to Excel the document no longer retains the page headers and footers.  After doing some reading I see that there is a property called ExportPageHeadersAndFooters that we can tap into.  However, I am unable to get this to work for me.  Below is my code, do you have any suggestions?
                    ReportDocument rdReport =  new ReportDocument();
                    rdReport.Load(sReportFilePath);
                    ExportFormatType exType = ExportFormatType.Excel;
                    // create an instance of excel formatting options
                    ExcelFormatOptions foFormat = new ExcelFormatOptions();
                    foFormat.UsePageRange = false;
                    foFormat.ExcelUseConstantColumnWidth = true;
                    foFormat.ExcelTabHasColumnHeadings = true;
                    foFormat.ExportPageBreaksForEachPage = true;
                    foFormat.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
                    // set up more exporting options
                    rdReport.ExportOptions.ExportFormatType = ExportFormatType.Excel;
                    rdReport.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                    rdReport.ExportOptions.FormatOptions = foFormat;
                    rdReport.ExportToStream(exType);

    I was able to get it to work but I had to do this.
    ExportRequestContext expReqCntxt = new ExportRequestContext();
    expReqCntxt.ExportInfo = rdReport.ExportOptions;
    sExported = ((CrystalDecisions.CrystalReports.Engine.ReportDocument)rdReport).FormatEngine.ExportToStream(expReqCntxt);

  • Crystal Reports 2008 install on Windows Server 2008

    I am trying to do a typical install of Crystal Reports 2008 on Windows Server 2003 and I keep getting an error that says "ReportConvTool.dll failed to register" and then the same error for other dll's, Myinfoview.dll, Encyclopedia.dll, etc.. What can be the problem?
    I installed on a Vista machine with no problems.
    Any and all help is greatly appreciated.
    Thanks,
    Ken

    Hi,
    I will not be able to provide the 'why' of this issue but per my research, these are how other users have done to get through this issue:
    Please ensure that your Windows Server 2003 version is supported in your version of CR 2008 by going through the platform support document in our SMP
    First scenario:
    Continue with your installion ignoring the error message and manually register those DLLs afterwards
    Second scenario
    Continue with your installation ignoring the error message. Go to Add/remove programs and uninstall CR 2008 and reinstall it anew
    Third scenario
    Those DLLs indicates you have other BO products installed in that Windows server 2003. If it is just a test box, remove those products and reinstall them.
    I've listed the steps from easy to complex and hopefully one resolves your issue.
    Worst scenario, please log a ticket to Support through our Service Market Place (SMP)

  • ASP Crystal Report 2008 (12) Oracle 9 and Visual Basic!

    Hi All,
    I'm mainting an old application and I need to simulate the same client environment in my machine.
    I have a VB application (with COM+ server components) that's creates a report object with parameters. But the only thing that this application does it's call an ASP page that contains all the logic to call a .rpt file, connect to Oracle 9i and then show the crystal report inside a MS webbrowser component (activeX) in the VB form.
    I already setup the IIS, and the site there, I put all the .rpt files in the site and if you try to access without calling from VB you can run the asp pages, but the reports still doesn't appears.
    These ASP pages should connect to Oracle and then show the rpt file, but I'm facing the following error:
    The url that's the application creates is for example this: http://localhost/application1/createreport.asp?sSessionId=2&ReportName=TransactionsProcessed.rpt&parameter1&parameter2... etc etc...
    Script Error Number: -21471922153
    File could not be opened because the library "P2sora7.dll" cannot be found.
    User Error Text: An error has ocurred in CreateReport.asp while logging onto the Oracle database server. Please try again.
    I already check the database connection and it is working fine using ODBC, and the application works fine with the database.
    The file p2sora.dll is in C:\WINDOWS\SYSTEM32, I already copied from another machine, and I have installed Crystal Report 2008 (12) in my server machine with Windows 2003 server, that's the application and web server where report should be run. I know that the old application was executed with Crystal 7, but I cannot found this version to buy.
    Edited by: Don Williams on Mar 21, 2010 9:05 AM

    This is the code of the createPage.asp that it's called from VB:
    <%
    On Error Resume Next
    Dim sDLLName
    Dim sDatabaseType
    Dim sServerName
    Dim sUserId
    Dim sPassword
    Dim arrayInteger
    Dim sReportDbName
    Dim oTransStore
    Dim oReportObject
    Dim oCRSections
    Dim oCRSection
    Dim oCRSubReportObject
    Dim oCRReportObjects
    Dim oCRReportObject
    Dim oCRSubReport
    Dim oCRPageEngine
    Dim sSessionId, sReportPath, sReportName, sTablename
    ' Errorhandling Parameters
    Dim lUserErrorNumber, sUserErrorText
    ' -- Get parameters --
    sSessionId = Request.QueryString("SessionId")
    sReportName = Request.QueryString("ReportName")
    sStartDay = Request.QueryString("StartDay")
    sStartMonth = Request.QueryString("StartMonth")
    sStartYear = Request.QueryString("StartYear")
    sEndDay = Request.QueryString("EndDay")
    sEndMonth = Request.QueryString("EndMonth")
    sEndYear = Request.QueryString("EndYear")
    sAccName = Request.QueryString("AccId")
    sUserName = Request.QueryString("UserName")
    ' -- Initialisation --
    Session("ImageFolder") = ".\images"
    sDatabaseType = Request.QueryString("DbType")
    sServerName = Request.QueryString("ServerName")
    sUserId = Request.QueryString("DbUserId")
    sPassword = Request.QueryString("DbPassword")
    sReportPath = Request.QueryString("ReportsFolder")
    ' -- Select DLL for DB Type
    - Hide quoted text -
    sDLLName = "P2sora7.dll"
    Response.Write "DATABASE SELECCIONADA: " & sDatabaseType
    Select Case sDatabaseType
    Case "Oracle":
      sDLLName = "P2sora7.dll"
      sReportDbName = ""
            Case "SQLServer":
                 sDLLName = "P2ssql.dll"
      sReportDbName = Request.QueryString("ReportsDbName")
            Case "Informix":
                 sDLLName = "P2sifmx.dll"
    End Select
    ' -- Set the ErrorNumber to 400 and sErrorText.
    sUserErrorText = "An error has occurred in CreateReport.asp while loading the report details. CreateObject(CrystalRuntime.Application) . Please try again."
    lUserErrorNumber = 400

  • First Page blank -Crystal Reports 2008 Service Pack 1 install issues

    Hi,
    After installation of  Crystal Reports 2008 Service Pack 1 - Redist Install on Web server. First page of all the reports are blank .But when next page is clicked next page displays information ,then previous page the report displayed.
    On loading the first page of the report is blank.
    The report is fine in Crystal reports
    After navigating to the second page - the data on the second page appears with no issues -
    Then Navigate back to the first page then the first page data appears.
    Thanks in advance .
    Regards
    Prakash

    Just to clarify why this needed to be done. The CR msm and msi files install the correct files into a bin directory. The bin directory is specific to the version of Crystal Reports. Also, the viewer files are installed into the default web site aspnet_client folder. Thus if an application is installed into a custom website, you will have issues, such as red X-es instead of images, errors, failure to load report, etc. For more documentation on this issue see these articles:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50aa68c0-82dd-2b10-42bf-e5502b45cd3a
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0437ea8-97d2-2b10-2795-c202a76a5e80
    Ludek

  • Crystal Reports 2008 Redistribution on 64 Bit Server

    I have a small application that uses Crystal Reports 2008 in not-integrated mode.  Meaning that the .rpt files are seperate from the web application and the web application has to know the absolute path to the .rpt files before it can run them.  My question is how do I deploy Crystal Reports 12 to a windows server 2003 x64 server?  I have installed the redist.msi and the reports won't work I keep getting the following error:
    Server Error in '/imacs' Application.
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    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.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    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:
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +411
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +220
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       imacs.imacs.viewPrint.lnkView_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\imacs\imacs\viewPrint.aspx.vb:186
       System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +131
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    My only guess is that there is some configuration I am not doing on the server. Can someone help me?

    I think the frustration is coming more from the combination of lack of support for x64 (quite surprising for such an established product) combined with a site that's very difficult to navigate and use (the BusinessObjects site).
    We ourselves have also just invested a great deal of time in building some Crystal Reports for a pilot system for a large US Insurance Company and cannot choose to avoid a 64-bit target server.  We deploy at the end of next week and though we can compile deliberately for 32 bit as outlined in your post, this causes all sorts of other issues with other assemblies we are using that are not binary compiled for a specific platform and that we cannot ourselves recompile.
    To be concise, your posted solution is not really a solution unless a number of other assumptions are true that we all know in practical terms to be unrealistic for anything but the simplest of apps.
    For us, pulling Crystal at this point is embarassing for the customer (they specifically requested that we use it) and for Business Objects, and creates a deadline crunch in our project plan as we convert to Telerik or some other x64 solution.
    We will certainly follow up with phone support to see if there are other choices (doubtful), but given that you offer a trial version of Crystal 2008 I think it's remiss that there are no clear guidelines in a publicly-reachable forum that discuss in detail how to deploy completely to x64 including ensuring that other related issues to using a 32-bit compilation on x64 are mentioned/covered.  I certainly can see that even an advanced developer would continue to hold out hope that there is some configuration option combination that will work.
    Finally, can you provide any guidance on when Crystal Reports will catch up to Windows 2000, 2003 and 2008 and provide a 64-bit runtime?

  • Problems installing Crystal Reports 2008 Server on Windows Server 2008 serv

    I attempted to install the Crystal Reports 2008 product on one of our Windows Server 2008 servers.
    After installing disk 1
    Crystal Reports 2008 Server attempts to open up in IE...... but opens up to a blank page
    http://bmlfileserver:8080/CmcApp/
    anyone have any idea why? why does it not prompt for the second CD?
    Is this a compatibility with Windows Server 2008?

    I'm attempting to install CRS 2008 on Windows Server 2008 as well, and I'm running into a few issues.  Did you ever get yours resolved?  I started by trying to use IIS, but I'm uninstalling it completely now and will try Tomcat instead.  Which route did you go?

  • Performance in the Server with the created report - Crystal Report 2008

    Hi
          We have developed a complex report and deployed in the server. It takes more time to process and once if the report created and we are trying to expand a group/navigate different pages, the same time delay is happeneing. Sometimes it takes more than a minute which really kills the performance. My client has accepted the delay while the report is being genrated but  they raise question like why it takes too much time just to display the created report.
      I tried keeping the created report in Session and rebind on page_load as well stored a copy on the server and rebind whenver postback happens. Both methods working simliar and no improvement the in the performance. Is there any way to kill the time delay in this.( we have an idea like , if we store the created report  at client machine and whenever postback happens just bind from client machine instead to hit the server back, Is this achievable)
    Any Help would helpful to me
    Thanks

    Hi
    What version of CR are you using?
         Crystal report 2008, I think its in subject of this thread itself. (Version 12.0.0.683)
    What if any CR SP have you applied?
        No
    What version of .NET are you using?
      .Net 3.5 using C# technology (.Net framework 3.5)
    What database are you using?
        SQL Server2008
    What connection type are you using?
       We have created a Stored Procedure and connected the SP to the crystal report.
    What are you comparing the performance to? E.g.; is it faster somewhere else? How much faster?
        No, we didnt compare anywhere. but my question is to avoid the delay in navigation of pages or selecting an item in the group tree. The report contains 100+ pages and client is accepting delay while creating the report but not during navigation or selection( why do the already created report takes more time(even in minutes) to render on navigation or selection and how to avoid the delay))
    Define "complex report ".
    Nothing complexity in the report even we have used oly less formulas(less than 5) but chats are included and used for each group( we have 6 groups in the report)
    Thanks

  • Crystal Report 2008 doesn't set  page size when export to excel file

    Hi,
    I am using Crystal Report 2008 Developer edition.
    At Crystal report design time setting the below page setup:
    Page Options -
       to A3(297X420 mm)
    Orientation --- Landscape
    and using the following code in .net (c#)
    I am using below format options to export in excel in .net 2005
    ReportDocument oReport = new ReportDocument();
    oReport.FormatEngine.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
    oReport.FormatEngine.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA3;
    if (aParamlist.ReportFormat == ReportFormatEnum.MicrosoftExcel)
    ExcelFormatOptions excel = new ExcelFormatOptions();
    excel.ExcelUseConstantColumnWidth = false;
    // Use detail section one as a guideline to determine column width
    excel.ExcelAreaGroupNumber = 1;
    //excel.ExcelAreaType = AreaSectionKind.Detail;
    excel.ExcelAreaType = AreaSectionKind.Detail;
    // Prepare exporting options
    ExportOptions export = oReport.ExportOptions;
    export.FormatOptions = excel;
    export.ExportFormatType = ExportFormatType.Excel;
    oReport.Export();
    when export to excel it doesn't set the Paper Size to  A3(297X420 mm).
    Is there any way to set the paper size while export to excel or in other formats also????
    Thanks & Regds,

    Hi,
    thanks for your email.
    This is not happening in development environment.It is setting the paper size anf paper orientation properly.
    this is happening in the production environment where only redist installation is done.
    thanks

  • How to configure Crystal Reports 2008 and IIS7 and Windows Server 2008?

    I have downloaded and installed the trial for Crystal Reports 2008 on our Windows 2008 server.  I can open Crystal Reports on the server just fine, but I get HTTP 500 errors when I attempt to view a report hosted on that server via the web.
    As far as I can tell, the handler mappings in IIS7 are not configured properly, although I confirmed that the Crystal Reports 2008 install did add several handlers.  I read that I must configure the application pool to enable 32-bit applications.  I did that and am still getting the same error.  Documentation seems sparse and I've spent the better part of the day searching the forum here with no luck.  What am I missing?

    Don,
    Thank you for the quick response!
    We will ultimately be using ASPX/C#, but this simple case has a very basic report with no databind, just a single text label that reads "test succeeded" and I'm attempting to access it by direct URL (i.e. "http://192.168.99.21/crystalreportviewers12/test.rpt").  This works on our Windows 2000 server running Crystal Reports 8.
    I've also tested with a simple test.aspx file with only the line "Response.Write(System.DateTime.Now.ToString())" and that works just fine.  This file is in the same folder as the test.rpt file.
    If I leave the Application Pool set for the "Integrated" managed pipeline mode, I continue to get a rather generic "500 - Internal server error".  If I switch it to "Classic", I get the following error:
    Failed to Execute URL.
    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: System.Web.HttpException: Failed to Execute URL.
    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:
    [HttpException (0x80004005): Failed to Execute URL.]
       System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.BeginExecuteUrl(String url, String method, String childHeaders, Boolean sendHeaders, Boolean addUserIndo, IntPtr token, String name, String authType, Byte[] entity, AsyncCallback cb, Object state) +2004965
       System.Web.HttpResponse.BeginExecuteUrlForEntireResponse(String pathOverride, NameValueCollection requestHeaders, AsyncCallback cb, Object state) +390
       System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state) +223
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +8674594
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

  • Crystal Report 2008 on Windows Server 2008 64bit

    hi,
    I tried to run a Crystal Reports Web Application on a Windows Server 2008 64bit but I got this error:
    "Bei der Erzeugung des Reports ist ein Fehler aufgetreten.
    Der Typeninitialisierer für "CrystalDecisions.CrystalReports.Engine.ReportDocument" hat eine Ausnahme verursacht.
    CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: Fehler beim Versuch, die Crystal Reports-Laufzeit zu laden.
    Entweder reichen die Berechtigungen des Crystal Reports-Registrierungsschlüssels nicht aus, oder die Crystal Reports-Laufzeit wurde nicht ordnungsgemäß installiert.
    Installieren Sie die geeignete verteilbare Crystal Reports-Datei (CRRedist*.msi), die die erforderliche Version der Crystal Reports-Laufzeit (x86, x64 oder Itanium) enthält. Weitere Informationen erhalten Sie unter folgender Adresse: http://www.germany.businessobjects.com/support/default.asp.
    "Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    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.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information."
    The System:
    - Windows Server 2008 Standard 64bit SP2
    - Microsoft .NET Framework 3.5 SP1
    - Oracle Client 10gR2 64bit
    - I tried Crystal Report 2008 Runtime, Crystal Report 2008 Runtime SP1, Crystal Report 2008 Runtime SP2, Crystal Report 2008 Runtime SP3.
    - Crystal Report Basic Runtime for Visual Studio 2008 (x64)
    On a 32bit-system or 32bit-mode (and 32bit Oracle Client) everything is working fine. But I have to use the 64bit Oracle Client, therefore, Crystal Report have to work in 64bit-mode.
    Is it possible and what is to do to get it working, thanks,
    Martin

    It does work on 64 bit OS - as a 32 bit application. CR 2008 is 32 bit only.
    See the article [Crystal Reports support of 64 bit Operating Systems|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10d5fa88-2013-2c10-c9a5-f11963607d4e] for more info.
    Ludek

  • Crystal Report 2008 results "Password did not match error" in SQL Server Log

    Hi,
    I am trying to develop some crystal reports using Crystal Report 2008 SP4 to connect to SQL server 2008 through RDO (ODBC). My problem is that anytime Crystal Report is trying to establish a connection with SQL Server, first it tries to connect with the wrong password and results the following error message in SQL Server log:
    Login failed for user 'peyman'. Reason: Password did not match that for the login provided. [CLIENT: 192.168.2.198]
    The login name 'peyman' is the right one as I have quoted the same in setting up ODBC System DSN using "SQL Server Native Client 10". But somehow Crystal Report is taking its chance and trying to connect before prompting me for the password. After this error logged to SQL server side, I can see Crystal Report pops up the prompt to enter DSN password. After supplying password to this prompt, Crystal Report works fine and pulls the data and renders the report without having any more incorrect password error logged to SQL Server.
    The attached file shows the step I am taking to regenerate the issue. I need this to be fixed as anytime uses any of these reports and tries to render it with crystal runtime engine the same error message raises in SQL Server side and logged in the log file.
    Thanks,

    Hi Peyman,
    This is the way it should work, In CR designer when you open the report it does nothing. As soon as you hit the Refresh button then CR tries to use the connection saved with the report. It assumes what is saved with the report is a valid server and connection info. CR simply tries to verify the server is still active.
    If you don't want it to fail in CRD then before opening any report Click the File, Log on Database option and connect. Now when refreshing reports it won't log the failed.
    In the SDK it does the same thing, it assumes the Server info is the same and does try to connect to verify the Server does exist. It only takes a few milli-seconds to do this
    To stop this from happening set the log on info first then it won't log the attempt to connect, it's checking to see if Trusted is allowed.
    TIMESTAMP    THREAD_ID    FILENAME    LINE_NUMBER    LOGGED_DATA    LEVEL
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.439    57320    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.440    57320    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    444    Set Product View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    478    Set Preferred View Locale: 4105    20
    2014-6-2 8:30:11.967    57208    .\QESession.cpp    500    Set Process Locale: 4105    20
    2014-6-2 8:30:11.968    57208    .\qecommon.cpp    117    This property is currently in a read-only state and cannot be modified. File Name: ".\QEProperty.cpp". Line: 217    1
    2014-6-2 8:30:11.999    57208    .\QESession.cpp    444    Set Product View Locale: 1033    20
    2014-6-2 8:30:12.4    57320    .\qecommon.cpp    117    This value is write-only. File Name: ".\QEProperty.cpp". Line: 145    1
    2014-6-2 8:30:56.278    57208    .\odbcapi.cpp    301    Beginning COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\odbcapi.cpp    335    Ending COdbcapi::DriverConnect    20
    2014-6-2 8:30:56.342    57208    .\connect.cpp    2170    SQLDriverConnect succeeded: DSN = 192.168.13.172, User ID = sa, Password = ********    10
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 826    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 854    1
    2014-6-2 8:30:56.348    57208    .\qecommon.cpp    117     File Name: ".\QEQueryInfo.cpp". Line: 916    1
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    1184    Beginning CQERowset::readFirstRecord    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2149    Beginning CQERowset::restart    20
    2014-6-2 8:30:56.348    57208    .\QERowset.cpp    2370    Beginning CQERowset::execute    20
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    514    Query Targets: sqlncli10, ODBC3SQLServer    10
    2014-6-2 8:30:56.353    57208    .\DbQueryBuilder.cpp    525    Successfully built query:    SELECT "Orders"."Customer ID", "Orders"."Employee ID"   FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.353    57208    .\odbcapi.cpp    875    Beginning COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\odbcapi.cpp    884    Finishing COdbcapi::ExecDirect    20
    2014-6-2 8:30:56.354    57208    .\rowset.cpp    220    SQLExecDirect succeeded:  SELECT "Orders"."Customer ID", "Orders"."Employee ID" FROM   "xtreme"."dbo"."Orders" "Orders"    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Customer ID is using client buffer    10
    2014-6-2 8:30:56.354    57208    .\QERowset.cpp    2814    bindToField succeeded: Orders.Employee ID is using client buffer    10
    Notice it doesn't try to connect first if I set the log on info first using code.
    So nothing we can do to stop SQL server from logging this info. Check with the DBA, possibly they can "filter" out the application attempts to connect or change your work flow in the app.
    If you have a Preview Button to view the report then simply add your Database log on info prompt there if Connectioninfo.Trusted is not true:
    mainSecureDB = rpt.Database.Tables[tableIndex].LogOnInfo.ConnectionInfo.IntegratedSecurity;
    if mainSecureDB = false then prompt the user for log on info and set accordingly, if it is true the it should not fail when it connects.
    This is simply a matter of changing your App work flow...
    Thanks
    Don

  • Crystal Reports 2008 runtime error while running on Windows Server X64

    I have a .NET web application compiled as X86 in Visual Studio 2008 invoking Crystal Reports 2008 SP2 that's running fine at a number of sites running Windows Server 2003 X86.</br>
    </br>
    When deploying this app to Windows Server 2008 X64 I get the error message below. </br>
    </br>
    I'm aware that there is an unanswered question similar to this already in the forum but my application is compiled for X86 and I've tryed installing a variety of run times including "crruntime_12_2_mlb.msi" and "crredist2008_x86.msi".</br>
    </br>
    What combination of compile and run time is needed to get around this issue?</br>
    </br>
    Thanks.</br>
    </br>
    </br>
    ERROR MESSAGE **.</br>
    </br>
    An error has occurred while attempting to load the Crystal Reports run time..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.
    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. .</br>
    </br>
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information..</br>
    </br>
    Source Error: .</br>
    </br>
    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.  .</br>
    </br>
    Stack Trace: .</br>
    </br>
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime..</br>
    </br>
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly..</br>
    </br>
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium)  that is required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +399.</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +218.</br>
    </br>
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.].</br>
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0.</br>
       ChartsEnterprise.UI.GenReport.CreateReport(String reportname) +42.</br>
       System.EventHandler.Invoke(Object sender, EventArgs e) +0.</br>
       System.Web.UI.Control.OnLoad(EventArgs e) +132.</br>
       System.Web.UI.Control.LoadRecursive() +66.</br>
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean .</br>includeStagesAfterAsyncPoint) +2428.</br>
    Edited by: PSernz on Mar 25, 2010 3:58 AM

    What combination of compile and run time is needed to get around this issue?
    See [this|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567] wiki. I think I may not have that wiki updated up to FP2.5, so the FP2.5 msm is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975182010E/cr2008fp25_mm.zip
    msi is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100002975312010E/cr2008fp25_redist.zip
    Check the version of the CR assemblies referenced in your project. The use the wiki above to deploy the correct runtime.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Crystal Reports 2008 Page Header needed on all pages.

    I have Crystal Reports 2008.
    In my report I need the Page Header and Page Footer to appear on all pages.
    When I have over 50 detail records/lines the Page Header appears on only odd pages, the Page Footer is OK on all pages.
    How do I change the Page Header to print on all pages in CR 2008?

    Thanks what work was creating a Page Header b and moving all header info there.
    This report has 4 levels of groupings and I am finding that group effects a lot.

  • Unable To Print or Access Page Setup in Crystal Reports 2008

    I have Win 7 32 bit, and installed Crystal Reports 2008 last week (v12.0.0.683 from the Help window).
    Every time I open a report, and from the Preview tab clicking File -> Print, or File - > Page Setup, I immediately receive a Windows message that "Crystal Reports has stopped working".  After a few seconds, another Windows message displays "Crystal Reports has stopped working - a problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available".  Then Crystal completely closes.
    I downloaded sample reports from the BO website, and still receive the error, so I don't think it's the report.
    When I view the Event Log, I see the following:
    Faulting application name: crw32.exe, version: 12.0.0.683, time stamp: 0x47c8be9a
    Faulting module name: ntdll.dll, version: 6.1.7600.16385, time stamp: 0x4a5bdadb
    Exception code: 0xc0000374
    Fault offset: 0x000c283b
    Faulting process id: 0x94
    Faulting application start time: 0x01cc1fc304e98ecd
    Faulting application path: C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86\crw32.exe
    Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
    Report Id: 3cfc99e6-8bb8-11e0-b8ef-00248122792c
    I have uninstalled and reinstalled CR 2008 multiple times and continue to receive the same error.  I tried updating to SP1 (Version 12.1.0.892 Incremental) but I receive the following error: "A BusinessObjects product at a lower patch level is detected.  The installation cannot continue.  Please update all installed products to the SP1 patch level, then restart this installation".
    Need to print my reports - any ideas?

    Sorry busy on Support cases and they take precedence over this community forum.
    Very interesting....
    In a test application I use I have this routine to get the local printers:
    private void frmMain_Load(object sender, System.EventArgs e)
         if (System.Drawing.Printing.PrinterSettings.InstalledPrinters.Count > 0)
              foreach(String myPrinter in System.Drawing.Printing.PrinterSettings.InstalledPrinters )
                   cboCurrentPrinters.Items.Add(myPrinter);                         
              cboCurrentPrinters.SelectedIndex = 0;
         else
              rdoCurrent.Enabled = false;
              EnableDisableCurrentControls(false);
         //For printers exposed to System account as per MS Kbase
         //http://support.microsoft.com/default.aspx?scid=kb;en-us;184291
         //Look to HKEY_USERS\.Default\Software\Microsoft\Windows NT\CurrentVersion\Devices
         Microsoft.Win32.RegistryKey mySystemPrinters =
              Microsoft.Win32.Registry.Users.OpenSubKey(@".DEFAULT\Software\Microsoft\Windows NT\CurrentVersion\Devices");
         foreach (String defaultPrinters in mySystemPrinters.GetValueNames())
              cboDefaultPrinters.Items.Add(defaultPrinters);
         if (cboDefaultPrinters.Items.Count > 0)
              cboDefaultPrinters.SelectedIndex = 0;
         else
              rdoDefault.Enabled = false;
    Note the MS Kabse on where the printer registry is. Now the odd part is on one of my test development PC's it won't populate the Default User Printer list, only the Local User Printers. I take this same app to another PC and it works just fine. The register keys are there but for some reason on my Windows 7 64 bit it won't show them, the other strange part is I have full access to both keys. I have not been able to figure out why this happens...
    I'm thinking this may be related to your issue.... But I don't have a solution, very strange... I've even gone into regedit32 and set full permissions on the various keys and it still doesn't work...
    I have other VM-ware images if I need to get past that part for testing so I never drilled into why, I believe it has to be some Windows/Firewall/Anti-virus configuration or something our IT department pushed into my local Profile.... What that is I don't know unfortunately.
    I'll do some looking and testing. You may want to post this on Microsoft forums as well.... Ask about printer permissions.
    Thanks
    Don

Maybe you are looking for

  • Another datetyp for one user

    Hi, my problem is that for only one user the date format should look like this: 'YYMMDD'. How can i handle this, but not with alter session. Can i create a new datetyp for the user tables? With best regards. Nicole

  • TCP socket I/O from the kernel

    We've been working on extending our filesystem support from UDP to TCP, and have run into an apparent roadblock. We'd like to know whether Sun is aware of the problem that we're seeing, and if so, if there is something else we should be doing to avoi

  • Loading contacts on my new BB Curve

    I am unable to get my BB Curve to give me an option to import list of 530 contacts over. How am I supposed to transfer contacts? Help please!

  • How to view exchange rate table in essbase?

    Hi, I have created exchange rate table in Hyperion-Planning application. Now I have to view that exchange rate table in essbase. By using HSP_rate...? is it the write answer to view the exchange rate table? If I am wrong then Could you please tell me

  • Email CSQ status script for http trigger

    Hello, I have an email csq and need http trigger to monitor the emails, agents, calls etc Does anyone have a basic script for it Please let me know. Thanks Kads