Unknown Query Engine Error when doing a Verify Database

Hi there,
Using Crystal 10. Sybase Server.
Have built a report that connects to a stored procedure. The stored procedure has since been updated, and new fields have been added.
Usual process for me is to simply:
1. Go to Database > Verify Database
2. Enter login credentials for server
3. Enter parameter values (as per stored proc)
4. Report is then updated and new fields display
Currently, I am able to complete step 3. As soon as I hit ok, i get an 'Unknown Query Engine Error' - to which I can only hit OK. Doing so results in no changes - and the new fields of course do not display.
Any clues on what might be going wrong? I am guessing that it is something to do with the stored proc itself - but perhaps it is some sort of permissions issue?
Grateful for any assistance you can provide. Please let me know if you need any more info from me.
Many thanks,
Corinne

Likely due to some field type defined incorrectly or not supported. Try creating a new report off the new update connection info. If that fails also then it's the data source causing the problem.

Similar Messages

  • Crystal Reports 10 Error "Unknown Query Engine Error"

    Hi guys,
    after creating reports with crystal reports 2008 fails,because there's no 64-bit runtime version i try to develope my reports now with Crystal Reports 10 (ships with Visual Studio 2008).
    I've minimized the complexity to a minimum - a simple console application without SharePoint or something like that. Now i'm getting the error:
    "Unknown Query Engine Error"
    when i try to set the DataSource for my report. Of course i created a new report file with CR10 to avoid compatibility issues. Every Users has full permissions on the file system...
    I'm using the follwing Code Snippets, which are working fine for Crystal 2008 and don't threw an error while compiling in CR10.
    Schema.xsd:
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="XMLSchema1"
        targetNamespace="http://tempuri.org/XMLSchema1.xsd"
        elementFormDefault="qualified"
        xmlns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:mstns="http://tempuri.org/XMLSchema1.xsd"
        xmlns:xs="http://www.w3.org/2001/XMLSchema"
    >
      <xs:element name="News">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Title" type="xs:string" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:schema>
    ConsoleApplication.cs:
                MyReport report = new MyReport();
                DataSet ds = new DataSet();
                DataTable t = new DataTable("News");
                DataColumn title = new DataColumn("Title");
                title.DataType = Type.GetType("System.String");
                t.Columns.Add(title);
                ds.Tables.Add(t);
                DataRow drDataRow;
                drDataRow = t.NewRow();
                drDataRow["Title"] = "My Title";
                t.Rows.Add(drDataRow);
                * //Error is thrown here*
                report.SetDataSource(ds);
                string filename = "C:\\report.pdf";
                report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat,
                     new System.IO.FileInfo(filename).ToString());
    Does anyone have an advice: Do i miss a patch or hotfix? These problem frustrates me already, because i thought setting a datasource couldn't be such a problem...
    Thanks in Advance,
    Christian

    Resolution:
    This Version of Crystal Reports (Visual Studio 2008 .Net) doesn't want the crdb_adoplus.dll in the GAC. After i uninstall the *.dll the Console Application run without problems. For SharePoint you have to create a custom CAS which should look like this:
    <CodeGroup
                                  class="UnionCodeGroup"
                                  version="1"
                                  PermissionSetName="FullTrust"
                                  Name="Crystal_Strong_Name"
                                  Description="This code group grants code signed with the Crystal Reports strong name full trust. ">
                                <IMembershipCondition class="StrongNameMembershipCondition"
                                                      version="1"
                                                      PublicKeyBlob="0024000004800000940000000602000000240000525341310004000001000100f1191170c753924fe8b624c15216d8d4869e4f37d0e7941b77c05c67ba0662a7ad9099e1041739a3b1f33255c4f8c878649a558b7aaef8e08c7ce3edc2275cbda2608381813fc038db8e5792a729658c59e73121691f22197aa92c7e715d7dfdbb2730b037ccdfcd2708fbfc8c9a1a60be50c635975afce4e4b1e3e12613cfc2"
                                                      />
    Well - CR drives me crazy
    Edited by: C.Kaiser on Oct 14, 2010 4:36 PM

  • Unknown Query Engine Error

    Post Author: Scott Miers
    CA Forum: Data Connectivity and SQL
    Hello,
    I have an application written in vb6 that opens a crystal 11 report.
    The report retrieves data from Microsoft SQL Server 2005.
    Occasionally, I get this error when opening large reports:
    "Unknown Query Engine Error"
    The error also occurred on Microsoft SQL Server 2000 and Crystal 8.5
    I only receive this error message on windows XP. This error does not occur on Windows 2000 workstation or server.
    I can easily reproduce the problem.
    Any Suggestions?
    Regards,
    Scott

    Post Author: sharonmtowler
    CA Forum: Data Connectivity and SQL
    im not sure if you are asking a question, do you place the parameters in the sub report as well as the main?

  • Query Engine Error when adding to repository.

    I'm using Crystal 9.  I am trying to using the Add Command function as a datasource from an ODBC connection.  The SQL is straightforward.
    Select dbo.CDS_STATDAY.Meta_ID
    From dbo.CDS_STATDAY
    I get an error when I select the "Add to Repository" checkbox in the "Add Command to Report" dialog box.  I don't get an error if I don't select it and the query seems to run fine.
    The errors I get are 'Query Engine Error:"' and then 'Not supported.  Details: Failed to create object.'
    Is this a permissions problem?

    Hi Mark,
    Do you have  Business Objects / Crystal Enterprise in stalled in your network? If so, what is the version of Enterprise you are using ?  This is becuase, the Crystal Query enginene have changed from  CR server XI. 
    Thanks,
    Sastry

  • Query Engine Error after upgrade from CR for VS2003 to CR for VS2008

    Three CR reports were built in CR 8.5, loaded into VS2003 (C#), and converted. Each report worked fine for the past three years. Each report users the same odbc connection direct to the Sybase 12.5.3 database and each is based on a stored procedure. Each report has input parameters. Recently we did an upgrade to VS2008. We installed the CRRedist2008_x86.msi on the development machine running Windows XP and on the server running Windows 2003. No changes were made to the design of the reports, the parameters, or to the database stored procedures.
    Several other reports run just fine since the update to VS2008, however, two reports are now raising an error message "Query Engine Error: 'An internal error has occurred. Please contact Business Objects technical support.' Failed to open a  rowset." This error message occurs just after ReportViewer.ShowDialog() method is called (login has already been successfully achieved) I verified that with the parameters being passed to the reports are correct and that these should indeed be returning data.
    One additional report is also now raising the error "Query Engine Error at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext) ". It can be described as above, odbc connection to Sybase 12.5.3, achieves a successful login, based on a stored procedure that is unchanged. The rpt itself is unchanged.
    I would appreciate your assistance with getting these reports working again. Any suggestions welcome!

    I forgot to mention that I had already done a 'Verify Database' on each of these reports, with no success. However, I have now repeated the 'Verify Database' on each report and they all work. Not sure why it had to be done a second time, but I am very happy that it works. Thank you for your response.
    In answer to your question - why does the Crystal Reports runtime have to be installed on the development machine? This is because our process includes an installation of the application on the development machine, independent of the debug environment, and a test of that application instance before deploying to the application server.

  • Unknown namespace prefix Error - when using custom Aliases with RDF aliases

    I am getting unknown namespace prefix error when I use custome SEM_ALIAS with rdf SEM_ALIAS. It seems once you specify custom SEM_ALIAS, the default rdf alias is not recognized. Following are the details of queries
    I have a sem_Model "test" which has "event" as a class and "Merger" as a sub-class of event, with "acquiringorg" as a property having the domain "org". "Org" is also defined as a class with the literal attribute "hasname". I have added one instance of "merger" class with appropriate values for "acquiringorg" property. There is one instance or "Org" as well for reference in the instance above.
    the following query(return all objects having property "acquiringorg" and its .e. "hasName" attribute for the object) runs fine and returns appropriate resultset
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    However when I want to add another criteria i.e. show me events of type merger(?x rdf:type :Merger) , the query fails with the "unknown namespace prefix error" as above
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    specifying "rdf" ALIAS explicitly also does not work
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(_SEM_ALIAS('rdf', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'),_
    SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    I am unable to figure out why default namespace i.e. rdf is returning this error
    Stuck at this point badly!!Any pointers would be useful!!

    Full error details are as below
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.ParseException: Unknown namespace prefix ''
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 153
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 842
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 235
    ORA-06512: at line 1
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Query Engine Error in Crystal Report

    I have a asp application with crystal report as reporting tool. Every thing works fine with Oracle 9i, but when i migrate to Oracle Database 10g Release2 some of the reports in crystal report shows following error report.
    Query Engine Error:'HY00:[oracle][ODBC][ora]ora-01456:may not perform insert/delete/update operation inside a Read Only transaction.
    ORA-06521:at "<dbusername>.<procedure name>,line 58
    ORA-06512:at line1
    I checked the database is in READ WRITE mode.
    any help wolud be appreciated.
    Thanks in Advance
    Debashis

    Hi,
    This is posted in the wrong forum. This forum is for Oracle Berkeley DB. Please find the correct forum and post your question there.
    Regards,
    Alex Gorrod,
    Oracle Berkeley DB

  • Query Engine Error:

    Post Author: swordfish8
    CA Forum: General
    Hi, Many thank for taking the time to read this thread, the web application work on development box but fails when deployed.
    Please help, the problem is detailed below, cheers, Praveen
    Developed Environment
    Web Application Developed in VS .NET 2002
    Crystal Reports 9.0
    Set Up Package :
    Project Output: Primary Output and Content Files selected
    Merge Modules:        Database_Access.msm
                                           Database_Access_enu.msm
                                 Managed.msm
                                 Regwiz.msm
                                 VC_CRT.msm
                                 VC_STL.msm
    Code:
    mycommand.CommandText = "ASR_STATISTICS"
    mycommand.CommandType = CommandType.StoredProcedure
    With mycommand.Parameters
    .Add(New SqlParameter("@WeekStartDate", SqlDbType.DateTime)).Value =    _CDate(Me.txtDate.Text.Trim)
    .Add(New SqlParameter("@WeekEndDate", SqlDbType.DateTime)).Value = _
      CDate(Me.txtEndDate.Text.Trim)
    .Add(New SqlParameter("@Customer", SqlDbType.VarChar)).Value = _
               (Me.lstCustomer.SelectedItem.Value.Trim)
    End With
    Dim myDA As New SqlClient.SqlDataAdapter()
    myDA.SelectCommand = mycommand
    Dim myds As New Dataset1()
    myDA.Fill(myds, "ASR_STATISTICS")
    Dim oRpt As New crptStatistics()
    oRpt.SetDataSource(myds)
    Me.CrystalReportViewer.ReportSource = oRpt
    Installed the web application on the server
    Operating System: Windows Server 2003
    ERROR
    Server Error in '/ASDReports' Application.
    Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'
    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.DataSourceException: Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'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:
    &#91;DataSourceException: Query Engine Error: 'C:\WINDOWS\TEMP\temp_dff30854-29f4-4c4e-8fe0-66dbea4cd19b.rpt'&#93;
        . K(String 
    , EngineExceptionErrorID   ) +514
        . F(Int16   , Int32   ) +493
       CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestContext reqContext) +462
       CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestContext pageReqContext) +201
       CrystalDecisions.Web.ReportAgent.v(Boolean  `) +137
       CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) +99
       System.Web.UI.Control.PreRenderRecursiveInternal() +77
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Control.PreRenderRecursiveInternal() +161
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

    Post Author: Bandit07
    CA Forum: Upgrading and Licensing
    I would go through and add in each criteria 1 at a time to see which one is causing the error. 

  • Query Engine Error in Visual Studio 2005

    Post Author: Chris K
    CA Forum: Crystal Reports
    I created a report in Crystal 11 and have included it in a project created in Visual Studio 2005.  When I try to run the report in VS I get the message: "Query Engine Error: 'Error Code: 0x' Failed to open a rowset.  Error in File"  I can run the report in Crystal without any errors.  The report has subreports and parametes.  I am using a stored procedure in SQL 2005.  I have included may other reports in this project and not had any problems.  Any suggestions?

    Post Author: gandasi
    CA Forum: Crystal Reports
    I had an issue that sounds very similar - report worked beautifully in Crystal, but "failed to return rowset" when run from my application (which is not VS2005, but in my case that didn't matter).
    Turns out that I had not given execute rights to the stored procedure to the public group in SQL server. I guess when running the report in Crystal it was using my Windows Authentication to logon or something which was why that was running OK.
    I explicitly set the permissions on the stored proc to grant public execute, and the report would run from my app.
    Hope this helps
    Cheers

  • Query engine error after upgrading from vs2003 to 2008

    Hi,
    I had crystal reports installed and working with visual studio 2003 using .Net. After upgrading to visual C# 2008 Express, When I attempt to create a report at runtime, I get the error "Query Engine Error. <filelocation>\report1.rpt"
    If I attempt to edit a report at design time, I get the following error: "There is no editor available for <fileLocation>\report1.rpt. Make sure the application for the file type (.rpt) is installed.
    Can anyone point me in the right direction??
    Thanks,
    Dittimon

    Crystal Reports is not supported with the Express editions of Visual Studio.
    If you are going to use VS.NET 2008 you will need to use the Professional Version or higher.
    This is noted in the following help file: [CR 2008|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm ]
    Under Supported Versions of Visual Studio
    Jason

  • TS1702 I got this error when doing a restore

    I got this error when doing a restore and the restrictions were turned on .  I disabled restrictions and the restore was able to complete.

    The error in itunes had a link to http://support.apple.com/kb/TS1702.  I placed this message here for anyone that might navigate to the same message and would hopefully find this.  Yes turning off restrictions allowed the restore to complete and everyone is now happy.

  • Error when doing recovery

    Hello -
    I get the following error when running sql>alter database open resetlogs;:
    SQL> conn / as sysdba
    Connected.
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01264: Unable to create logfile file name
    ORA-19800: Unable to initialize Oracle Managed Destination
    SVR4 Error: 13: Permission denied
    All file permissions are set correctly on OS level. Just can't create the new redo logs. I'm upgrading on 10.2.0.3 on Solaris. I am wondering if this is a bug on 10.2.0.3?
    Thanks,
    Mike

    Hey
    You are getting this error because of the flash recovery are configured in init ora file, remove that parameter and try 'alter database open resetlogs' !
    It must work for you.
    Regards,
    Yogesh

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • Am getting an error when I open Entourage:  "Database Daemon Fatal Error".  Now what?

    Am getting an error when I open Entourage:  "Database Daemon Fatal Error".   Now what?

    Post your question on Microsoft's own forums for their Mac software, as Apple Communities only provide support for Apple products:
    http://answers.microsoft.com/en-us/mac

  • The oscp query does not respond, say there is an internal error when trying to verify the certificate

    it happened only when i enable the oscp query check box on firefox 33.1.1 in the options on the security tabs.

    i have my answer, Mozilla is developing a new security section check box on firefox v33, called oscp query (stapling keyword), when i disabled this one the problem doesn't appear again, so to the Mozilla security developer i say this, there is a big bug in your code for stapling the certificate, it can not done in a secure way !

Maybe you are looking for