Crystal Report Log in Failed

Hi All,
I am having a problem when creating a Crystal report from a Universe. when i go for new connections --> Universe -->its not asking for any log in details, its providing me the list of universes that are available. when i select my universe its giving me a Webi type interface to create a query. After creating my query and click on ok, its giving an error "LOGIN FAILED".
Please help,
Thanks in advance,
Raja.N

Hi Raja,
I moved your post to the Universe Forum. It may be a problem with the Universe or could be a problem with you logging into Enterprise/Repository. Either way I suspect it's a configuration issue first.
Don

Similar Messages

  • Crystal Reports ActiveX Designer Failed to open document

    Yesterday I created a report in Visual Studio 2008 with about 20 subreports, each subreport containing a single aggregate query (i.e count or sum). I then saved the report file. Hours later when I attempted to reopen the report in Visual Studio I recived the message box "Crystal Reports ActiveX Designer Failed to open document". The report file was completely unusable - it could not be opened for editting.
    Today I repeated the process twice (once ith multiple subreports and once with all aggregate queries combined in a single subreport), only to have the new report files become unusable with the same error message. I am completely shocked at this behaviour from Crystal Reports. I have now spent 10+ hours with no usable report. I realy need a fix for this ASAP!!! Any suggestions would be greatlhy appreciated.

    Hi Jeff,
    Just wanted to confirm you were on SP1.
    I've found that these types of error are usually due to corrupt system files or sometimes even Anti-virus software denying access. If there is no error it's not CR corrupting the file.
    Look in your AV logs to see if it's logging anything.
    Another possibility is with MS pushing out patches they can also cause problems. I've see them change permissions on our dependencies that can cause problems.
    Sorry I can't be specific but without seeing your report or any details you'll have to determine at which step in the report it stops working.
    Can you save any reports now?
    Steps to debug, create a new report with no subreports and save it. Then re-open, if that works then start adding one subreport and then save/open. It may be something related to either the subreports or the number of subreports.
    You could try doing a repair install of VS and SP1.
    Was this working at one time or is this something new, do you have other reports that are similar that have problems?
    You need to debug the report and find out what is causing it to be corrupted. Try adding the 20th subreport and then delete it also.
    Don

  • HostXYZ.cacheserver - Crystal Reports Cache Server: Failed to start/stop

    Hi,
    We are  unable to  open any of the BO Crystal Reports through our 'Clarity PPM Web Application'.When we logged on to the BO CMC portal in the production environment, In the 'Servers' section, we could see the 'HostXYZ.cacheserver in 'Stopped' state.When we are trying to restart that server, it results in an error "HostXYZ.cacheserver - Crystal Reports Cache Server: Failed to start/stop".Could you please help me how to proceed further?Please let me know, if you need any other information.
    Thanks,
    Sandeep

    WHich version of BO do you use? Go into the CMC navigate to Servers and check the Metrics section of your Central management server. There should be a version number like x.y.z.w there. Can you please post it here?
    Regards,
    Stratos

  • How to enable the crystal report log details version 2008

    Hi,
    Kindly give suggestion to enable the crystal report log in BOXIR3.1.  Crystal report version 2008. (User's want to know the complete details log for the report refreshing)
    Thanks.

    This is essentially the same query as in Crystal Report 2008 - Sever.CreateObject Failed which is also posted by you.
    I am thus setting this thread as assumed answered and locking. Please continue to work the issue on the above thread.
    Ludek

  • Crystal Reports ClickOnce install fails after upgrade to run time 13.0.2

    I realize this is very similar to two other posts but the ClickOnce failure was not addresses in the two threads I found.
    Visual Studio 2010 V 10.0.40219.1 SP1Rel
    .NET Framework V 4.0.30319 SP1Rel
    Crystal Reports for .NET Framework 4.0 BuildVersion=13.0.2.469.Cortez_CR4VS (from ProductId.txt in the download folder)
    Application was original developed using CR BuildVersion=13.0.1.220.Cortez_CR4VS
    So since I upgraded this week, if a user clicks the Launch link on the deployment web page the application loads the appl;ication update and starts. Does not even check with Crystal Reports but everything seems to work.
    The new version of the Crystal Reports runtime tries to install for users I have that enjoy clicking the run button. The install fails and points at a log file, the key part of which is
    Installing using command 'C:\WINDOWS\system32\msiexec.exe' and parameters ' -I "C:\DOCUME1\clyle\LOCALS1\Temp\VSDC8.tmp\Crystal Reports for .NET Framework 4.0\CRRuntime_32bit_13_0_2.msi" -q '
    Process exited with code 1603
    Status of package 'SAP Crystal Reports Runtime Engine for .NET Framework 4.0' after install is 'InstallFailed'
    Uninstalling the previous version manually alleviates the failure as does manually running the msi on the target machine. But that kind of defeats the purpose of ClickOnce. Looking at product.xml that accompanies the runtime download I see it tests for the 13.0.2 version and bypasses the install if it finds it but it does not check for earlier versions.
    Another thread I read indicated changing the switches in the install command would work but I am not clear on how to do that from ClickOnce, I cannot locate where the command is being given. Is there a way to get it to test for previous versions and delete them or force an overwrite using the ClickOnce?

    Ludek,
    Did this issue above every get resolved? 
    Here is what I have:
    ClickOnce, Windows form app that uses Crystal.  I upgraded to VS 2012 and Crystal right along
    with it. 
    I only want the 32bit version to install, even on 64bit
    machines.  I have modified the
    product.xml file to allow for this.  Also
    have some machines with version 13.0.0 and 13.0.1 of the Crystal ClickOnce msi
    file.  Would like to get everyone up to
    13.0.6.
    I am doing ALL this testing on clean VMWare installs.
    Windows 7 x64 and Windows XP x86.
    I force the 32bit install in the product file. (This I believe
    is working correctly) And I do a version check, this is where the problem comes
    in… Below, from the product file:
      <InstallChecks>
        <RegistryCheck
    Property="CRRuntime32Version" Key="HKLM\SOFTWARE\SAP
    BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports"
    Value="CRRuntime32Version" />
      </InstallChecks>
    Note to path in the registry. This path which is installed
    by CR is different for Win7 vs WinXP, not sure why?  In Win7 the path is: 
    HKLM\SOFTWARE\Wow6432Node\SAP
    BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports
    Also if you have version 13.0.0 installed there is no entry
    in the registry for the version number at all!
    The log file also show that it can’t find the version if 13.0.0 is
    installed.
    Admittedly the error log shows that it is somehow finding
    the version if it is 13.0.1 (nothing for 13.0.0)? But even though I have it set
    to skip the 13.0.6 install if the version check is 13.0.1 or higher Crystal
    attempts to install anyway, and it fails in the process, halting the entire
    ClickOnce install.
    In summary.  I need to
    be able to check the version currently installed and update it to 13.0.6.  This fails and seems to be a bug?   Hopefully there is a work around. 
    Thanks,
    Jim
    The product.xml file I have modified is below for review.
    <?xml version="1.0" encoding="utf-8" ?>
    <Product
      xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"
      ProductCode="SAP.CrystalReports14.NET.2.0"
    >
      <!-- Defines list of files to be copied on build -->
      <PackageFiles>
        <PackageFile Name="CRRuntime_32bit_13_0_6.msi"
          HomeSite="http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_6.msi"
          PublicKey="30818902818100cbc8f3d8b4bc4db86f150116f4ad7f2fd2d91d29ae6f752c2aa6489cbda10670a0b97b8840d03dd8d082bfb985882b1278504bdd15a1f2a00b629cd70bf26d94b3933a9647a12c819ca67acd1c32ac942e1b824aad4fd8e8a989c45cf4a13770fe2b233f598ea06b62081174be6b7701f347612c126d42c2f9b759ff00164eb30203010001"/>
      </PackageFiles>
      <RelatedProducts>
        <DependsOnProduct Code="Microsoft.Net.Framework.2.0" />
        <DependsOnProduct Code="Microsoft.Data.Access.Components.2.8" />
      </RelatedProducts>
      <InstallChecks>
        <RegistryCheck Property="CRRuntime32Version" Key="HKLM\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Crystal Reports" Value="CRRuntime32Version" />
      </InstallChecks>
      <Commands Reboot="Defer">
        <Command PackageFile="CRRuntime_32bit_13_0_6.msi"
          Arguments=''
          EstimatedInstalledBytes="50000000"
          EstimatedInstallSeconds="220">
          <!-- These checks determine whether the package is to be installed -->
          <InstallConditions>
            <!-- Comment out the below BypassIf entry if you want to install the 32bit version CRRuntime redist in the target machine -->     
            <!-- ByPass if the Processor is not x86 -->
            <!-- <BypassIf Property="ProcessorArchitecture" Compare="ValueNotEqualTo" Value="Intel"/> -->
            <!-- ByPass if the installed version is same or higher -->
            <BypassIf Property="CRRuntime32Version" Compare="VersionGreaterThanOrEqualTo"  Value="13.0.1"/>
            <!-- Block install if user does not have admin privileges -->
            <FailIf Property="AdminUser" Compare="ValueEqualTo" Value="false" String="AdminRequired"/>
            <!-- Block install on Win95 -->
            <FailIf Property="Version9x" Compare="VersionLessThan" Value="4.10" String="InvalidPlatformWin9x"/>
            <!-- Block install on NT 4 or less -->
            <FailIf Property="VersionNT" Compare="VersionLessThan" Value="5.00" String="InvalidPlatformWinNT"/>
          </InstallConditions>
          <ExitCodes>
            <ExitCode Value="0" Result="Success"/>
            <ExitCode Value="1641" Result="SuccessReboot"/>
            <ExitCode Value="3010" Result="SuccessReboot"/>
            <DefaultExitCode Result="Fail" FormatMessageFromSystem="true" String="GeneralFailure" />
          </ExitCodes>
        </Command>
      </Commands>
    </Product>

  • Crystal report with Parameters failed on Sybase

    I have created the report in crystal report 2008 which accept the parameter. I have used the SybaseServer provider. The report worked fine in Crystal report designer. However when I run the same report through the .net application it fails saying "Logon Failed."  I have set the connection like
    foreach (CrystalDecisions.Shared.IConnectionInfo reportConnectionInfo in reportDocument.DataSourceConnections)
                    if (useTrustedConnection)
                        reportConnectionInfo.SetConnection(dbServerName, databaseName, true);
                    else
                        reportConnectionInfo.SetConnection(dbServerName, databaseName, userId, password);
    The above code work for SQL Server but failed with Sybase.

    First make sure you have SP 2 for CR 2008;
    https://smpdl.sap-ag.de/~sapidp/012002523100009038092009E/cr2008win_sp2.exe
    Next, I'm not sure if the connection you want to use is trusted or not. If it is, see [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b021e47e-be1d-2b10-c6b2-efa9db3abd6b] article. If it is not, see the code documented in the following resources to log on  to the database;
    sample apps;
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    (see vbnet_win_dbengine)
    Article;
    https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23&overridelayout=true
    (the above applies to most versions of CR)
    Also, see the following article for general help on db connectivity:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Edited by: Ludek Uher on Jan 4, 2010 6:57 AM

  • Crystal reports "Database login failed" when using push method

    I have a web application (ASP.NET, .NET v3.5), that pushes data to a CR 2008 report. On two servers one of the three reports returns a "Database login failed" error. I am stumped since there is no login, it's push not pull; in addition the problem is hard to debug since it works fine from my developers workstation. I have "updated" the xsd in that report, reinstalled the app, etc., non of which helped. If anyone has a solution or even ideas I'd appreciate the help.

    What about following the troubleshooting steps as described in the blog;
    Create an XML file off of your dataset. Make sure this is done just before you set the dataset to the report:
                rpt.Load(rptPath)
    myDataset.WriteXml(xmlPath, XmlWriteMode.WriteSchema)
    rpt.SetDataSource(myDataset)
    Copy the above created XML to your development system
    Open the problem report in the Crystal Reports designer
    In the Desigger, go to the Database menu and select u201CSet Datasource Locationu201D
    In the u201CReplace with:u201D pane, expand the u201CCreate New Connectionu201D folder.
    Double click the u201CADO .NET (XML)u201D icon
    Browse to the location of the XML file you created in step (1)
    Click on the path to the XML. The <Update> button should enable
    Click on the <Update> button
    Typically, either of the following will happen:
    You will get a u201CMap Fieldsu201D dialog. This indicates that the XML written off of your dataset does not match what the report is expecting. This may be due to incorrect fields name, incorrect field type, etc. You will now need eliminate the difference.
    Incorrect data or no data. There is an issue with your dataset and you need to determine why the data is not present in your dataset. Looking at the XML may be a good place to start.
    Ludek

  • Crystal Report 8.5 failed to do direct printing, but can preview and print

    Our application is utilizing Crystal Report 8.5
    When we try to print a financial report that compares 2 periods (np for single period), it would fail to do direct printing and our application hanged with CPU 100% loading.
    However, if we do a preview and press the print button, there will be no problem.
    Does anyone know how to solve this problem?

    Any info as to what the app is doing when it's printing directly rather than via the viewer?
    SDK used, what functionality, etc?
    Sincerely,
    Ted Ueda

  • Export from Crystal Reports 2008 viewer fails if run on separate thread

    I have a windows desktop application written in Visual Basic using Visual Studio 2008.  I have installed and am trying Crystal Reports 2008 to run a report.  Everything seems to work well except that when I preview a report (using the viewer control) and click the export button found in the upper left corner of that control, I get the following message:
    Error 5: Current thread must be set to single thread apartment (STA) mode before OLE calls can be made.  Ensure that your Main function has STAThreadAttribute marked on it.  This exception is only raised if a debugger is attached to the process.
    I am a little confused on what to do exactly.  Is the problem because I am running in the Visual Studio 2008 IDE?  It says this exception is only raise if a debugger is attached to the process.  No, I tried running it outside the IDE.  The exception wasn't generated but the application hung when the button was clicked.
    It says the current thread must be set to single thread apartment (STA) mode.  If the report is run on its own thread, is the "current" thread the thread the report is running on or is the main application's UI thread?  I don't think I want to set my main application to single thread apartment mode because it is a multi-threaded application (although I really don't know for sure because I am new to multi-threaded programming). 
    My objective is to allow reports to run asynchronously so that the user can do other things while it is being generated.  Here is the code I use to do this:
        ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim backgroundProcess As System.ComponentModel.BackgroundWorker
            ' Start a new thread to run this report.
            backgroundProcess = New System.ComponentModel.BackgroundWorker
            Using (backgroundProcess)
                ' Wire the function we want to run to the 'do work' event.
                AddHandler backgroundProcess.DoWork, AddressOf PreviewReportAsynch_Start
                ' Kick off the report asynchronously and return control to the calling process
                backgroundProcess.RunWorkerAsync(sourceDatabase)
            End Using
        End Sub
        Private Sub PreviewReportAsynch_Start(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs)
            ' The source database needed to call preview report was passed as the only argument
            Call PreviewReport(CType(e.Argument, clsMainApplicationDatabase))
        End Sub
        ' Previews the report.  From the preview window, the user can print it.
        Public Function PreviewReport(ByVal sourceDatabase As clsMainApplicationDatabase) As FunctionEndedResult
            Dim errorBoxTitle As String
            Dim frmPreview As frmReportPreview
            ' Setup error handling
            errorBoxTitle = "Preview " & Name & " Report"
            PreviewReport = FunctionEndedResult.FAILURE
            On Error GoTo PreviewError
            ' Set up the crxReport object
            If InitializeReportProcess(sourceDatabase) <> FunctionEndedResult.SUCCESS Then
                GoTo PreviewExit
            End If
            ' Use the preview form to preview the report
            frmPreview = New frmReportPreview
            frmPreview.Report = crxReport
            frmPreview.ShowDialog()
            ' Save any settings that should persist from one run to the next
            Call SavePersistentSettings()
            ' If we got this far everything is OK.
            PreviewReport = FunctionEndedResult.SUCCESS
    PreviewExit:
            ' Do any cleanup work
            Call CleanupReportProcess(sourceDatabase)
            Exit Function
    PreviewError:
            ' Report error then exit gracefully
            ErrorBox(errorBoxTitle)
            Resume PreviewExit
        End Function
    The variable crxReport is of type ReportDocument and the windows form called 'frmPreview' has only 1 control, the crystal reports viewer. 
    The print button on the viewer works fine.  Just the export button is failing.  Any ideas?

    Hi Trevor.
    Thank you for the reply.  The report document is create on the main UI thread of my application.  The preview form is created and destroyed on the separate thread.  For reasons I won't get into, restructuring the code to move all the initialization stuff inside the preview form is not an option (OK, if you a really curious, I don't always preview a report, sometimes I print and/or export it directly which means the preview form isn't used).
    What I learned through some other research is that there are some things (like COM calls and evidently some OLE automation stuff) that cannot be run on a thread that uses the MTA threading model.   The export button probably uses some of this technology, thus the message stating that an STA threading model is required.  I restructured the code as follows to accomodate this requirement.  Here is a sample:
    ' Previews the report using a new thread (asynchronously)
        Public Sub PreviewReportAsynch(ByVal sourceDatabase As clsMainApplicationDatabase)
            Dim staThread As System.Threading.Thread
            ' Start the preview report function on a new thread
            staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep1)
            staThread.SetApartmentState(System.Threading.ApartmentState.MTA)
            staThread.Start(sourceDatabase)
        End Sub
        Private Sub PreviewReportAsynchStep1(ByVal sourceDatabase As Object)
            Dim staThread As System.Threading.Thread
            ' Initialize report preview.  This includes staging any data and configuring the
            ' crystal report document object for use by the crystal report viewer control.
            If InitializeReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase)) = FunctionEndedResult.SUCCESS Then
                ' Show the report to the user.  This must be done on an STA thread so we will
                ' start another of that type.  See description of PreviewReportAsynchStep2()
                staThread = New System.Threading.Thread(AddressOf PreviewReportAsynchStep2)
                staThread.SetApartmentState(System.Threading.ApartmentState.STA)
                staThread.Start(mcrxReport)
                ' Wait for step 2 to finish.  This blocks the current thread, but this thread
                ' isn't the main UI thread and this thread has no UI anymore (the progress
                ' form was closed) so it won't matter that is it blocked.
                staThread.Join()
                ' Save any settings that should persist from one successful run to the next
                Call SavePersistentSettings()
            End If
            ' Release the crystal report
            Call CleanupReportProcess(DirectCast(sourceDatabase, clsMainApplicationDatabase))
        End Sub
        ' The preview form must be launched on a thread that use the single-threaded apartment (STA) model.
        ' Threads use the multi-threaded apartment (MTA) model by default.  This is necessary to make the
        ' export and print buttons on the preview form work.  They do not work when running on a
        ' thread using MTA.
        Public Sub PreviewReportAsynchStep2(ByVal crxInitializedReport As Object)
            Dim frmPreview As frmReportPreview
            ' Use the preview form to preview the report.  The preview form contains the crystal reports viewer control.
            frmPreview = New frmReportPreview
            frmPreview.Report = DirectCast(crxInitializedReport, ReportDocument)
            frmPreview.ShowDialog()
        End Sub
    Thanks for your help!
    Andy

  • Crystal Report XI – MultiThread failed - PEOpenEngineEx Error:512

    In Crystal Report XI u2013 Multi Thread - function PEOpenEngineEx failed. Reason: Report engine not opened
    Hi
    I am using Crystal report XI with Delphi 7
    OS: Windows XP.
    Delphi 7
    CR Version: Crystal Report XI
    In Crystal Report XI While calling PEOpenEngineEx() by setting Engine option as multi thread, It failed with error message u201CError:512 Report Engine Not Openedu201D
    Code Change in Delphi 7 UCrpe32.pas (Crystal Reports XI Release 1 - Service Pack 3 and Service Pack 4)
      aEngineOptions.openEngineType := PE_OE_MULTI_THREADED;
      FEngineOpened := FCrpeEngine.PEOpenEngineEx(EngineOptions);
    I tried the same with Crystal Report 8.5 (above mentioned code change) Function PEOpenEngineEx() working fine.
    How to overcome this error to make work Multi Thread using CR XI?
    Regards,
    Jamson.

    I would make verify the database within Crystal report and then re publish it again. It seems it doesn't get the connection to the db.
    Have you refreshed the database within Crystal Reports?
    As Graham said, does it open in Crystal Viewer?
    another thing would be to add the DSN (System DSN) onto your client machine as well. Maybe it is not getting a right connection.
    Try it and let us know.
    Kind Regards
    Jehanzeb

  • Crystal Reports 2008 installation fails

    I recently re-installed Windows XP SP3 on my laptop and need to re-install Crystal Reports 2008.
    I place the installation CD into the drive and the Auto-run application starts up and asks for the language to install.
    I select English and click on the Install button.
    After about 10 seconds I get a very cryptic error message.
    Crystal Reports 2008 Setup Error
    Crystal Reports Setup 2008 has failed.
    If the problem persists, please contact Business Objects Product Support.
    Any help in this matter would be greatly appreciated.
    Edited by: Truper on Feb 9, 2010 1:58 PM

    It's likely a dependency issue. Make sure the .NET frame 1.1 and 2.0 are installed. GO to Microsofts site or possibly they are an option in the update page.
    Thank you
    Don

  • Crystal Reports 2008 Loading Failed Error in Windows 7

    Hi,
    We are using Crystal Reports 2008 in our application. These are working fine in XP Professional OS. But the Same code is not working in Windows 7 operating system. When I debug, I found report Load is failing. Error is at below line of code.
    CR.Load( "D:\Sample_Win7.rpt", OpenReportMethod.OpenReportByTempCopy)  ' CR is Report Document
    Can any one suggest me, what settings are required in Win 7 OS to get out of this issue.
    Thanks inadvance,
    Kiran

    Hi,
    Thanks for the reply. Here is the exact issue description.
    CrystalDecisions.Shared.CrystalReportsException was caught
      Message="Load report failed."
      Source="CrystalDecisions.CrystalReports.Engine"
      StackTrace:
           at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)    at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod)    at SampleReportInWin7.Form1.Button1_Click(Object sender, EventArgs e) in D:\Brookledge SW\SampleReportInWin7\Form1.vb:line 22
      InnerException: System.Runtime.InteropServices.COMException
           ErrorCode=-2147467259
           Message="The system cannot find the path specified. "
           Source="Analysis Server"
           StackTrace:
                at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)    at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
           InnerException:
    Thanks for your time,
    Kiran

  • Crystal Reports 2011 IDE fails to save active report

    Hi,
    I've been using CR 2011 to update some previous versions of CR.  When I go to save the report 9 out of 10 times it fails to save the active report file and turns the report into a .tmp file.  I then have to save the report back to a .rpt file and it is fine and the report still works.  But this is driving me nuts.  To have to keep on saving as after the IDE fails.
    Anyone have any help/suggestions on this.
    Thanks,
    Jim

    hi Jim,
    are you using crystal reports for visual studio as the IDE? if so, please repost your question here.
    if not (i.e. you are using crw32, the regular crystal reports designer tool), please ensure that you've got the latest sp installed from here. after that, if you still experience the problem please provide a link to one of your reports (e.g. in dropbox) with saved data so that it can be tested by someone else on their version of cr.
    thanks,
    jamie

  • Problem in Crystal Report 11 Logon failed Vendor Code 4060- Please help

    We are using VB 6.0 as front end, SQL 2005 Express edition as a data base server back end and crystal report 11 as reporting tool on Windows XP with SP2. The problem is, In the local system where DB exits the report generates fine. But if DB in network system the report will not work and it will ask for connection information (Provide necessary information to Logon to the chosen data source). We are using ODBC to connect the report. And if we give the correct password the report will generate
    I have checked all your help file and sample code but solution not found. please help as soon as possible
    Regards
    Karthik

    Hi Karthik,
    Ensure the report is using the correct connection information. For example, the data source name, server name, database name, and user name are correct.
    In a database-client test tool, ensure that the fields, tables, and procedures used by the report exist and that SQL queries can be executed against them.
    In the Crystal Reports designer, verify that the SQL query, as shown under the Database menu Show SQL Query option, does not contain syntax errors.
    If the SQL query shown in Crystal Reports is valid, execute the same SQL query through a database-client test tool.
    Is report working fine in designer?
    Which database connection are you using?
    Regards,
    Shweta

  • Crystal report database logon failed through ODBC in report

    Please see viewpage.cs in type = "FPR"  in my web application
    https://sourceforge.net/projects/aspchequesprint/
    is it my program code problem ?
    i edited as following also not work, when i update with crystal report 2008 sp1 it said version is too low
                    TableLogOnInfo crTableLogonInfo = new TableLogOnInfo();
                    for (int i = 0; i < objRpt.Database.Tables.Count - 1; i++)
                        crTableLogonInfo.ConnectionInfo.ServerName = "Cheque";
                        crTableLogonInfo.ConnectionInfo.DatabaseName = database_name;
                        crTableLogonInfo.ConnectionInfo.UserID = "sa";
                        crTableLogonInfo.ConnectionInfo.Password = "fa920711";
                        objRpt.Database.Tables<i>.ApplyLogOnInfo(logOnInfo);
                    TableLogOnInfos crTableLogonInfos = new TableLogOnInfos();
                    crTableLogonInfos.Add(crTableLogonInfo);
                    CrystalReportViewer1.LogOnInfo = crTableLogonInfos;

    can not load database info after edit the code in above link
    i use p2sodbc.dll it said can not load database info,
    error at objRpt.ReportClientDocument.DatabaseController.SetTableLocation(boTables[0], boTable);
    is the code correct?
    public partial class _Default : System.Web.UI.Page
            private ReportDocument objRpt = null;
            protected void Page_Unload(object sender, EventArgs e)
                if (this.objRpt != null)
                    this.objRpt.Close();
                    this.objRpt.Dispose();
            protected void Page_Load(object sender, EventArgs e)
                CrystalReportViewer1.HasToggleGroupTreeButton = false;
                CrystalReportViewer1.HasToggleParameterPanelButton = false;
                CrystalReportViewer1.HasPrintButton = true;
                CrystalReportViewer1.HasDrilldownTabs = false;
                CrystalReportViewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
                CrystalReportViewer1.PrintMode = CrystalDecisions.Web.PrintMode.ActiveX;
                string database_name = "Cheque_Test";
                string odbc_name = "Cheque";
                string db_username = "martinhylee";
                string db_password = "fa920711";
                objRpt = new ReportDocument();
                string reportPath = @"C:\michael\access_test\Cheque\Ada\Reports\Report1_85.rpt";
                objRpt.Load(reportPath, OpenReportMethod.OpenReportByTempCopy);
                //'Create a new Stored Procedure Table to replace the reports current table.
                CrystalDecisions.ReportAppServer.DataDefModel.Procedure boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Procedure();
                //'boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
                PropertyBag boMainPropertyBag = new PropertyBag();
                //'boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
                //'In the main property bag (boMainPropertyBag)
                PropertyBag boInnerPropertyBag = new PropertyBag();
                //'Set the attributes for the boInnerPropertyBag
                boInnerPropertyBag.Add("Connect Timeout", "15");
                //boInnerPropertyBag.Add("Data Source", "MyDataSource");
                boInnerPropertyBag.Add("Data Source", odbc_name);
                boInnerPropertyBag.Add("DataTypeCompatibility", "0");
                boInnerPropertyBag.Add("General Timeout", "0");
                //boInnerPropertyBag.Add("Initial Catalog", "MyCatalog");
                boInnerPropertyBag.Add("Initial Catalog", database_name);
                boInnerPropertyBag.Add("Integrated Security", "False");
                boInnerPropertyBag.Add("Locale Identifier", "1033");
                boInnerPropertyBag.Add("MARS Connection", "0");
                boInnerPropertyBag.Add("OLE DB Services", "-5");
                boInnerPropertyBag.Add("Provider", "SQLNCLI");
                boInnerPropertyBag.Add("Tag with column collation when possible", "0");
                boInnerPropertyBag.Add("Trust Server Certificate", "0");
                boInnerPropertyBag.Add("Use Encryption for Data", "0");
                //'Set the attributes for the boMainPropertyBag
                //boMainPropertyBag.Add("Database DLL", "crdb_ado.dll");
                boMainPropertyBag.Add("Database DLL", "p2sodbc.dll");
                boMainPropertyBag.Add("QE_DatabaseName", "VEPILOT");
                boMainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
                //'Add the QE_LogonProperties we set in the boInnerPropertyBag Object
                boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
                boMainPropertyBag.Add("QE_ServerDescription", "MyServer");
                boMainPropertyBag.Add("QE_SQLDB", "True");
                boMainPropertyBag.Add("SSO Enabled", "False");
    Edited by: Don Williams on Jul 12, 2011 8:47 AM

Maybe you are looking for

  • How do I setup my Virgin email account on my iphone 4s?

    My friend as actually just bought her 4S and is wondering how to setup her Virgin Email account. I have a googlemail so it's quite obvious for me as there's a selection for it in the menu. But when I go to other i'm unsure what to tell her to put in

  • BlackBerry Video Store

    I saw a post on blackberryos.com titled Introducing: BlackBerry Video Store for PlayBook http://www.blackberryos.com/blackberry-playbook/28635-introducing-blackberry-video-store-playbook.ht... The post has a link to register for the Blackberry Video

  • Nokia 100 hard reset

    Hi, My company recently purchased two dozens of Nokia 100 to lend to our foreign visitors so they can make local calls free of charges (it costs us nearly nothing and our clients love it). Obviously we have to "clean" the phones between each users, a

  • Insert line break

    I am using v 7.0 I have a 12 page outline and on page 7 I need to insert a new line of text. When using the Touchup text tool, insert and line break, a box is created around one line of text. Upon hitting the ENTER key instead of forcing a line break

  • Firefox 11.0 Personas are not staying enabled after restart of FF11

    After updating Firefox 10.0.2 to FF 11.0, both of my PC's personas that I have will not stay enabled after restarting FF 11.0. I have tried different personas on each PC and they also will not stay enabled after a restart of the browser. FYI, I am st