Corrupt folder in cFolders

Hello we have a folder in cFOlders that can't be opened, deleted, touched.  We get "Technical error."
Is there any way to 'fix' corrupt folders?

This is kind of trial code please run this for sample data..
then after successful run may be u can try for your problematic folder..
you can get the col_id topic_id and other things from the URL of the page or
by right clicking on the URL link and properties...
What i am doing in the code is using the existing COPY AND PASTE functionality in the cFolders
to copy the docs across folders...
HAPPY CODING
DATA ls_clipboard_el TYPE cfx_ts_clipboard_element.
DATA doc TYPE REF TO if_cfx_common.
DATA str TYPE REF TO cl_cfx_structure.
DATA: lp_common_folder  TYPE REF TO cl_cfx_common_folder,
      lp_folder         TYPE REF TO cl_cfx_folder,
      lp_common_folder1 TYPE REF TO cl_cfx_common_folder,
      lp_folder1        TYPE REF TO cl_cfx_folder  .
DATA lp_col_app          TYPE REF TO cl_cfx_col_application.
DATA l_folder_str        TYPE        string.
DATA i_col_id TYPE string.
DATA i_area_id TYPE string.
DATA i_topic_id TYPE string.
DATA l_fol_id TYPE sysuuid_c.
lp_col_app       = cl_cfx_col_application=>get_instance( ).
*problematic folder ids
*i_topic_id = '43D8170097961F1CE10000000A4241A6'.
i_col_id  = '43CF788859C84303E10000000A4241A6'.
i_area_id = '43CF788959C84303E10000000A4241A6'.
CALL METHOD cl_cfx_context_ui=>initialize
       EXPORTING
           i_col_id              = i_col_id
           i_area_id             = i_area_id
           i_topic_id            = i_topic_id
*           I_DOC_ID              =
           i_object_type         = 'fol'
         IMPORTING
           e_fol_id              = l_folder_str.
l_fol_id = l_folder_str.
DATA: lp_col TYPE REF TO cl_cfx_collaboration,
      oref   TYPE REF TO cx_root .
lp_col = cl_cfx_collaboration=>initialize( i_col_id ).
TRY.
    lp_common_folder = cl_cfx_folder=>get_folder_for_id( l_fol_id ).
    lp_folder ?= lp_common_folder.
    lp_folder->initialize_docs( ).
  CATCH cx_root INTO oref.
ENDTRY.
*lp_folder will have the docs that can be retrieved..from that problem folder
TRY.
    DATA str_tab TYPE cfx_t_string.
    DATA lt_item      TYPE cfx_t_string.
    DATA ls_item      TYPE string.
    DATA lp_iterator TYPE REF TO cl_cfx_iterator.
    DATA lp_iterator_elem TYPE REF TO  if_cfx_iterator_element.
    DATA obj_type TYPE cfx_t_object_type.
    lp_iterator = lp_folder->get_document_list( ).
    CALL METHOD cl_cfx_common_document=>get_doc_ids
      EXPORTING
        ip_doc_list  = lp_iterator
      IMPORTING
        et_documents = str_tab.
    DATA count TYPE i.
    DATA str_wa TYPE string.
    count = lp_iterator->get_count( ).
    DO count TIMES.
      READ TABLE str_tab INDEX sy-index INTO str_wa.
      IF sy-index = 1.
        lp_iterator_elem = lp_iterator->get_first( ).
      ELSE.
        lp_iterator_elem = lp_iterator->get_next( ).
      ENDIF.
      obj_type = lp_iterator_elem->get_object_type( ).
*    CONCATENATE 'fol' l_fol_id INTO ls_item SEPARATED BY space.
      CONCATENATE obj_type str_wa INTO ls_item SEPARATED BY space.
      APPEND ls_item TO lt_item.
    ENDDO.
*lt_item willl have the items that have to copied from in a structure..
    CALL METHOD cl_cfx_fol_ui=>copy_selected
      EXPORTING
        it_item   = lt_item
        i_col_id  = i_col_id
*          IMPORTING
*            e_msg_txt = p_msg_txt.
* Destination folder
    i_col_id  = '43D816F897961F1CE10000000A4241A6'.
    i_area_id = '43D816F997961F1CE10000000A4241A6'.
    i_topic_id = '43DF3B1D362571C7E10000000A4241A6'.
    CALL METHOD cl_cfx_fol_ui=>insert
      EXPORTING
        i_col_id              = i_col_id
        i_area_id             = i_area_id
        i_topic_id            = i_topic_id
        i_role                 = ''
*  IMPORTING
*    E_MSG_TXT              =
*    E_BGROUND_PROCESS      =
*    E_BGROUND_PROCESS_INFO =
  CATCH cx_root INTO oref.
ENDTRY.

Similar Messages

  • How to restore corrupted folder to iphone 5

    Hi kind souls,
    I've recently updated my iphone 5 IOS to 7.0.4 and due to space limitation my backup folder is corrupted.
    How do I restore this corrupted folder to my iphone?
    I can see the folder in the /Backup folder but Itunes doesn't have options to restore the backup.
    Please help

    Gaoooooo wrote:
    Hi kind souls,
    I've recently updated my iphone 5 IOS to 7.0.4 and due to space limitation my backup folder is corrupted.
    How do I restore this corrupted folder to my iphone?
    Hi Gaoooooo,
    The backup folder you are referencing is located in the storage area in which your itunes program resides. Meaning it's typically on a storage device such as a laptop or desktop computer.
    You are saying that due to space limitation your backup foler is corrupted???
    Your backup folder is listed in your itunes program on the stoarge device in which it was created. If you will go to the area in itunes that provides for 'preferences' clicking on preferences takes you to an area where you will see applicatoins one listed as 'devices' once clicking on devices this shows an area in which the backups are listed.
    The device itself will not corrupt your backup due to storage limitations. The device sends the data to the stoarage area and it is there that the backup is created.
    IF you backed up your device to an itunes program on a storage device such as a laptop or desktop the backup will still be there waiting for you to restore that backup to your device.
    Sorry is this is too long.

  • Can not delete corrupted folder

    Hi there,
    I'm using SharePoint Foundation 2010 and am having problem with one of the site collections.
    It's a simple 'Team site'. The problem is that I can not delete the certain folder, which seems to be corrupted.
    Symptoms:
    if I try to delete it I receive error "Access Denied", even though I use farm admin account.
    if I try to 'Manage permissions', I receive error "Can not complete this action".
    if I try to 'Edit Properties' (rename library) I receive error "Access Denied".
    'View Properties' works good.
    Looking in WebDav, the folder doesn't exist.
    if I try to create a new folder with the same name within the same root library, I receive error that folder already exists.
    Steps taken:
    1. the entire site collection was backed up (using Backup-SPSite) and restored (Restore-SPSite) to the newly-created site collection within another Web App
    and content database - the corrupted folder was carried over and the issue remained the same.
    2. tried to use .NET methods to delete this folder but received error:
    $rabbit = Get-SPWeb "https://site1.sharepoint.local/BD"
    $damaged_folder = $rabbit.GetFolder("Services/Technical Team/Mit")
    attempted to delete:
    PS C:\Windows\system32> $damaged_folder.Delete()
    Exception calling "Delete" with "0" argument(s): "Cannot remove file "Mit". Error Code: 16389."
    attempted to move to Recycle Bin:
    PS C:\Windows\system32> $damaged_folder.Recycle()
    Exception calling "Recycle" with "0" argument(s): "Cannot remove file "Mit". Error Code: 16389."
    Looking at the properties of $damaged_folder, I've noticed that property 'EffectiveRawPermissions' was blank, while for the normal folder it was set to 'FullMask'
    I've tried to update it but received an error:
    PS C:\Windows\system32> $damaged_folder.EffectiveRawPermissions = "FullMask"
    "EffectiveRawPermissions" is a ReadOnly property.
    Any help is greatly appreciated!

    I am facing the same
    problem.
    I tried to delete the folder with a powershell command and with a console application. The result is :
    Exception calling "Delete" with "0" argument(s): "Cannot remove file "Folder". Error Code: 16389."
    At line:1 char:77
    + [Microsoft.SharePoint.SPSecurity]::RunWithElevatedPrivileges({$folder.Delete<<<< ()})
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : DotNetMethodException
    The last possibility it's maybe to remove lines on the database!
    Does anyone has triedthis solution?
    Thanks in adavance.

  • Corrupted folder in Music - Nokia 5230

    I have a Nokia 5230. Some time ago, I ripped a CD and copied it to my Music folder on the phone in a folder named, let's say, "Joe Blow". Somewhere along the line "Joe Blow" became corrupted. I tried to delete it but was unable to. I tried to write over it and the tracks all appeared under the album name and artist name but so did the corrupted files. I was finally able to again delete the music tracks and leave the corrupted files in the artist folder. I was also finally able to rename the "Joe Blow" folder using an old version of PC Suite. I renamed the "Joe Blow" folder with the corrupted files in it "zzzjunk" to put it at the bottom of my Music folder. I have tried to delete this folder and the files within it using an old PC Suite version, the most up to date Nokia Suite version, OVI player, the File Manager on the phone itself, and raw file mode in Windows XP and LINUX using the terminal. Any ideas?
    Solved!
    Go to Solution.

    Aha. I found THIS THREAD and used CheckDisk in Windows Vista. CheckDisk found and corrected the corrupted folder, "zzzjunk". It left the useless content in a contiguous file named "zzzjunk". I was able to delete the file "zzzjunk" left by CheckDisk.

  • Need to transport a Folder from cFolders into SAP R/3

    Dear Members,
      I want to import a whole folder( and it's child documents) from cFolder into SAP R/3. What I did so far is that I have created the RFC Dest., Configured the cFolder in R/3 using Tx CFC01, created a Search for the folder inside cFolder and ran CFI01. There I entered the cFolder Application name and entered the cFolder Search as my search name (using the search help). Then when I am trying to Add Documents it's showing a message <b>No lines added. cFolders document(s) contain no file(s)</b>. What I have seen so far even after debuging and after doing a lot of R&D is that, Documents can be imported but folders can't be. <b>But my requirement is to import all the folder element in one shot.. how to go about that? Please lit into the matter..I am waiting with points</b>
    Sugata

    in cfi02 it is not possible if you are game you can try
    CFX_API package to write a prg to do so
    CFX_API_FOLDER_GETDETAIL - to get doc ids
    CFX_API_DOC_DOCUMENT_READ

  • Corrupted Folder

    I have a corrupted Preference folder that is hiding a bunch of preferences. I moved it to the trash but it isn't allowing me to delete it. It says it is being used. How can I delete this?

    Shutdown & restart. Then you should be able to trash.
    Or startup using your Tiger DVD & then trash it.
     Cheers, Tom

  • AVCHD corrupt folder structure? crashes iMovie 9 ... repair?

    Hi,
    I shot almost 300 clips with a Canon HF11 a while ago. Tried importing to iMovie 9 (latest update) and crashed every time I mounted the camera.
    The clips play fine in the camera's internal memory, I backed them up. In fact, I returned the HF11 and bought an HF20 and dragged/dropped the AVCHD folder onto the HF20 and they play fine internally too...
    Also crash my iMovie when I mount the camera though... no chance of importing the clips to the library.
    Some people told me the AVCHD folder is corrupt, maybe I pushed record again too fast before the camera could have processed one of the clips, etc.
    I have done a few test shots after cleaning the internal memory and guess what? The new files import very easily, plug and import...
    So, is there a way to FIX/REPAIR/REBUILD the data on the AVCHD folder so I can import to iMovie with all clip data, etc.? I know I can convert to AIC with Toast Titanium... but that would mean losing the metadata (dates in which each clip was recorded)...
    Thanks...

    You might try Voltaic HD to see if it can read and convrt the files to Apple Intermediate Codec.
    After you have salvaged your files, reformat your camera's hard drive using the controls on the camera.

  • Corrupted folder structure

    I am using my TimeCapsule to store the backup but also to store iTunes/iPhoto libaries. This was adviced by AppleStore to have this setup with a MacBook Air. And was working perfectly till today.
    After tranferring a move to iTunes the connection was lost and both iTunes as iPhone libaries are corrupted on the TimeCapsule.
    Folders are shortly shown and disappear again.
    If I open these folders in Terminal and perform an ls -al a message is shown:
    ls: .DS_Store: No such file or directory
    ls: Music: No such file or directory
    Same for the iPhoto folder
    ls: .localized: No such file or directory
    ls: iPhoto-bibliotheek: No such file or directory
    Can anybody suggest how this can be repaired?

    This is really serious.. and it is impossible to repair the library in its current situation.
    Sorry but I think the Apple store people are simply wrong.. iphoto is not reliable on a network drive.. what has happened is standard problem. Check in the iphoto discussion area.
    What is worse is I guess you have no backup.. completely defeating the whole point of the TC.
    What I would do is remove the hard disk from the TC.
    This will void warranty but you have no choice.
    Plug it into a usb to sata cradle and plug into a computer. You can then use disk utility to attempt to repair the library.
    A half way between that.. you might try a full archive of the TC.. the option is in the airport utility latest versions.. you will need a 2TB (or 3TB) USB drive plugged into the TC and it might do a straight copy even if the library is corrupted. Normally corrupted files will not copy but a direct transfer might not care.

  • Any ideas as how to recover a corrupt folder it?

    I have a folder on my desk top that will not open. It contains many different types of files that bI really need.

    Try using disk utility to repair your hard drive first, also repair your disk permissions.  If you are still having trouble try using Diskwarrior for repair your directories.  

  • HT1660 Cleanup Corrupt Folder and Files

    I've really screwed up my iTunes Files and folders. I've looked for "Clean Up" software to get it straightened out but none exists for the problems I have. When I open  iTunes I get my music list.  However when I go to CCleaner>Tools>File Finder>C:\** and search I see songs that are duplicated in many files and or folders with their path. Sometimes as many as 10. Many of these aren't showing on my iTunes song list, when I open it on my PC. First Question-Is it possible to move these songs shown in CCleaner to the proper iTunes folder to reestablish them on my iTunes song list when iTunes opens. If someone uses CCleaner, and has a "basic" songlist with just the song and maybe artwork, can you look with CCLeaner as I discussed above and tell me what song is listed an what the path is so I can use this as an example. Second Question- Can I use this list of songs with their path and move them to one or more folders to recreate them on my iTunes Song List? Third Question- I have all the songs I want on my songlist already on my iPod, and I'm being careful not to Sync my iPod and loose them, but can you tell me what settings to check and where they are to be sure I don't loose them from my iPod. Fourth Question- ( Quite possibly the easiest to do)  I had the idea of cleaning up all my iTunes on the computer, erase EVERYTHING then do a clean reinstall of iTunes, then  use a   third party software to rebuild my iTune on my PC from my iPod, BUT when I used Revo uninstaller and even did an advanced cleanup, all my songs reinstalled themselves when I reinstalled iTunes. How do you do a COMPLETE new clean install of iTunes so I can do the transfer from my iPod onto a brand new clean reinstall of iTunes on my PC?
    I would still be interested in how  a song shows itself in CCleaner file finder. How many entries for a song and what file paths are listed, for a given song.
    Also with a clean reinstall how can I recover ALL my downloaded music?

    Hi Douglas,
    I'm getting an almost identical error in state messages reported by one of my BDPs:
    SQL MESSAGE: spProcessStateReport - Error: Message processing encountered a SQL error 232 at record 1 for TopicType 900: "Arithmetic overflow error for type int, value = 2266061824.000000.", Line 0 in procedure ""
    We have ~60 BDPs and they are all running the same hardware/Server OS, which is a Buffalo NAS with 2008 R2 Storage Server.
    The solution proposed below is not a viable option and says nothing about the cause or solution of the error.
    I get the feeling that there is some data in the .smx  that SQL doesn't like, but I have not idea what or how to fix it.
    Did you ever find a resolution to this?  Yours is the only post I've come across that described this problem.
    Stephen

  • BADI when saving a document/folder in cFolders

    Hi,
            Could someone let me know if there is any BADI that gets triggered when a document gets saved in cFolders. For example during a design collaboration I change the status of a document from "in progress" to "approved", I need to know if any BADI gets triggered.
    thanks
    anantharam

    CFX_STATUS_TRANS
    CFX_STATUS_TRANS_UI

  • ITunes folder corrupted - advice needed please!

    Hi, I have had problems with iTunes breaking songs and losing album artwork for several months now and I have come to the conclusion that I must delete the 'iTunes' folder in 'My Music' (I have tried much else to no avail). I am almost 100% certain that is the route of the corruption. The problem is, although I can put up with losing my playlists and play counts, I have an iPhone and obviously need to retain its settings and apps. Is there a way that I can go about deleting this folder, while retaining these things?
    Any help would be very appreciated. Thanks,
    James

    Seems like noone has the answer about corrupted files - iTune creates a real mess in organising music files you have collected - I believe it is iTune the cause of all corruption problem with your music folder (iTune shoud never organise anything on a windows platform) - if you have found a solution to access the corrupted folder and recover all files I am interested - then adios iTune - don't want to use it anymore - liked it - now despise it
    Bad iTune

  • CFolders in SRM 7.0

    Hello experts,
    I need to decrypt a document, which is in a folder in CFolders, through an external application, when I clicked on the link for your viewing. I search for a moment in the code to do this, but did not find an EXIT for this purpose.
    I find the BADI CFX_BUTTONS, but this only works for the moment of opening the folder and not for the moment we try to open the document.
    Is there any point where we can insert code to make that external application call?
    Best regards
    Ricardo Marques

    Hi,
    C folders (SAP PLM) is a part of SRM 7.0 Business Suite.. It is not an ADD on
    You  have to do some configuration in the SRM 7.0 to link the C folders for
    sharing the files from the company and the vendor for Bidding purposes
    Regards
    Ganesh

  • I can open every folder except one.

    So I can open every folder without a problem but then I try to open one and Bridge crashes. I've tried deleting and adding it back in but that didn't work. Any advice would be great!

    I've tried deleting and adding it back in but that didn't work
    Try creating a new folder (use your computer system for this) and copy or move the contents of the problem folder to this new one.
    It can be a permission problem for that folder or just a corrupted folder, it happens sometimes.

  • Reconstruct -m showing corrupt mailboxes, Version not recognized

    Hi,
    Using Sun Messaging server version:
    Sun Java(tm) System Messaging Server 6.2-4.03 (built Sep 22 2005)
    libimta.so 6.2-4.03 (built 04:37:42, Sep 22 2005)
    SunOS mailstore-7 5.10 Generic_137137-09 sun4u sparc SUNW,Netra-240
    As a normal monthly maintenance task I perform a reconstruct -m on our mailstores, but this time, I got back a LOT of errors of users with corrupt mailboxes.
    The next step is I tried to take users (1 at a time) with corrupted mailboxes and use reconstruct -ifr /user/jreed7, that looks successful:
    /opt/SUNWmsgsr/sbin/reconstruct -ifr user/jreed7
    user/jreed7/INBOX
    Reconstructing...
    user/jreed7/Trash
    Reconstructing...
    user/jreed7: fixed quota root usage
    Then I tried using reconstruct -p primary -u jreed7 -m and this was not so successful:
    /opt/SUNWmsgsr/sbin/reconstruct -p primary -u jreed7 -m
    user/jreed7
    user/jreed7/Trash
    =user/jreed7
    =user/jreed7/Trash
    [08/Jan/2010:15:25:23 -0900] mailstore-7 reconstruct[9581]: Store Critical: Mailbox corrupted, Version not recognized: user/jreed7/Sent
    ?user/jreed7/Sent: Invalid mailbox
    [08/Jan/2010:15:25:23 -0900] mailstore-7 reconstruct[9581]: Store Critical: Mailbox corrupted, Version not recognized: user/jreed7/Drafts
    ?user/jreed7/Drafts: Invalid mailbox
    I'm not sure what to do next. I have seen posts similar, however, not the same as my issue.

    PEP64 wrote:
    that seemed to work. I don't understand why reconstruct -ifr (which zeros out the idx files) then forces reconstruct on all folders in the mailbox didn't work.The "reconstruct -r" command will only process folders that exist in the store database. The "reconstruct -m" process appears to have removed the record of the mailbox from the store database due to the afore mentioned corruption.
    Running "mboxutil -c" on the mailbox re-creates the record.
    This is why I suggested running "reconstruct -r" before "reconstruct -m".
    Unfortunately I don't have any of the users passwords to be able to log in as them to make sure they can get to the once corrupted folder(s).
    Thanks again for your expertise Shane. I didn't spool the output of the reconstruct -m on all 35,000 mailboxes because I've never seen this problem until just recently. The list is quite long, so I might not hear anything else about this for a while. It is always a good idea to capture the output of reconstruct -m/recontstruct -r commands for future reference.
    There is 1 that I was not able to recreate and I believe it might have something to do with the fact that the name of the folder Family and Friends has spaces in it.You can quote the folder name e.g.
    ./mboxutil -c 'user/blah/Family and Friends'Regards,
    Shane.

Maybe you are looking for

  • Can't see all my open tabs!!

    Hey! Was just wondering, I have loads of tabs open in Safari right now, but the max I can see on my browser is 10. Does anyone know if there is any way of managing to view my other open tabs that don't show up on at the top? I know they are open, I j

  • Best Practice for Installation of Both Leopard and Aperture 2 upgrade.

    I've finally bought the bullet and purchased both Leopard and Aperture 2.0 upgrade. I've tried searching for a best practice to install both, but haven't been able to find one--only trouble shooting type stuff. Any suggestions, things to avoid, etc w

  • Export and import

    Hi All, Please see the cide below. DATA : lv_num1 TYPE i VALUE '10',       lv_num2 TYPE i. DATA : id    TYPE c LENGTH 10 VALUE 'TEST'. EXPORT lv_num1 TO MEMORY ID id. IMPORT lv_num2 FROM MEMORY ID id. WRITE :/ lv_num2. why I am not getting 10 in lv_n

  • Unable to reach Webservice End Point in CE

    Hi all,         I wanted to publish one RFC based webservice that is created in one of the WebApplication server in the 'Services Registry' of CE .For this i executed following steps:         1. Created UDDI entry in WebAS using a particular PORT by 

  • Time capsule not getting power

    The power cable for my time capsule was recently chewed through, and the replacement cable I bought doesn't seem to be getting power. The time capsule dosen't light up at all. Does anyone have any ideas to help me?