Error occurs when exiting VI

In my application. just call C DLL. it works fine until I notice that when I exit LabVIEW. there are several error message pop up.
says wrong memory reference at "xxxxxxx". It's not a random error, it's pretty consistent.
I am sure it related with the DLL. in my DLL, there are some threads. when I start VI application DLL was load and threads is running. when I press stop button in my VI application, the threads in DLL were not killed. When I exit the VI then it try to retrieve DLL resource, that causes the problem. I winder is there anyone has the same experience as me, and how to solve it?
Thanks in advance.
rluo

Hi Rluo,
It sounds very reasonable that your errors are caused by threads that haven't been properly closed. Therefore, always make sure not to stop your VI using the 'Abort' button, since this can end the execution within a DLL call without cleaning up/closing open references. Instead, use a stop button to end your VI gracefully. If necessary, use an additional DLL call to clear all references/threads just before stopping the VI.
Have fun!Message Edited by Philip C. on 04-26-2005 11:07 PM
- Philip Courtois, Thinkbot Solutions

Similar Messages

  • An error occurs when trying to exit from ALV report

    Hi,
    I have a report which imports and display in ALV data from an excel file. Unfortunately when I'm trying to exit I receive an error as I copied below.
    Runtime Errors         MOVE_TO_LIT_NOTALLOWED_NODATA
    Date and Time          17.10.2008 08:39:18
    Short text
         Error at assignment: Overwritten protected field.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because it
          has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         A new value is to be assigned to the field "<L_BOX>", although this field is
         entirely or partly protected against changes.
         The following are protected against changes:
         - Character literals or numeric literals
         - Constants (CONSTANTS)
         - Parameters of the category IMPORTING REFERENCE for functions and
         methods
         - Untyped field symbols not yet assigned a field using ASSIGN
         - TABLES parameters if the actual parameter is protected against changes
         - USING reference parameters and CHANGING parameters for FORMs, if the
         actual parameter is protected against changes and
         - Accesses using field symbols if the field assigned using ASSIGN is
         protected (or partially protected, e.g. key components of an internal
         table with the type SORTED or HASHED TABLE) against changes
         - Accesses using references, if the field bound to the reference is
         protected (or partially protected) against changes
         - External write accesses to READ-ONLY attributes,
         - Content of a shared object area instance accessed using a shared lock
         (ATTACH_FOR_READ).
    Trigger Location of Runtime Error
         Program                                 SAPLSLVC_FULLSCREEN
         Include                                 LSLVC_FULLSCREENF02
         Row                                     686
         Module type                             (FORM)
         Module Name                             MARKS_SAVE
    How can I solve the problem ?
    Thanks
    Stefan

    Hi ,
      Please check the GUI status you are using for the ALV.
    Looking at the code what i feel is that the error occurs when the user action is the code &SAL' or '&ALL'.
    Please put a break point at the statement and see why is the error occurring
    Regards,
    Arun

  • Error in executing ABAP program. Error occurred when creating dataset

    hi,
    when I use LKM SAP ERP to Oracle (SQLLDR) to extract data from SAP ERP server. I execute my interface, and it's stop at extract data step.
    This is message:
    java.lang.RuntimeException: Error occured in open tool execute method...Error in executing ABAP program...Error in executing ABAP program...Error occurred when creating dataset/abc/ZODI_13001_6001_GLOBAL.txt
    I tried others path name, tried slash or backslash. This is content in code tab
    OdiSAPAbapExecute "-UPLOAD=1" "-EXECUTE=1" "-EXECUTEBASE_RKM=0" "-ZRFC_RUN_INSTALL=1" "-ABAP_PROGRAM_NAME=ZODI_13001_6001" "-HOST=10.86.87.24" "-USER=sv_hoa" "-PASSWORD=<@=snpRef.getInfo("SRC_PASS") @>" "-SAP_CLIENT=800" "-SAP_LANGUAGE=EN" "-SAP_SYSTEM_NUMBER=02" "-SAP_FUNCTION_GROUP_NAME=ZODI_FGR_13001" "-CONNECTION_POOL_NAME=SAP_ODI_ERP_POOL_10.86.87.24" "-CONNECTION_POOL_SIZE=10" "-FILE_DELIMITER=<@=""+(char)8@>" "-FILE_NAME=ZODI_13001_6001_GLOBAL.txt" "-FTP_HOST=10.86.82.108" "-FTP_USER=anh" "-FTP_PASSWORD=<@=sFtpPassword@>" "-FTP_PASSIVE_MODE=1" "-FTP_TRANSFER_TIMEOUT=100000" "-ODI_VARIABLE_NAMES=" "-ODI_VARIABLE_VALUES=" "-USER_ABAP_PARAMETER_NAMES=IV_DELIMITER,CHAR3;IV_FILENAME,CHAR255;IV_USER,CHAR35;IV_PWD,CHAR35;IV_HOST,CHAR35;IV_HASHVALUE,CHAR35;IV_PATH,CHAR35;IV_MAX_ROW_CNT,SYTABIX;IV_FETCH_BATCH_SIZE,SYTABIX;" "-USER_ABAP_PARAMETER_VALUES=<Value>" "-USER_ABAP_PARAMETER_SEPARATOR=<Value>" "-ABAP_TABLE_PARAMETERS=RETURN,BAPIRETURN;ET_FILE_RETURN,BAPIRET2" "-ABAP_EXPORT_PARAMETERS=ERRORMESSAGE;SY-MSGV1" "-LOG_FILE_NAME=C:\Users\anh\AppData\Local\Temp\SapAbapExecuteOpenTool_13001.log" "-FTP_PATH=/abc/" "-DEV_CLASS=ZODI_DEVCLASS" "-MAX_ROW_COUNT=" "-FETCH_BATCH_SIZE=100000" "-HASH_VALUE_MARKER=HVM" "-ABAP_PROGRAM_BODY=
    *Final Type declarations
    TYPES : BEGIN OF ty_final,
    Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_final.
    *Final Temp Type Declarations
    TYPES : BEGIN OF ty_final_tmp,
    Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID ,
    Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH ,
    Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH ,
    Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH ,
    Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI ,
    Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU ,
    END OF ty_final_tmp.
    *Final Target Type Declarations
    TYPES : BEGIN OF ty_final_target,
    C0_Y03HOCSINH_HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_final_target.
    * Table type for Y03HOCSINH
    TYPES : BEGIN OF ty_Y03HOCSINH,
    HOCSINH_ID TYPE
    Y03HOCSINH-HOCSINH_ID,
    MA_HOC_SINH TYPE
    Y03HOCSINH-MA_HOC_SINH,
    TEN_HOC_SINH TYPE
    Y03HOCSINH-TEN_HOC_SINH,
    GIOI_TINH TYPE
    Y03HOCSINH-GIOI_TINH,
    DIA_CHI TYPE
    Y03HOCSINH-DIA_CHI,
    GHI_CHU TYPE
    Y03HOCSINH-GHI_CHU,
    END OF ty_Y03HOCSINH.
    TYPES: BEGIN OF gs_text,
    line(843) TYPE c,
    END OF gs_text.
    *Structure Declarations
    DATA: wa_final_string TYPE string,
    wa_final TYPE ty_final,
    wa_final_target TYPE ty_final_target,
    wa_Y03HOCSINH TYPE ty_Y03HOCSINH,
    *Table Declarations
    tt_final TYPE STANDARD TABLE OF ty_final,
    tt_Y03HOCSINH TYPE STANDARD TABLE OF ty_Y03HOCSINH,
    tt_final_target TYPE STANDARD TABLE
    OF ty_final_target,
    tt_final_tmp TYPE STANDARD TABLE OF ty_final_tmp,
    tt_final_tmp1 TYPE STANDARD TABLE OF ty_final,
    gt_result TYPE STANDARD TABLE OF gs_text,
    *Variable Declarations
    lv_path TYPE string,
    lv_flag TYPE char1,
    C0_Y03HOCSINH_HOCSINH_ID TYPE
    STRING,
    C1_Y03HOCSINH_MA_HOC_SINH TYPE
    STRING,
    C2_Y03HOCSINH_TEN_HOC_SINH TYPE
    STRING,
    C3_Y03HOCSINH_GIOI_TINH TYPE
    STRING,
    C4_Y03HOCSINH_DIA_CHI TYPE
    STRING,
    C5_Y03HOCSINH_GHI_CHU TYPE
    STRING,
    wa_final_tmp TYPE ty_final_tmp,
    lv_file TYPE string,
    lv_datum TYPE sy-datum,
    lv_date TYPE char10,
    wa_result TYPE string,
    lv_delimiter type string,
    lv_cnt TYPE sytabix,
    *-Cursor Declaration
    lv_Y03HOCSINH_dbcur TYPE cursor,
    lv_tabix_frm TYPE sy-tabix.
    lv_delimiter = iv_delimiter.
    IF iv_hashvalue = 'HVM'.
    *Open/delete output file
    CONCATENATE iv_path iv_filename INTO lv_path.
    *Check for file existence, if found, delete it
    OPEN DATASET lv_path FOR INPUT
    IN TEXT MODE
    ENCODING DEFAULT.
    IF sy-subrc EQ 0.
    DELETE DATASET lv_path.
    ENDIF.
    *Open/create output file
    OPEN DATASET lv_path FOR APPENDING
    IN TEXT MODE
    ENCODING DEFAULT.
    IF sy-subrc EQ 0.
    *Batch Processing
    OPEN CURSOR WITH HOLD lv_Y03HOCSINH_dbcur FOR
    SELECT HOCSINH_ID
    MA_HOC_SINH
    TEN_HOC_SINH
    GIOI_TINH
    DIA_CHI
    GHI_CHU
    FROM Y03HOCSINH.
    DO.
    *Check for the counter, only for first batch
    *process new line is required...
    lv_cnt = lv_cnt + 1.
    REFRESH tt_Y03HOCSINH.
    FETCH NEXT CURSOR lv_Y03HOCSINH_dbcur
    APPENDING TABLE tt_Y03HOCSINH
    PACKAGE SIZE IV_FETCH_BATCH_SIZE.
    IF NOT tt_Y03HOCSINH IS INITIAL.
    ELSE.
    EXIT.
    ENDIF.
    LOOP AT tt_Y03HOCSINH INTO wa_Y03HOCSINH.
    MOVE wa_Y03HOCSINH-HOCSINH_ID
    TO wa_final_tmp-Y03HOCSINH_HOCSINH_ID.
    MOVE wa_Y03HOCSINH-MA_HOC_SINH
    TO wa_final_tmp-Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_Y03HOCSINH-TEN_HOC_SINH
    TO wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_Y03HOCSINH-GIOI_TINH
    TO wa_final_tmp-Y03HOCSINH_GIOI_TINH.
    MOVE wa_Y03HOCSINH-DIA_CHI
    TO wa_final_tmp-Y03HOCSINH_DIA_CHI.
    MOVE wa_Y03HOCSINH-GHI_CHU
    TO wa_final_tmp-Y03HOCSINH_GHI_CHU.
    APPEND wa_final_tmp TO tt_final_tmp.
    ENDLOOP.
    free : tt_Y03HOCSINH.
    LOOP AT tt_final_tmp INTO wa_final_tmp.
    MOVE wa_final_tmp-Y03HOCSINH_HOCSINH_ID
    TO wa_final_target-C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_tmp-Y03HOCSINH_MA_HOC_SINH
    TO wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_tmp-Y03HOCSINH_TEN_HOC_SINH
    TO wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_tmp-Y03HOCSINH_GIOI_TINH
    TO wa_final_target-C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_tmp-Y03HOCSINH_DIA_CHI
    TO wa_final_target-C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_tmp-Y03HOCSINH_GHI_CHU
    TO wa_final_target-C5_Y03HOCSINH_GHI_CHU.
    Append wa_final_target to tt_final_target.
    ENDLOOP.
    free : tt_final_tmp.
    Clear wa_final_target.
    IF NOT iv_max_row_cnt IS INITIAL.
    Loop at tt_final_target into
    wa_final_target TO iv_max_row_cnt.
    MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
    TO C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
    TO C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
    TO C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
    TO C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
    TO C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
    TO C5_Y03HOCSINH_GHI_CHU.
    CONCATENATE
    C0_Y03HOCSINH_HOCSINH_ID
    C1_Y03HOCSINH_MA_HOC_SINH
    C2_Y03HOCSINH_TEN_HOC_SINH
    C3_Y03HOCSINH_GIOI_TINH
    C4_Y03HOCSINH_DIA_CHI
    C5_Y03HOCSINH_GHI_CHU
    INTO wa_final_string
    SEPARATED BY lv_delimiter.
    IF sy-tabix EQ 1 AND lv_cnt EQ 1.
    CONCATENATE wa_final_string
    lv_delimiter INTO wa_final_string.
    ELSE.
    CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
    lv_delimiter INTO wa_final_string.
    ENDIF.
    APPEND wa_final_string TO gt_result.
    CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU.
    ENDLOOP.
    ELSE.
    Loop at tt_final_target into wa_final_target.
    MOVE wa_final_target-C0_Y03HOCSINH_HOCSINH_ID
    TO C0_Y03HOCSINH_HOCSINH_ID.
    MOVE wa_final_target-C1_Y03HOCSINH_MA_HOC_SINH
    TO C1_Y03HOCSINH_MA_HOC_SINH.
    MOVE wa_final_target-C2_Y03HOCSINH_TEN_HOC_SINH
    TO C2_Y03HOCSINH_TEN_HOC_SINH.
    MOVE wa_final_target-C3_Y03HOCSINH_GIOI_TINH
    TO C3_Y03HOCSINH_GIOI_TINH.
    MOVE wa_final_target-C4_Y03HOCSINH_DIA_CHI
    TO C4_Y03HOCSINH_DIA_CHI.
    MOVE wa_final_target-C5_Y03HOCSINH_GHI_CHU
    TO C5_Y03HOCSINH_GHI_CHU.
    CONCATENATE
    C0_Y03HOCSINH_HOCSINH_ID
    C1_Y03HOCSINH_MA_HOC_SINH
    C2_Y03HOCSINH_TEN_HOC_SINH
    C3_Y03HOCSINH_GIOI_TINH
    C4_Y03HOCSINH_DIA_CHI
    C5_Y03HOCSINH_GHI_CHU
    INTO wa_final_string
    SEPARATED BY lv_delimiter.
    IF sy-tabix EQ 1 AND lv_cnt EQ 1.
    CONCATENATE wa_final_string
    lv_delimiter INTO wa_final_string.
    ELSE.
    CONCATENATE '<@=""+(char)8@>' lv_delimiter wa_final_string
    lv_delimiter INTO wa_final_string.
    ENDIF.
    APPEND wa_final_string TO gt_result.
    CLEAR : C0_Y03HOCSINH_HOCSINH_ID,
    C1_Y03HOCSINH_MA_HOC_SINH,
    C2_Y03HOCSINH_TEN_HOC_SINH,
    C3_Y03HOCSINH_GIOI_TINH,
    C4_Y03HOCSINH_DIA_CHI,
    C5_Y03HOCSINH_GHI_CHU.
    ENDLOOP.
    ENDIF.
    free : tt_final_target.
    IF NOT gt_result IS INITIAL.
    CLEAR wa_result.
    LOOP AT gt_result INTO wa_result.
    TRANSFER wa_result TO lv_path.
    ENDLOOP.
    ENDIF.
    REFRESH gt_result.
    *End of main loop for batching
    ENDDO.
    *Close dataset
    CLOSE DATASET lv_path.
    CLOSE CURSOR lv_Y03HOCSINH_dbcur.
    ELSE.
    DATA: lv_mesg TYPE string.
    CLEAR et_file_return.
    et_file_return-type = 'E'.
    CONCATENATE
    'Error occurred when creating dataset' lv_path
    INTO lv_mesg.
    et_file_return-message = lv_mesg.
    Append et_file_return.
    ENDIF.
    ELSE.
    CLEAR et_file_return.
    et_file_return-type = 'E'.
    et_file_return-message =
    'Installed ABAP program does not match interface definition'.
    APPEND et_file_return.
    ENDIF.
    Thanks for help

    r u able to figure it out..........i got the same error .......can someone help me fix this issue

  • "an error occurred when trying to change modules"

    When I switch repeatedly between Library and Develop with the R and E keys, I always sooner or later run into a problem where nothing happens when I press R. Really that should go the Develop module and enter crop mode -- what I'm usually trying to do, when this happens, is crop a bunch of photos. So I'll be using Library mode to identify the photos that need cropping, stepping through photos with the arrow keys, then when I find one that I want to crop, I press R, enter develop+crop mode, crop the photo, press E to return to library+loupe view, and continue.
    Sometimes this works 10 times, sometimes it only works twice, but always, relatively soon, when I press R, "nothing" will happen. Actually what's happening is an error dialog appears saying "an error occurred when trying to change modules", then the error dialog immediately disappears before I can read it. I know what it says, because if I click the Develop module with the mouse, I get the same message but it sticks around until I press OK.
    Once this happens, I'm entirely unable to use the Develop module until I quit the program. I had to quit and restart LR about 20 times during an hour of working with it last night, and this morning, in the first 15 minutes, I'm already on the 3rd restart.
    Anyone else see this?
    Details: LR 1.1 on Mac OS 10.4.10, 4-core Mac Pro, images are a mix of JPG from a pocket camera and NEF from a Nikon D40. I don't think it is related to the specific images, as it strikes apparently at random, and after exit and restart, I can crop that same photo, but a different one will eventually cause the same problem again.

    Sean, thanks for the Return key tip. I knew about that at one point, but lately I was trying to use Enter (the one on the numeric keypad, at the very lower right corner of the keyboard, which is really easy to hit with my thumb even when my hand is on the mouse! And Enter doesn't invoke the crop, so I forgot that Return did). That is a better way.
    I don't see the RE problem on my MacBook, only on my desktop computer, and that one is also experiencing other flakiness (
    metamatt, "missing text / thumbnails / many Lightroom UI elements disappeared" #, 18 Aug 2007 3:08 pm) so I think I'm going to try a complete reinstall there.

  • Another "An error occurred when attempting to change modules" error

    Hello all:
    After using Adobe Photoshop Lightroom on Mac OSX trouble free for the past 6 months, I opened up Lightroom today and received the following error: "An error occurred when attempting to change modules." I had not made any changes in between when it worked normally and when the error started to occur. I beleive the last thing I did before this error occurred was to go into the Print Module.
    Other information--I keep all my RAW .NEF files on an external Firewire (800) 750 GB drive. This is on Mac OS X 10.5 running Adobe Photoshop Lightroom 1.3 and also with 1.4.1. I'm running an iMac 20" with dual-core 2.2 Ghz Intel processors and 4 GB of RAM. I have around 25k images total.
    When I noticed this problem, I was on Lightroom 1.3. I immediately upgraded to 1.4.1, which did not solve the problem. I have also tried many suggestions in the forums including uninstalling the application and removing the .plist file.
    I thought I had come up with a solution by creating a new catalog, then importing the former into it. While this seems to work immediately after the import process, as soon as I close it, the problem manifests itself again.
    More details that may or (likely) may not help:
    - Going to the Develop and Print Modules gives me no problems. However, when I click on Library, Slideshow, or Web, I see the error.
    - I upgraded my Mac to the latest patch level after observing this error to no avail.
    So it looks like my choices are to create a new file and reimport every single time, or lose all of the work I've done for the past 6 months on thousands of images.
    Can anyone please help???? I promise to post the solution when we fix this darn thing so others may benefit. I'd be happy to run through any troubleshooting that y'all would suggest outside of switching to a Canon.
    Thanks!!!!
    Matt

    I'd first check for the existence of a file ending in .lock, which should be present when LR is in use, but if it exists when LR is quit, it can cause problems, and should be deleted.
    Please post back your results.

  • PL/SQL: ORA-04052: error occurred when looking up remote object.

    Hi All,
    I'm getting the following error message while executing a PL/SQL Block.
    PL/SQL: ORA-04052: error occurred when looking up remote object UPLDUSER.filestatushistory@FTS
    ORA-00604: error occurred at recursive SQL level 1
    ORA-03106: fatal two-task communication protocol error
    ORA-02063: preceding line from FTSStatement
    declare
    v_coun number;
    begin
    select count(*) into v_coun
    from updluser.filestatushistory@fts;
    end;Back ground of the situation as follows,
    My DataBase version 10.2.0.3 DB Name :DB1
    Table Owner : UPLDUSER
    Table Name : FILESTATUSHISTORY
    I have a report user on the same database and I have grant all on the above table to report user
    Report User : RPT_FTS
    SQL> GRANT ALL ON FILESTATUSHISTORY_V TO RPT_FTS;Now Please find the below database details where I'm getting subjected error.
    Database version : 9.2.0.8
    DB Name : DB2
    User Name : RPT_REPORTS
    I Have create a dblink from RPT_REPORTS to RPT_FTS on DB1 and the dblink works fine. But getting the above error while running it.
    but When I do the same other 10.2.0.3 db , the above PL/SQL block works fine without any problem.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Now the strange about this is that I have Created a new table on DB1 db like below;
    SQL> CREATE TABLE UPLDUSER.ABC AS SELECT * FROM FILESTATUSHISTORY;and retry my code on DB2 (9.2.0.8) after changing the table to ABC and it worked. Now I don't know whats wrong with a original table(FILESTATUSHISTORY).
    To over come the problem and a work-a-round method I create a view on the DB1 (RPT_FTS) like the below
    SQL> CREATE VIEW FILESTATUSHISTORY AS SELECT * FROM UPLDUSER.FILESTATUSHISTORY;and was able to run the PL/SQL block Remotely.
    Just wants To know what whould have been the cause for this .
    Cheers
    Kanchana

    Hi Kanchana,
    Perhaps following link of google search has answer to your query
    ORA-04052. The search result contains some useful articles whose URLs I shan't post in the forums.
    HTH!
    *009*

  • Why does an unknown error occur when I try to save a document as a word file?

    why does an unknown error occur when I try to save a document as a Word file?

    Hi Judy,
    Deleting the Preferences files seems to be missing from your list.
    Quit AppleWorks,
    In the Finder, go to:
    username > Library > Preferences
    In the Preferences folder:
    Locate and Delete the File com.apple.appleworks.plist
    Locate and Open the Folder AppleWorks
    In the AppleWorks folder, delete the following files:
    AppleWorks 6 Assistants Cache
    AppleWorks 6 Preferences
    AppleWorks 6 Translators Cache
    Optional:
    AppleWorks Button Bars
    This file contains your Button Bar preferences. If you have made changes to the Button Bar, but hanve NO issues that can be traced to the Button Bar, it may be left in place.
    Regards,
    Barry

  • I have Lightroom 5 installed on my MacBook Air but when I try to open the program I receive the message "An error occurred when attempting to change modules".  I uninstalled, emptied trash and re-installed but I continue to get the same message.

    I have Lightroom 5 installed on my iMac which I downloaded (uploaded?) to my MacBook Air (via wi-fi) but unlike the iMac, I'm unable to use the program on the MacBook Air.  When I open the program on the iMac and click 'file', (as people using the program would know) there are 21 options - import pics, export, etc, etc - however, in the version on the MacBook Air, opening 'file' gives me four options - New Catalogue, Open Catalogue, Page Setup and Printer - and with that comes the pop-up message "An error occurred when attempting to change modules".  Any ideas please?

    A forum thread from 3 years ago talking about LR 1.x which had this problem seems to need permissions fixed or new folders created with the corrected permissions.  You might try doing a repair permissions for your user and/or run LR as an administrator user.  I am a PC person so cannot tell you exactly how to do that.
    https://forums.adobe.com/message/1457020

  • An error occurred when processing the spool request.  (Possibly due to memory problems)

    Hi SAP,
    My backgroud job is failing with log as shown below
    Job started
    Step 001 started (program ZMRS0065, variant SUS
    Step 002 started (program ZDRS0090, variant SUS
    Step 003 started (program ZFRS0305, variant SUS
    Step 004 started (program ZFRS0300, variant SUS
    Access error
    Job cancelled after system exception ERROR_MESSAGE
    An error occurred when processing the spool request.  (Possibly due to memory problems)
    Kindly help out in this issue
    Regards
    Mohammed

    Hello Mohammed,
    Have you seen any error in your SM21 system log and developer trace of spool work process
    during that time?
    The maximum size when create spool is 2GB.Pls also check if you are creating a spool
    larger than it.
    Best Regards
    Jie Bai

  • Internal error occured when writing

    Hi all
    I successfully imported an APO planning area into the quality systems, however the same request ends with error 12 in the production system. Landscape is SCM 5.0 sp8 with BI 7.0 sp12. When i checked the import job RDDEXECL (user DDIC), it shows:
    Date Time Message text Message class Message no. Message type
    07/08/2007 00:02:57 Job started 00 516 S
    07/08/2007 00:02:57 Step 001 started (program RDDEXECL, variant , user ID DDIC) 00 550 S
    07/08/2007 00:02:57 All DB buffers of application server <server_name> were synchronized PU 170 S
    07/08/2007 00:03:17 <b>Internal error occurred when writing</b> D0 054 E
    07/08/2007 00:03:17 Job cancelled after system exception ERROR_MESSAGE 00 564 A
    I thought there will be an ABAP dump, I found this internal error (in bold in the log above). I tried searching for info on this but no help, it does not says error writing to what? Please help.
    Thanks
    Ali

    It seems a syncronization problem..
    You can create a customer message providing the following information:
    1. The symptoms that occurred
    2. The highest Support Package
    3. The current SAP_BASIS Support Package level
    4. The queue that is currently selected
    Header Data

  • Error message in TRFC 'An SQL error occurred when accessing a table'

    Hi all,
    Can any one tell what this below error message is about in while go into TRFC
    'An SQL error occurred when accessing a table'.
    and please tell me how to solve this problem.

    Hi
    Try to see what all tables are accessed by data source. and see if there is any lock on that..
    If some other job is accessing that table - then there might be lock on that which is causing failure..
    1) Try looking at ST22 dump also..
    2) Try to do RSA3 in R/3 and if see if its is fetching any records or not..
    Hoep it helps
    --SA

  • The operation could not be completed because an error occurred when creating frame 6105 (error -1).

    I am trying to share a project and after the 3% of sharing the project it appears this message.
    The operation could not be completed because an error occurred when creating frame 6105 (error -1).
    What can I do?? I need some help please!!

    You need to set the FCP X Preferences to count in frames, locate that frame, delete the clip around it and replace with a fresh one.

  • The operation could not be completed because an error occurred when creating frame 19788 (error -1).

    When attempting to build a quicktime movie from my video project on final cut pro I got this message    "The operation could not be completed because an error occurred when creating frame 19788 (error -1)".

    Kathy ...
    Better to post your topic in the Final Cut Pro community here.

  • The operation could not be completed because an error occurred when creating frame 570 (error -1)

    Hi everybody,just started with FCPX and the following occured:
    The operation could not be completed because an error occurred when creating frame 570 (error -1)
    Result is that i can not share to my hard disk.
    If anybody could help me out here....?

    CHange General preferences to show frames. Check what's happenING at the frame number. Maybe replace the shot.

  • The operation could not be completed because an error occurred when creating frame 2829 (error -1)

    I'm getting this error code in Final Cut Pro.  The operation could not be completed because an error occurred when creating frame 2829 (error -1). What does this mean and how can I fix it?  This code comes up when exporting. 

    Final Cut Pro X 10.0.8 and I'm running it on OS X 10.9.1.  I have been doing nothing different for the past few months. I have been creating a weekly video and exporting the same way and everything, but it just did this today for the first time. I have never had this error code before.

Maybe you are looking for

  • Playlists not synching to iphone 6 plus

    I'm using iTunes v. 12.1 I create a playlist in itunes, connect my iphone, but the new created playlist does not show up in the music section of my phone. I've deleted the playlist and recreated it but still doesn't show up as a selection when trying

  • Why can't my latest iTunes delete bonjour and quicktime?

    When downloading or updating itunes it says that lastest bonjor cannot be delete and quicktime cant be delete also which then quicktime cant be downloaded which then itunes cant.

  • How do I modify my Adobe Illustrator CC 2014 preferences file?

    I know the location, and I've done it before in the previous version of CC, but for some reason its not letting me in the newest version of Illustrator (CC 2014), does anyone have a step by step to getting this done? Mac OS Local /Users//Library/Pref

  • IChat 4.0.2 preferences "Server Settings"

    Anyone know what they should read??? What the basic settings should read???

  • Recreating launchpad

    Dear friends, I am planning to perform an "erase and install from scratch" installation of Mavericks on my late 2009 iMac. I have backed up all my system with TimeMachine and after I have installed Mavericks I plan to get /Applications which I have n