Query Loop Error

Hi,
I am facing a weird PL/SOL code error. the code below takes user parameters for the exp_start_date and exp_end_date. Based on the exp_start_date that the user enters we need to find the results for the 1st and 15th of every month between the exp_start_date and exp_end_date.
The user can enter only 1st or 15th of the month as the start date or end date:
e.g if user enters start date : 01/01/2011
end date : 03/01/2011
we need to compute results for
01/01/2011
01/15/2011
02/01/2011
02/15/2011
03/01/2011
The problem that I face is iterating through the loop when I write code to obtain next 1st or 15th date from my current date ...it goes into infinite loop.
the error code :
**select days into v_exp_start_dt from(**
**select to_date(v_exp_start_dt, 'dd-Mon-yyyy') + rownum as days**
**from dual**
**connect by level <= TO_DATE (v_exp_start_dt+25, 'DD-MON-YYYY') - to_date(v_exp_start_dt, 'dd-Mon-yyyy'))**
**WHERE TO_CHAR (days, 'dd') IN (1, 15)**
**---and rownum=1;**
**end loop;**
**end;**
I should be able to return the value of v_exp_start_dt to my initial loop so that it calculates other variables.
declare
start_date varchar2(15):='2010-01-01';
end_date varchar2(15):='2010-01-02';
v_start_date date := to_date(start_date,'yyyy/mm/dd');
v_end_date date := to_date(end_date,'yyyy/mm/dd');
exp_start_date varchar2(15):='2010-12-01';
exp_end_date varchar2(15) :='2012-01-01';
v_exp_start_dt date := to_date(exp_start_date,'yyyy/mm/dd');
v_exp_end_dt date := to_date(exp_end_date,'yyyy/mm/dd');
v_tmp integer;
v_asscont integer;
v_prvprimcnt integer;
v_prvassoccnt integer;
begin
while v_exp_start_dt <= v_exp_end_dt loop
select nvl(sum(dc.daily_count),0) into v_tmp
from  daily_counts_summary dc, branch br, division div
where dc.branch_ky = br.branch_ky
and   br.division_ky = div.division_ky
and   dc.expiration_dt = v_exp_start_dt
and   dc.commission_cd = 'R'
and   dc.member_type_cd = 'P'
and  v_exp_start_dt between v_exp_start_dt  and v_exp_end_dt
and   dc.transaction_dt between v_start_date and v_end_date;
select nvl(sum(dc.daily_count),0) into v_asscont
from daily_counts_summary dc, branch br, division div
where dc.branch_ky = br.branch_ky
and   br.division_ky = div.division_ky
  and   dc.expiration_dt = v_exp_start_dt
and   dc.commission_cd = 'R'
and   dc.member_type_cd = 'A'
and   dc.transaction_dt between v_start_date and v_end_date;
select nvl(sum(dc.daily_count),0) into v_prvprimcnt 
from daily_counts_summary dc, branch br, division div
where dc.branch_ky = br.branch_ky
and   br.division_ky = div.division_ky
and   dc.expiration_dt = add_months(v_exp_start_dt,-12)
and   dc.commission_cd = 'R'
and   dc.member_type_cd = 'P'
and    dc.transaction_dt between add_months(v_start_date,-12) and add_months(v_end_date,-12);
select nvl(sum(dc.daily_count),0) into v_prvassoccnt 
from daily_counts_summary dc, branch br, division div
where dc.branch_ky = br.branch_ky
and   br.division_ky = div.division_ky
and   dc.expiration_dt = add_months(v_exp_start_dt,-12)
and   dc.commission_cd = 'R'
and   dc.member_type_cd = 'A'
and    dc.transaction_dt between add_months(v_start_date,-12) and add_months(v_end_date,-12);
DBMS_OUTPUT.PUT_LINE(v_exp_start_dt||' ' || v_tmp || ' ' || add_months(v_exp_start_dt,-12)|| ' ' || v_prvprimcnt || ' '|| v_prvassoccnt);         
**select days into v_exp_start_dt from(**         
**select to_date(v_exp_start_dt, 'dd-Mon-yyyy') + rownum as days**
**from dual**
**connect by level <= TO_DATE (v_exp_start_dt+25, 'DD-MON-YYYY') -  to_date(v_exp_start_dt, 'dd-Mon-yyyy'))**
**WHERE  TO_CHAR (days, 'dd') IN (1, 15)**
**---and rownum=1;**
**end loop;**
**end;**Infinite Output :
01-DEC-10 154 01-DEC-09 267 192
15-DEC-10 0 15-DEC-09 0 0
01-JAN-11 0 01-JAN-10 0 0
15-JAN-11 0 15-JAN-10 0 0
01-FEB-11 0 01-FEB-10 0 0
15-FEB-11 0 15-FEB-10 0 0
01-MAR-11 0 01-MAR-10 0 0
15-MAR-11 0 15-MAR-10 0 0
01-APR-11 0 01-APR-10 0 0
15-APR-11 0 15-APR-10 0 0
the error code :
**select days into v_exp_start_dt from(**
**select to_date(v_exp_start_dt, 'dd-Mon-yyyy') + rownum as days**
**from dual**
**connect by level <= TO_DATE (v_exp_start_dt+25, 'DD-MON-YYYY') - to_date(v_exp_start_dt, 'dd-Mon-yyyy'))**
**WHERE TO_CHAR (days, 'dd') IN (1, 15)**
**---and rownum=1;**
**end loop;**
**end;**
Please advice
Thanks,

Hi,
I have tried using the cursors and now I do get the results back as I wanted. But then I get errors with the dates entered for the start_date varchar2(15):='2010/01/01'; and end_date varchar2(15):='2010/12/01';
declare
start_date varchar2(15):='2010/01/01';
end_date varchar2(15):='2010/12/01';
v_start_date date := to_date(start_date,'yyyy/mm/dd');
v_end_date date := to_date(end_date,'yyyy/mm/dd');
exp_start_date varchar2(15):='2010-12-01';
exp_end_date varchar2(15) :='2011-12-01';
v_exp_start_dt date := to_date(exp_start_date,'yyyy/mm/dd');
v_exp_end_dt date := to_date(exp_end_date,'yyyy/mm/dd');
v_tmp integer;
--v_test integer;
CURSOR c1 IS select days  from(         
select to_date(v_exp_start_dt-10, 'dd-Mon-yyyy') + rownum as days
from dual
connect by level <= TO_DATE (v_exp_end_dt, 'DD-MON-YYYY') -  to_date(v_exp_start_dt-10, 'dd-Mon-yyyy'))
WHERE  TO_CHAR (days, 'dd') IN (1, 15);
begin
--while v_exp_start_dt <= v_exp_end_dt loop
FOR item IN c1 loop
select nvl(sum(dc.daily_count),0) into v_tmp
from daily_counts_summary dc, branch br, division div
where dc.branch_ky = br.branch_ky
and   br.division_ky = div.division_ky
and   to_date(dc.expiration_dt,'dd-Mon-yyyy') = to_date(item.days,'dd-Mon-yyyy')
and   dc.commission_cd = 'R'
and   dc.member_type_cd = 'P'
and   dc.transaction_dt between v_start_date and v_end_date;
DBMS_OUTPUT.PUT_LINE(item.days||' ' || v_tmp);                  
end loop;
end;The problem is with the start_date varchar2(15):='2010/01/01' and end_date varchar2(15):='2010/12/01';
I keep getting the error :ORA-01841 : full year must be between -4713 and +9999 and not be 0..Illegal year entered....
the transaction_dt to which we make join is in the format : DD-Mon-YY
I tired changing and applying the different date format to both transaction_dt and v_start_date date but does not work...or may be is it because of some other condition....Please advice.
The code works fine when I enter start_date varchar2(15):='2010/01/01' and end_date varchar2(15):='2010/01/12';...but when I try to change the year part or month part it throws the error as described above..
Thanks,

Similar Messages

  • See my query and error, see my query and error

    hi master
    sir i use inner query but not run
    please see my query with error
    query :==========
    select accid as acccode,fstatus, case when fstatus=1 then
    (select sum(drbal) from accbal where substr(accbal.accid,1,length(acccode))=acccode)
    end what
    from chartofacc
    error :========
    SQL> /
    (select sum(drbal) from accbal where substr(accbal.accid,1,length(acccode))=acccode)
    ERROR at line 2:
    ORA-00904: "ACCCODE": invalid identifier
    please sir give me any idea *

    Does this column ACCCODE exist in your table accbal?
    The columns in the outer query will not be visible in the inner query but the vise versa is true.

  • Save Query - An error occurred while creating connection strings for the query

    A workbook trying to edit and reload I get the following error "Save Query - An error occurred while creating connection strings for the query" No Power Pivot data model or anything.

    I am getting the same error when editing a Power Query in an Excel spreadsheet. It happens when I change a Group By step to do a Sum instead of Count Rows.

  • 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

  • I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error

    I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error.
    I have the latest version of firefox and it is running under win 7 pro.
    it was working great since I installed it 3 weeks ago and I use it every day.
    the error reads:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.
    However my cookies are still enabled and and i have never changed my settings

    See also:
    *http://kb.mozillazine.org/The_page_is_not_redirecting_properly
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *https://support.mozilla.org/kb/Cookies

  • 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 running error

    Hi, all.
    In our PROD system we faced one problem. When we run query we get error
    "Cannot create characteristic combination: type \BI0\0100000100" doesn't exit"
    "Special situation CX_SY_CREATE_DATE_ERROR"
    I think we have problem with temporary database objects what is described in SAP note 1139396. And we execute report "SAP_DROP_TMPTABLES", but it doesn't help.
    Can anybody help us with this problem?
    wbr, Fanil. 

    This probably won't solve your issue... but have you tried to regenerate your query using RSRT -> Generate button?  I've found that this feature has helped resolved some query execution errors after transporting.
    Can you give us any information about what dates are used in your query (standard or custom, any variables created on these date InfoObjects?).  Thanks!

  • 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 Result Error

    Hi Experts,
    I am facing problem with Bex Queries in Dashboards..
    I am using Bex Queries in the Dashboard. When i go to Preview Mode i am getting an error "Query Result Error".
    In this dashboard i do have an Hierarchical Data.
    Please help me in solving this Problem..
    I am using Dashboard 4.1 SP3

    Hi Suman,
    Thanks for your quick reply...
    I am trying to just Preview data..
    I even checked the Bex Query its working fine. And i am not using any filters or prompts.
    I can even preview the data when i try to edit query in the Query Browser Tab in the Dashboard. But i don't know wts the problem i am unable to see the data in the SWF mode.

  • 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 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.

  • Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD

    Global query block is causing a DNS server to fail a query with error code Name Error exists in the DNS database for WPAD on a Windows 2008 server.

    The global query block list is a feature that prevents attacks on your network by blocking DNS queries for specific host names.  This feature has caused the DNS server to fail a query with error code NAME ERROR for wpad.contoso.com. even though data
    for this DNS name exisits in the DNS database.  Other queries in all locally authoritative zones for other names that begin with labels in the block list will also fail, but no event will be logged when further queries are blocked until the DNS server
    service on this computer is restarted.

  • Avoiding Logical Loop Error while defaulting values

    Hi Experts,
    We have a requirement where lets say Attribute A and Attribute B are displayed on the screen, we need to default value for Attribute B to NA if value of Attribute A is set by the user to "XYZ", else whatever value user enters in Attribute B will be set. To achieve this, we are setting the value of the Attribute B in the rule document. If we use the validation rule table like mentioned below, it throws a logical loop error:
    Attribute A
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    To avoid this, we are using a dummy attribute for Attribute A (which is not displayed on the screen) to set in the rule document as mentioned below and this attribute will be shown in the decision report:
    Attribute A Dummy
    “NA”
    Attribute B = "XYZ"
    Attribute A
    otherwise
    The issue is, we are sending the Session data to Siebel through OPA connectors. Now these dummy attributes as mentioned above (which are not displayed on UI) are not sent as part of the Session data as these are inferred attributes.
    Is there any way to:
    1. Solve the logical loop error issue so that we dont have to use the dummy attribute
    2. If we have to use dummy attributes, then how to send them to Siebel as part of session data.

    From:http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html
    Oracle Policy Automation Connector for Siebel 10.4.4 Developer Help (HTML - Please be patient while the help index loads.)
    Full developer help for OPA Connector for Siebel 10.4.4, from getting started with mapping, to configuring and deploying rule projects, and handling session data being passed to and from Web Determinations. Includes information on the new Siebel integration object approach available since the 10.3 version of this connector. Note that only rulebases developed with Oracle Policy Modeling 10.4.0, 10.4.1, 10.4.2, 10.4.3 or 10.4.4 can be deployed to OPA Connector for Siebel 10.4.4.
    Specifically,  see the Topics under "Data Mapping" in the table of contents.

  • Query Compilation Error - Function overloaded

    I'm trying to use 2 document style web services in a query. When I test the query
    I get:
    tart server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3: Function
    Employees1:ProcessDocument() is overloaded.
    java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3: Function
    Employees1:ProcessDocument() is overloaded.
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:306)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    Can someone tell me what this error means?
    Thank you,
    Jason

    Release Note Entry:
    When designing Workshop web services, you may need to alter the
    Targetnamespace for a web service if a method name in this web service
    clashes with a method name in another web service that uses the same
    Targetnamespace.
    "Mike Reiche" <[email protected]> wrote:
    >
    "A function with the same name has multiple definitions in the configuration.
    Check
    you configuration"
    Check for multiple definitions of Employees1:ProcessDocument() in your
    CFLD file(s).
    - Mike
    "Jason Levine" <[email protected]> wrote:
    I'm trying to use 2 document style web services in a query. When I test
    the query
    I get:
    tart server side stack trace:
    java.rmi.RemoteException: EJB Exception:; nested exception is:
         java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3:
    Function
    Employees1:ProcessDocument() is overloaded.
    java.rmi.RemoteException: Query Compilation Error (Type Checks) 1-3-1-3:
    Function
    Employees1:ProcessDocument() is overloaded.
         at com.bea.ldi.server.QueryBean.execute(Unknown Source)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl.execute(QueryBean_1ao78o_EOImpl.java:306)
         at com.bea.ldi.server.QueryBean_1ao78o_EOImpl_WLSkel.invoke(Unknown
    Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:821)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
    End server side stack trace
    Can someone tell me what this error means?
    Thank you,
    Jason

  • 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

Maybe you are looking for

  • Stock ageing report in inventory management

    Hi, iam working in stock ageing report my requirment is i for developing stock ageing i have chars for plant and material ,and other 2 chars but i dont have cal day i have only creation on date means posting date only availble .my current layout is :

  • TEXT_IO.PUT_LINE Restrictions?

    Hi, The spec for TEXT_IO.PUT_LINE is: PROCEDURE Text_IO.Put_Line (file file_type, item VARCHAR2); Does anyone know what the maximum size of the varchar2 is? It appears to be 1000 characters. Thanks, Simon.

  • SQL error forced rollback.

    Dear All, We r using Oracle 9.0.1 and Developer 6i in a replicated environment. Our server is dedicated server. We have 6 branch i.e. 6 replicate site and 1 main server. We r facing a problem in a specific module in 3 branches. Problem is : when user

  • Error while working with Devicenet in cRIO

    Hello, I'm trying to use the example codes for Industrial Communications using DeviceNET. I have the NI 9882 on a NI 9114 chassis and 9014 controller. I have all the drivers for DeviceNET, RIO, Realtime/FPGA, ect. When I try to run any of the Example

  • Share SAP NetWeaver Application Server ABAP 7.02 SP6 32-bit Trial Version

    Hi, Have any of you downloaded SAP NetWeaver Application Server ABAP 7.02 SP6 32-bit Trial Version (http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/80db43c2-9ee5-2d10-de8e-8547de363868) successfully?could you share it ? I failed to downloa