An error occurred calling 'LogResult​s' in 'ITSDBLog' of 'DBLog 1.0 Type Library'

HI,
I'm getting this run-time error:
Details: An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred executing a statement.
Schema: ATE_database_multiplePC.
Statement: STEP_RESULT.
Unknown variable or property name 'TS_LoggingTemplate'.
Error accessing item 'Locals.TS_LoggingTemplate.ExecutionOrder'.
Source: TSDBLog
Error Code: -17306; Unknown variable or property name.
Location: Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'
What does it mean?
How to resolve this?
I can't fine the property 'TS_LoggingTemplate'...where does TS looking for it?
It seems as if TS is looking for local called 'Locals.TS
_LoggingTemplate.ExecutionOrder'. In what sequence? I couldn't find it in my sequence or Databse.seq or SequentialModel.seq
Thanks
Rafi
TestStand 3.0

Rafi -
Locals.TS_LoggingTemplate is a temporary variable that the On-The-Fly feature of the Database Logging component creates to manage state while attempting to log results as it goes.
I assume that you are using a custom schema and that you are attempt to log on the fly. It appears that the custom schema definition is confusing the database logging component in a way that we did not expect, so the error message is not very clear.
In general if you are developing a custom schema, you should test the schema with On-The-Fly off first, get it working and then turn it back on.
Questions:
1) If you turn off On-The-Fly logging, do results log properly?
2) Can you post your TestStandDatabaseOptions.ini in the TestStand config directory.
Scott R
ichardson (NI)
Scott Richardson
National Instruments

Similar Messages

  • TestStand 4.2: error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database'

    Can anyone explain what could possibly be causing this to occur randomly?
    Attachments:
    Database Initialization Error.PNG ‏75 KB

    Usually I see that error when I try to log a step in a model or engine callback.  Some of the callbacks that are already in the model have logging turned off for the sequence but if you create your own callbacks then you may need to turn that off for them or just don't have any steps log data when clients override.
    Hope this helps,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • An error occurred calling 'LogMultipleResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'

    A test rig that worked fine started thowing the floowing error for me.
    See screen capature.
    Problem doesn't appear on the development PC.
    The code that I'm using is using the default settings for logging to the access database that ships with TS. All worked fine for a few weeks now it keeps ... breaking.
    An error occurred calling 'LogMultipleResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
    An error occurred executing a statement.
    Statement: STEP_RESULT.
    Description: The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
    Number: -2147217887
    NativeError: -105121349
    SQLState: 3022
    Reported by: Microsoft JET Database Engine
    Source: TSDBLog
    Attachments:
    NIDBerror.png ‏17 KB

    Hello,
    As far as I remember the DB size was approx ~ 1.5 GB, I don't have access to that test station till Wednesday so I'll double check but it could be as simple as exceeding the DB size, I'll verify that when I'm on-site again.
    To answer a few questions from Scott:
    1) I'm using TestStand 2012 ( as it came with the installation disks shipped in the first quarter of this year ).
    The test station is offline so no updates have been applied since the install.
    2) I'm using the default NI Schema and an Access DB. ( No modifications have been made )
    3) I'm using the On-The-Fly feature logging feature both to ATML and the DB.
    ATML works with no issues, DB used to work fine until it refused.
    4) Fails every time when I start the sequence, disabling logging to the Database sorts the issue out.
    5) I originally used the BatchUUT.seq example that ships with test stand.
    I have developed a test that has three test sockets that have a common Initialize, Run Tests in parralel and have a sequence of common test steps.
    Scott:
    The issue you've sent speaks of UUIDCreate; I'm gettin issues with the STEP_RESULT .... I think these things are not related.
    Secondly I'm suing TS 2012 so a fix should have been propagated to my version.
    So to answer your question I'm using multiple processes on one computer.
    I will emphasize that everything worked fine up to a certain point ... so I'm guessing Doug might be right on the money with the fact that I've chosen a misfortunate Database ( Access ) for the job.
    Regards,
    Maciej

  • I cannot download itunes on my pc.  I get the message "An error occurred during the installation of assembly. "microsoft.VC80.CRT.type=8 0.50727.4053". publicKeyToken="1fc8b3b9a1e18e3b". processor rArchitecture=amd64".

    i cannot download itunes on my pc.  I get the message "An error occurred during the installation of assembly. "microsoft.VC80.CRT.type=8 0.50727.4053". publicKeyToken="1fc8b3b9a1e18e3b". processor rArchitecture=amd64".
    Please help. Have just bought a new ipod and cannot use it !!! Thank you.

    Hi Gurmo,
    HRESULT: 0x80073712 means ERROR_SXS_COMPONENT_STORE_CORRUPT, and it is one of the error codes listed at this
    KB article.
    I suggest you run the System Update Readiness tool and check if the error still persists.
    There is a similar thread for your reference.
    https://social.technet.microsoft.com/Forums/en-US/0b3d0479-b9c0-4551-a623-1519ce7584af/error-when-installing-sql-server-2008-r2-rtm-on-windows-server-2008-r2-foundation?forum=winservergen
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • After updating to iPhoto9.6 an error occurred and the iPhoto icon says it is downloading. The library seems ok

    after updating to iPhoto9.6 an error occurred and the iPhoto icon says it is downloading. The library seems ok

    Perhaps you need to wait for the download to finish. If it's going on for a long time then cancel it (which you can do in Launchpad) and try again.

  • Help me, im trying to install and i get a message saying "an error occured during the installation of assembly 'Microsoft. VC80.CRT,type="win32",version="8.0.50727.6195",publicKeyToken="1fc8b3b9a1e18e3b ",processorArchitecture="x86"" . Please refer to Hel

    im trying to install and i get a message saying
    "an error occured during the installation of assembly 'Microsoft. VC80.CRT,type="win32",version="8.0.50727.6195",publicKeyToken="1fc8b3b9a1e18e3b ",processorArchitecture="x86"" . Please refer to Help and Support for more infomation. HRESULT: 0x800736B3

    These ones are typically caused by underlying problems on the PC that also often cause Windows Updates to fail to install. If we can fix the Windows Update trouble, we can usually get the iTunes trouble cleaned up en passant.
    Go into your Windows update and try to check for new updates. If updates install, stock up on the ones you're behind on, restarting the PC if requested to do so. After the restart, try installing iTunes again. Does it go through this time for you?
    If windows updates fail to install, go into your Update History and doubleclick the failures. What alphanumeric codes appear for you? (For example, 8007000B.)

  • "Error occurred while packaging the application... Can't load library" in Flash Builder 4.7 (iOS)

    Been struggling to resolve this error since yesterday in Flash Builder 4.7 packaging an app for iOS.
    Error occurred while packaging the application:
    Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot\lib\llvm.dll
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
              at java.lang.Runtime.load0(Runtime.java:770)
              at java.lang.System.load(System.java:1004)
              at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:587)
              at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:597)
              at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:419)
              at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1790)
              at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:378)
              at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:762)
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91)
              at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:246)
              at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)
              at com.adobe.air.ADT.run(ADT.java:419)
              at com.adobe.air.ADT.main(ADT.java:470)

    Update:
    My previous proposed solution (of installing the 64-bit JRE) resulted in a different problem. After multiple attempts and restarts I was unable to work in the Flash Builder IDE as it became unresponsive on load. Each time I had to use Task Manager to close the application.
    Apparent Solution:
    Close all applications running in Windows
    Uninstall all versions of JRE (Java Runtime Environment)
    Uninstall Flash Builder 4.7
    Reinstall Flash Builder 4.7

  • Error while calling stored procedure from Java

    Hi Guys,
    How are you everybody? I hope everything is goin fine on your side. I have one issue in PL/SQL while calling below stored procedures from Java.
    Problem Description: We have a stored procedure PROCEDURE BULK_INSERTS (
    V_SESSION_ID_TAB IN T_SESSION_ID_TAB_TYPE,
    V_SERVICE_TYPE_TAB IN T_SERVICE_TYPE_TAB_TYPE,
    V_SERVICE_LOCATION_TAB IN T_SERVICE_LOCATION_TAB_TYPE,
    V_SERVICE_CALL_NAME_TAB IN T_SERVICE_CALL_NAME_TAB_TYPE,
    V_SERVICE_CALL_START_TIME_TAB IN T_SERVICE_CALL_ST_TAB_TYPE,
    V_SERVICE_CALL_END_TIME_TAB IN T_SERVICE_CALL_ET_TAB_TYPE,
    V_SERVICE_CALL_DURATION_TAB IN T_SERVICE_CALL_DUR_TAB_TYPE,
    V_STATUS_TAB IN T_STATUS_TAB_TYPE,
    V_NOTES_TAB IN T_NOTES_TAB_TYPE
    ) and we are getting ora errors while calling this stored procedure from java.
    All tab types are declared locally, at package level.
    Here is error which occur while calling this sp:
    {call BULK_PKG.BULK_INSERTS(?,?,?,?,?,?,?,?,?)}
    And the parameter types we are using are:
    SESSION_ID - NUM_TAB_TYPE
    SERVICE_TYPE - VAR_TAB_TYPE
    SERVICE_LOCATION - VAR_TAB_TYPE
    SERVICE_CALL_NAME - VAR_TAB_TYPE
    SERVICE_CALL_START_TIME - DATE_TIME_TAB_TYPE
    SERVICE_CALL_END_TIME - DATE_TIME_TAB_TYPE
    SERVICE_CALL_DURATION - NUM_TAB_TYPE
    STATUS - VAR_TAB_TYPE
    NOTES - VAR_TAB_TYPE
    And the Exception stack trace is:
    ERROR (com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.saveExternalServiceCallInfo(ExternalServi
    ceCallDAO.java:143)@ExecuteThread: '252' for queue: 'weblogic.kernel.Default') {Error attempting to save collected ESC data}
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:944)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3856)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1373)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
    at com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.doBulkInsert(ExternalServiceCallDAO.java:220)
    at com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.saveExternalServiceCallInfo(ExternalServiceCallDAO.java:138)
    Please help my guys out of this. I will really appreciate all suggestions and advices.
    Thank you everybody.

    I am trying to pass parameter to test my procedure but it is giving this error : ORA-06531: Reference to uninitialized collection
    ORA-06512: at line 12
    Here is example for my test procedure:
    declare
    v_session_id_tab SESSION_ID_TAB_TYPE;
    v_service_type_tab SERVICE_TYPE_TAB_TYPE ;
    v_service_location_tab SERVICE_LOCATION_TAB_TYPE ;
    v_service_call_name_tab SERVICE_CALL_NAME_TAB_TYPE;
    v_service_call_start_time_tab SERVICE_CALL_ST_TAB_TYPE;
    v_service_call_end_time_tab SERVICE_CALL_ET_TAB_TYPE;
    v_service_call_duration_tab SERVICE_CALL_DUR_TAB_TYPE;
    v_status_tab STATUS_TAB_TYPE;
    v_notes_tab NOTES_TAB_TYPE;
    begin
    v_session_id_tab(1) := 1;
    v_service_type_tab(1) := 'db';
    v_service_location_tab(1) := 'local';
    v_service_call_name_tab(1) := 'Name of call';
    v_service_call_start_time_tab(1) := SYSDATE;
    v_service_call_end_time_tab(1) := SYSDATE;
    v_service_call_duration_tab(1) := 100;
    v_status_tab(1) := 'Z';
    v_notes_tab(1) := 'NOTES';
    BULK_INSERTS (v_session_id_tab,v_service_type_tab, v_service_location_tab,v_service_call_name_tab,v_service_call_start_time_tab,v_service_call_end_time_tab,
    v_service_call_duration_tab, v_status_tab, v_notes_tab);
    end;
    I declare all types at schema level.
    Please give your comments.
    Thank you

  • Error in calling META_CALCULATE_TAX

    Hi,
    I  want to assigned the contract no. to SC while assigning I am facing following errors :
    E BBP_TAX 008     Error calling META BAPI META_CALCULATE_TAX
    E BBP_TAX 013     Not possible to calculate tax
    E BBP_TAX 020     Error occurred calling META_BAPI_DISPATCH
    Is there any idea for this ?
    Thanks,
    Sachin

    Hi
    <u>Which SRM version are you using ?</u>
    <b>Please go through the SAP OSS Notes -></b>
    Note 1008429 TTE tax calculation: Error calling META_CALCULATE_TAX
    Note 997763 Order: Copying hierarchy items returns tax error
    Note 1003059 TTE tax calculation: Error on change of ship to address
    Note 1038639 BBP_TAX 012 message when you change purchase order
    Note 955133 TAX. No TTE tax calculation from SUS (2)
    Note 951794 TAX. No TTE tax calculation from SUS
    Note 1099552 External tax: Material group not passed to tax system
    Note 1085610 SoCo: Error messages in Step 2
    Note 976757 Short Dump in Shopping Cart while calculating Tax
    Note 870827 NOR3_TAX_CALCULATION is called with incompatable parameters
    Note 716071 TTE. Problems w/ tax calculation for U.S.A. using the TTE
    Note 666520 TTE: Tax error in the Sourcing Cockpit
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Error occurred in step post_index_customization_step for sync task

    Hi,
    We have faced this below error with staging index process. Could anyone help me understand under what condition this RemovedItemException will show up?
    Not sure if any BCC project have tried to remove any item while the index was running. Kindly provide your comments.
    ERROR [nucleusNamespace.atg.searchadmin.core.IndexLoader] (Thread-18903) Error occurred in step post_index_customization_step for syn
    c task 14300002 of type complete. Error:
    atg.searchadmin.core.IndexLoaderException: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInher
    itFromGlobal
    atg.searchadmin.core.IndexLoaderException: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInher
    itFromGlobal
    at atg.searchadmin.core.IndexLoader.completeIndex(IndexLoader.java:1473)
    at atg.searchadmin.core.IndexLoader.executeSession(IndexLoader.java:2043)
    at atg.searchadmin.core.IndexLoader$IndexingThread.run(IndexLoader.java:2486)
    Caused by: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInheritFromGlobal
    at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:928)
    at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1249)
    at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:128)
    at atg.commerce.search.refinement.admin.CommerceRefinementConfigurationCollector.createOrUpdateCategoryRefineConfig(CommerceRefinementConfigurationCo
    llector.java:347)
    at atg.commerce.search.refinement.admin.CustomRefinementConfigurationCollector.getRefineConfigContainerForCategory(CustomRefinementConfigurationColle
    ctor.java:438)
    Thanks,

    Hi,
    We have faced this below error with staging index process. Could anyone help me understand under what condition this RemovedItemException will show up?
    Not sure if any BCC project have tried to remove any item while the index was running. Kindly provide your comments.
    ERROR [nucleusNamespace.atg.searchadmin.core.IndexLoader] (Thread-18903) Error occurred in step post_index_customization_step for syn
    c task 14300002 of type complete. Error:
    atg.searchadmin.core.IndexLoaderException: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInher
    itFromGlobal
    atg.searchadmin.core.IndexLoaderException: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInher
    itFromGlobal
    at atg.searchadmin.core.IndexLoader.completeIndex(IndexLoader.java:1473)
    at atg.searchadmin.core.IndexLoader.executeSession(IndexLoader.java:2043)
    at atg.searchadmin.core.IndexLoader$IndexingThread.run(IndexLoader.java:2486)
    Caused by: atg.repository.RemovedItemException: getPropertyValue called on removedItem: commerceRefineConfig:rc68035.canInheritFromGlobal
    at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:928)
    at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1249)
    at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:128)
    at atg.commerce.search.refinement.admin.CommerceRefinementConfigurationCollector.createOrUpdateCategoryRefineConfig(CommerceRefinementConfigurationCo
    llector.java:347)
    at atg.commerce.search.refinement.admin.CustomRefinementConfigurationCollector.getRefineConfigContainerForCategory(CustomRefinementConfigurationColle
    ctor.java:438)
    Thanks,

  • When downloading itunes I get the following error messagean error occurred during the instal of assembly microsoft vc80.50727. 6195. public key token="1fc8b 9a 1e 18e 3b". processor architecture=x 86 (0x80070570  H E L P

    What can I do to resolve the following error message when trying to download Itunes.
    an ERROR occured during the installing of assembly Microsoft VC80.CRT. Type=WIN 32 version="8.0 50727. 6195. Public key token="IFc 8b 3b 9a 1e 18e 3b".  Processor architecture="x86". Please refer to Help support for info HRESULT: 0x80070570. 
    CAN ANYONE HELP ME?  I want to put music from my computer onto my IPOD and it wont let me unless I have ITUNES.

    I'm continuing to try to get my music onto the Ipod. The last sync died +84e03 into Quicktime.qts 7.1.3.130. Exception number: c0000005 (access violation)
    function: QuickTime!DllMain
    66884de5 40 inc eax
    66884de6 1400 adc al,0x0
    66884de8 80e882 sub al,0x82
    66884deb f4 hlt
    66884dec fc cld
    66884ded ff8bf056e87a dec dword ptr [ebx+0x7ae856f0]
    66884df3 15030083c4 adc eax,0xc4830003
    66884df8 0885f6743866 or [ebp+0x663874f6],al
    66884dfe 397e06 cmp [esi+0x6],edi
    66884e01 7d11 jge QuickTime!DllMain+0x34674 (66884e14)
    FAULT ->66884e03 8b5602 mov edx,[esi+0x2] ds:0023:03c3d5ba=022404e8
    66884e06 8b02 mov eax,[edx]
    66884e08 6683780e02 cmp word ptr [eax+0xe],0x2
    66884e0d 7505 jnz QuickTime!DllMain+0x34674 (66884e14)
    66884e0f bf62ffffff mov edi,0xffffff62
    66884e14 8b4668 mov eax,[esi+0x68]
    66884e17 85c0 test eax,eax
    66884e19 7405 jz QuickTime!DllMain+0x34680 (66884e20)
    66884e1b 8b4004 mov eax,[eax+0x4]
    66884e1e eb0b jmp QuickTime!DllMain+0x3468b (66884e2b)
    66884e20 e86b04ffff call QuickTime!DllMain+0x24af0 (66875290)

  • Error: A Error Occured While Trying to Update The Default Audio File Type

    Whenever I do anything in the preferences, when I back out and close the prefs, I get this error:
    "An error occured while updating the default audio player for audio file types. You do not have enough access privileges for this operation"
    I do have Admin rights on my own computer. This happens with 6.0.4 which I just installed.

    user10163762 wrote:
    Thank you Eugen and Hussein.
    The problem is not with the template.
    It seems to be a problem in that particular instance.
    Uploaded it in a different instance.
    However once i run the program, i cannot view the output as the browser window flashes and disappears.
    My colleague says , it is to do with the trusted site to download something from the browser.
    Can you please guide me on how to fix this ?
    http://bit.ly/1k8e2vi
    Thanks,
    Hussein

  • Internal Error occurred while calling the ProcessDPCommands API

    We have installed Business Objects XI  with MySQL. We are getting following error when we click on view query on the WEBI Reports
    " Internal Error occurred while calling the ProcessDPCommands API  Error WIS 30270".
    When we change the CMS database to ORACLE everything works fine it looks like some issues when CMS database is MYSQL
    Please hep to fix this problem
    Installation is on Solaris 10
    Edited by: AshishDatar on Nov 6, 2009 3:00 PM
    Installation is on Solaris 10

    did you check whether universe connection is pointing to the correct db?The following url might be helpful:
    [http://www.forumtopics.com/busobj/viewtopic.php?t=52355&view=previous]

  • ORA-00604: error occurred at recursive SQL when calling proc via db_link

    Hi,
    I'm on 9.2.0.8 and got strange issue with simple test case
    on source db:
    CREATE OR REPLACE PROCEDURE ADMIN.gg_ref(out_tokens OUT SYS_REFCURSOR) is
      BEGIN
      OPEN out_tokens for select dummy from dual;
    END ;
    Now testing code localy:
    SQL> var r refcursor
    SQL> declare
      2   output sys_refcursor;
      3  begin
      4   adminx.gg_ref(output);
      5  :r:=output;
      6  end;
      7  /
    PL/SQL procedure successfully completed.
    SQL> print r
    D
    X
    So its working.
    I've got db_link to that db , and now call that proc via dblink from other 9.2.0.8 DB:
    var r refcursor
      1  declare
      2   output sys_refcursor;
      3  begin
      4   admin.gg_ref@LINK_NAME(output);
      5  :r:=output;
      6* end;
    SQL> /
    declare
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-00900: invalid SQL statementWhats wrong with my code ?
    Are there any restriction I'm not aware of ?
    Regards
    GregG

    GregG wrote:
    What should my code look like now ?
    Should I rewrite this as function returning index by collection or something ?You can use DBMS_SQL - but use the remote package and not the local one. This is a little bit more complex ito call interface than using a ref cursor, but is the very same thing on the server side. DBMS_SQL also provides a more comprehensive set of features than using the ref cursor interface.
    The main issue though is additional coding - as DBMS_SQL is a lower level interface (a lot closer to the real Oracle Call Interface/OCI):
    --// on remote database the procedure returns a DBMS_SQL cursor instead of a ref cursor
    SQL> create or replace procedure FooProc( cur in out number, deptID number ) is
      2          rc      number;
      3  begin
      4          cur := DBMS_SQL.open_cursor;
      5 
      6          DBMS_SQL.parse(
      7                  cur,
      8                  'select ename from emp where deptno = :deptID',
      9                  DBMS_SQL.native
    10          );
    11 
    12          DBMS_SQL.Bind_Variable( cur, 'deptID', deptID );
    13 
    14          rc := DBMS_SQL.Execute( cur );
    15  end;
    16  /
    Procedure created.
    --// from the local database side we call this remote proc
    SQL> declare
      2          c               number;  --// instead of using sys_refcursor
      3          empName         varchar2(10); --// buffer to fetch column into
      4  begin
      5          FooProc@testdb( c, 10 );  --/ call the proc that creates the cursor
      6 
      7          --// we need to define our fetch buffer for the 1st column in the
      8          --// SQL projection of that cursor (10 byte fetch buffer for 1st column)
      9          DBMS_SQL.define_column@testdb( c, 1, empName, 10 );
    10 
    11          --// we now fetch from this cursor, but via the DBMS_SQL
    12          --// interface
    13          loop
    14                  --// fetch the row (exit when 0 rows are fetched)
    15                  exit when DBMS_SQL.Fetch_Rows@testdb( c ) = 0;
    16 
    17                  --// copy value of 1st column in row into the local PL/SQL buffer
    18                  DBMS_SQL.column_value@testdb( c, 1, empName );
    19 
    20                  --// record value it via dbms output
    21                  DBMS_OUTPUT.put_line( 'name='||empName||' deptID=10' );
    22          end loop;
    23 
    24          --// close it explicitly as you would a ref cursor
    25          DBMS_SQL.Close_Cursor@testdb( c );
    26  end;
    27  /
    name=CLARK deptID=10
    name=KING deptID=10
    name=MILLER deptID=10
    PL/SQL procedure successfully completed.
    SQL>

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Maybe you are looking for

  • Acrobat does not allow connection to

    Need help with this error message please.  Using Win7, saved a Word 2010 table of contents with multiple links to pdf files across internal servers as a PDF.  Also created the word doc w/multiple pdf links as a PDF file using acrobat9 standard and ha

  • Oracle Access Manager and Passing Cert Info to HTML or JSP

    Friends, We are trying to pass the CN information from our smartcard (CAC) that looks i.e. john.doe.123456789 as a parameters to an Oracle Forms using the staticHTML implementation utilizing the OBLIX SSO OR utilizing a JSP or HTML file to read these

  • ARE-1 and Non ARE-1 updation

    Hi, In MM cycle where we can update the materials in ARE-1 and Non ARE-1 register. Is this available in SAP.

  • Links open up without double clicking on them

    This has been happening as of a few weeks ago: I hover the cursor over a link without double clicking on it and it opens up automatically. I thought this was a trackpad issue, but can not find the answer to it. I was wondering if under the track pad

  • ADF Faces Core Table, TableSelectOne question

    Greetings I am using ADF Faces Core Table to display a list and I have it setup with TableSelectOne, it works great. My question is this, I set required = true on the select button and it works. If I dont select one it no longer submits. My question