New-mailboxexportrequest error file could be locked

try to export pst to a unc path- works locally
Permisssion set on share per ms docs.
was hoping to run script per OU but cant get one to work.
[PS] C:\>New-MailboxExportRequest -FilePath "\\servername\TEST\user.pst" -MRSServer "cas-b0x" -mailbox user
The server or share name specified in the path may be invalid, or the file could be locked.
+ CategoryInfo : NotSpecified: (0:Int32) [New-MailboxExportRequest], RemotePermanentException
+ FullyQualifiedErrorId : 914C862C,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest

Hi Totalnet,
I would like to clarify the following things for troubleshooting:
1. The user account that you use to run the cmdlet needs to be part of Windows domain and must have permissions granted to the "Exchange Trusted Subsystem" group.
2. You can create only one export request at a time per .pst file. This is because the .pst file is locked as in-use when the request begins to run.
3. If the issue persists, I recommend you use a local shared folder to see if it works.
What's more, here is a thread for your reference.
Backing up mailboxes via PST files
http://social.technet.microsoft.com/Forums/exchange/en-US/bfa645e0-6196-4c79-a3e2-8264b2e85eb1/backing-up-mailboxes-via-pst-files?forum=exchangesvrgenerallegacy
Hope it helps.
If there are any problems, please feel free to let me know.
Best regards,
Amy
Amy Wang
TechNet Community Support

Similar Messages

  • How to resolve the error "File could not open" in AL11?

    Hi Friends,
    When I am going to write a file via DATASET.
    But it's showing me a error"File Could not Found"?
    And I am unable to check my fiel at AL11.
    Please suggest me the solutions.
    Regards
    Ricky

    Hi,
    Try this code
    TYPES : BEGIN OF ty_emp,
    empno(2) TYPE c,
    empid(10) TYPE c,
    empname(3) TYPE c,
    END OF ty_emp.
    DATA : it_emp TYPE TABLE OF ty_emp,
    wa_emp TYPE ty_emp.
    DATA : pbk TYPE string.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS : p_file TYPE rlgrap-filename default 'D:\EMP.TXT'.
    PARAMETERS : p_asfile TYPE rlgrap-filename default 'EMP'.
    SELECTION-SCREEN END OF BLOCK b1.
    pbk = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = pbk
      FILETYPE                      = 'ASC'
    has_field_separator           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
        TABLES
          data_tab                      = it_emp
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    OPEN DATASET p_asfile FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      LOOP AT it_emp INTO wa_emp.
        TRANSFER wa_emp TO p_asfile.
      ENDLOOP.
      CLOSE DATASET p_asfile.
    ==============================================
    Regards,
    Krrishna

  • Error: File could not be opened.

    When managing the following and clicking on "Export To Excel", the following error occurs:
    "Error: File could not be opened."
    The same error occurs when doing the following:
    - Trying to export Control Tables
    - Trying to export Import Formats
    - Trying to export Import Groups
    - Trying to export Logic Accounts
    - Trying to export Logic Groups
    Does anyone please have any suggestions on how to fix this? The odd thing is that these files are actually created and can be opened fine!
    The error log is as follows:
    ** Begin FDM Runtime Error Log Entry [2012-03-27 14:14:25] **
    ERROR:
    Code............................................. 3002
    Description...................................... File could not be opened.
    \\xxxxxxx\c$\fdmdata\xxxxxxx\Outbox\ExcelFiles\Periods99008.xlsx
    Procedure........................................ clsAppServer.fFileGetStream
    Component........................................ upsAppSv
    Version.......................................... 1112
    Thread........................................... 14368
    IDENTIFICATION:
    User............................................. xxxxxxx
    Computer Name.................................... xxxxxxx
    App Name......................................... xxxxxxx
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxxxx
    Database Name.................................... xxxxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Sample
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCat
    Category ID...................................... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2012-03-27 14:19:30] **
    ERROR:
    Code............................................. 3002
    Description...................................... File could not be opened.
    \\xxxxxxx\c$\fdmdata\xxxxxxx\Outbox\ExcelFiles\ImportGroups43950.xlsx
    Procedure........................................ clsAppServer.fFileGetStream
    Component........................................ upsAppSv
    Version.......................................... 1112
    Thread........................................... 11884
    IDENTIFICATION:
    User............................................. xxxxxxx
    Computer Name.................................... xxxxxxx
    App Name......................................... xxxxxxx
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxxxx
    Database Name.................................... xxxxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Sample
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCat
    Category ID...................................... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2012-03-27 14:30:20] **
    ERROR:
    Code............................................. 3002
    Description...................................... File could not be opened.
    \\xxxxxxx\c$\fdmdata\xxxxxxx\Outbox\ExcelFiles\ImportFields79048.xlsx
    Procedure........................................ clsAppServer.fFileGetStream
    Component........................................ upsAppSv
    Version.......................................... 1112
    Thread........................................... 15604
    IDENTIFICATION:
    User............................................. xxxxxxx
    Computer Name.................................... xxxxxxx
    App Name......................................... xxxxxxx
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxxxx
    Database Name.................................... xxxxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Sample
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCat
    Category ID...................................... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2012-03-27 14:32:51] **
    ERROR:
    Code............................................. 3002
    Description...................................... File could not be opened.
    \\xxxxxxx\c$\fdmdata\xxxxxxx\Outbox\ExcelFiles\LogicGroups92995.xlsx
    Procedure........................................ clsAppServer.fFileGetStream
    Component........................................ upsAppSv
    Version.......................................... 1112
    Thread........................................... 13052
    IDENTIFICATION:
    User............................................. xxxxxxx
    Computer Name.................................... xxxxxxx
    App Name......................................... xxxxxxx
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxxxx
    Database Name.................................... xxxxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Sample
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCat
    Category ID...................................... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    ** Begin FDM Runtime Error Log Entry [2012-03-27 14:33:05] **
    ERROR:
    Code............................................. 3002
    Description...................................... File could not be opened.
    \\xxxxxxx\c$\fdmdata\xxxxxxx\Outbox\ExcelFiles\LogicAccounts70086.xlsx
    Procedure........................................ clsAppServer.fFileGetStream
    Component........................................ upsAppSv
    Version.......................................... 1112
    Thread........................................... 15980
    IDENTIFICATION:
    User............................................. xxxxxxx
    Computer Name.................................... xxxxxxx
    App Name......................................... xxxxxxx
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxxxx
    Database Name.................................... xxxxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... Sample
    Location ID...................................... 748
    Location Seg..................................... 2
    Category......................................... WLCat
    Category ID...................................... 12
    Period........................................... Jan - 2012
    Period ID........................................ 31/01/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

    Many thanks for your suggestions.
    - MS Office Excel 2007 SP3 is installed on the server. The Excel files are created and can be opened manually fine on the server (by going to C:\FDMData\Outbox\ExcelFiles). But FDM raises the above error whenever one clicks on the "Export To Excel" button and does nothing more.
    - The admins here have apparently now added the C:\Windows\SysWOW64\config\systemprofile\Desktop folder (the FDM app server is 64-bit) but it does not appear to have made a difference. Will the FDM service account need privileges to this location?
    - Apparently the FDM service account has privileges to the FDMData\Outbox\ExcelFiles location, but I will double check this...

  • Deployment error  "file could not be uploaded because it is too large"

    Hi,
    I'm trying to deploy a WAR application of 220 mb and the upload page fails the the error "The file could not be uploaded because it is too large". Is there any way to workaround this problem ?. What is the limit for a WAR application ?.
    Regards,
    Paulo

    Paul ,
    Currently we have a limit of deployment archive size to be less than 100 MB.
    Thanks

  • After transfer to new IMac "original file could not be found" (more)

    The music transfers into iTunes, plays once or twice and then eventually gives me this "original file could not be found" message and takes me to finder.
    Now all my music does this though. Some of it transfers and stays.
    What am I doing wrong?
    Thanks in advance!

    I have the same problem except almost every song I bought from Itunes has this problem. Not only that, but somehow some of the music, about $125 worth has been deleted form my 3 back up discs. This is only happening with my purchases and not any songs I uploaded from cd. How on earth did this happen, and how did it wipe clean 3 different back ups? I have found some of the music where it belongs, but like I said some of them are gone, gone, gone. I run three different back ups and they are on 24/7. Where is all of this music? I still have it on my ipod, but it will not load back into itunes the way purchases used to. Some of the music is purchased straight to my ipod touch, but shouldn't i be able to reload them into itunes? I spent 3 hours going 1 song at a time reloading them from their original location. But I cannot locate about $125 worth of music that I purchased from itunes. I have 6 macs in my family and preach the good news to all who will listen about hows macs are flawless. Now I have egg all over my face and have thrown away a nice sum of money on missing music. Please help!

  • Error: File could not be moved to selected location

    I get an error code "file could not be moved to selected location" when trying to move an image or a folder from one hard drive to another within Lightroom.
    I am migrating from a Windows-based PC to an iMac. I successfully used Lightroom to move all my images and catalogs from the PC hard file to a USB attached hard file.  I was able to go to the iMac and move the Lightroom Catalog from USB attached drive to the Apple Macintosh drive. I was able to bring up Lightroom with moved Lightroom Catalog and work with all of my images. Then using Lightroom I was unable to move the images to the Macintosh hard drive without getting the error code above.
    What now? 

    Thanks for you input.  The "from" hard drive where I placed the Catalog and images to port them to the Apple from the Windows PC is a read only on the Apple system.  The Macintosh drive (and a Drobo drive that I have also tried to write to are formatted for Apple.  I read/write on them when moving files outside of Lightroom.  It's just within Lightroom where the problem seems to exist.  I want to work within Lightroom so that the Catalog is up-to-date. 

  • Recently bought  a new computer and all my music appears in iTunes as well as on my computer in a saved folder. When I try to play the music in iTunes I get an error that reads"the song could not be used because the original file could not be found."

    Recently bought  a new computer and all my music appears in iTunes as well as on my computer in a saved folder. When I try to play the music in iTunes I get an error that reads"the song could not be used because the original file could not be found. Would you like to locate it?" Hope you can help me solve this issue.
    Thanks,
    Shellyboo

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes .
    tt2

  • I have a new computer that downloaded all of my playlist. but i cannot play all songs. i get a error that say "the song could not be used because the original file could not be found. would you like to locate it? but it does not help to resolve.

    i installed itunes to my new computer and transfered all my playlist from the older computer. the software came with the new computer hp link up. the problem
    comes in where i want to play a certain song on a playlist and this error pops up "the song could not be used because the original file could not be found.
    would you like to locate it? which is of no help.
    is there a solution to this problem?

    The file path for these songs IS NOT correct per your iTunes Library file. 
    See: http://dougscripts.com/itunes/scripts/ss.php?sp=listmias  for an Applescript to locate these files for re-adding.

  • Error when opening a new file: "Could not find the user documents directory"

    Why can't I create a new file and I get this error everytime: "Could not find the user documents directory"?

    Hi Team,
    Please check this forum thread with similar issue.
    Create New gives an error "Could not find the user document directory"
    Regards,
    Devendra

  • HT1459 We recently bought a new HP all in one Pavelion computer, and once it was set up we downloaded my itunes.  Now when I go to play a song from my library, an error message comes up saying: the song......could not be used because the file could not be

    Since I have a new computer , I had to download my itunes to the new computer.  Now I cannor listen to anything in my library.  I get the message;: the song...could not be used becaue the original file could not be found.  Would you like to locate it? Then gives me the option to loaacat it or cancel:  Why is this happening??

    you have to file the music file if you dont itunes cant play a file that does not exist. check the get info and look for the old music file on your old computer. Or do this http://support.apple.com/kb/ht4527.

  • Got a new computer now I'm getting a new error "The song could not be used because the original file could not be found.  Would you like to locate it?"

    So i got a new computer and before i did i backed up al my music onto an external hard drive. I downloaded itunes and went to put my music back on and when I unplug my hard drive i get this message "The song could not be used because the original file could not be found.  Would you like to locate it?". I have close to 3500 songs so its a little annoying that i cant update or sync my ipod/iphone. Are there any tips or tricks you could help me with in order to fix this problem

    Here is the folder hierarchy of my /Home/Music/folder:
    Music folder
    iTunes folder
    iTunes Media folder
    Music folder
    Note that the contents of this last folder in the hierarchy will be different on your computer.

  • HT201364 trying to download os x mavericks and i get an error saying "The product distribution file could not be verified. It may be damaged or was not signed." how do i fix this so i can update my new macbook pro?

    "The product distribution file could not be verified. It may be damaged or was not signed."
    please help! i want to update my computer!!!

    "Update your new MacBook Pro"?
    Well, if your MacBook Pro is new, it already has Mavericks installed and there is nothing to update.
    Go to the Menu Bar, and click the Apple logo.  Then click "About This Mac."  Does it show OS X 10.9 or 10.9.1?
    If so you are already running Mavericks.

  • HT1212 IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    IPAD is Disabled, tried to connect via itunes but get error "iTunes could not connect to the [device] because it is locked with a passcode. You must enter your passcode on the [device] before it can be used with iTunes."

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Error when deleting file: Could not find this item. This is no longer located in ...

    We are setting up a new Windows 2012 server. Users access this server using a 'terminal services'. We have mapped some folders from a legacy server (different domain). Using group policy preferences, we map this folder as a drive for a user.
    When user wants to delete some files, he get's the error: 'Could not find this item ..' The error is displayed to the user and it looks like the file can't be deleted. But when I press the F5 (refresh) button, the file is gone. My problem is very similar
    to a problem in the following post: http://social.technet.microsoft.com/Forums/windowsserver/en-US/042e747a-0e25-4190-b0a2-82f3e9635eb0/can-not-delete-file-error-is-could-not-find-this-item?forum=w7itprogeneral
    When I create 'txt' (or 'pdf', 'zip') file, i can delete it without the error. When I create 'xlsx', 'docx', 'pptx', 'bmp', 'jpg', I get the error.
    Does somebody have an idea, how can I fix the cause of this problem? (I can't tell to users to hit the F5 button everytime when they face this issue)
    Thank you for your help in advance!
    Juraj

    Hi,
    Please check if the problematic files’ filename ended with a dot. If so, you could refer to the article below to troubleshoot the issue:
    Solved: “Cannot read from the source file or disk”
    http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • "the finder cannot complete the operation because some data in [name of iMovie file] could not be read or written (Error Code 26)

    Hi all,
    I have an iMovie project in iMovie HD 6.0.3. (Mac OS 10.5.8)
    It plays, but I cannot copy the file (including saving it to a flash drive). I get either a message
    "the finder cannot complete the operation because some data in [name of
    iMovie file] could not be read or written (Error Code 26)" or the
    message "A project file is missing. The file [name of the QuickTime
    movie inside the project.dv] couldn't be opened and is being skipped."
    This happened suddenly, I was able to save a backup version numerous
    times while working on the project.
    I followed some of Karl Petersen's advise on apple discussions. I opened
    the package contents, and everything seems to be there. The source file
    (original QuickTime movie) is there and can be opened and played. I
    replaced the current project file with the backup in the package
    contents, but that did not change anything. I was able to export the
    movie timeline into a new project as a single clip, but would like to be
    able to copy the current project.
    Thanks for any ideas..

    Make sure all drives are formatted as "Mac OS Extended". (Journalling preferred, but not necessary).

Maybe you are looking for

  • Adobe Form NOT getting displayed in WebDynpro Modal Window  (Pop Up)

    Hi, I am trying to display the table data in a Interactive Form. I have used TABLE UI element in Interactive Form. When the user clicks on a EXPORT button this form is displayed in a pop up window (Modal Window). This form is not getting displayed fo

  • Change User password not working in SAP ME 6.0

    Hi, In SAP ME 6.0 SP01 6.0.1.0 Counter 40, the activity "Change User Password" does not work for me or any other user. The activity window (Netweaver) shows, but in the top it says "An error occurred - contact system administrator". This is the outpu

  • PulseAudio error: Failed to find original dlopen loader

    Every time I start PulseAudio, it displays this error: [hb@hb-laptop ~]$ pulseaudio -D W: ltdl-bind-now.c: Failed to find original dlopen loader. [hb@hb-laptop ~]$ The daemon starts though, and PulseAudio works, but I'm wondering what is causing this

  • Random hard drive question

    i know it's a weird question, but will upgrading from a 5400 drive to a 7200 drive make apps not bounce so many times on the dock when I open them? FYI - i already am maxed out on ram.

  • Mac Pro end of life in Europe?

    My local reseller has emailed me to inform me that the Mac Pro will no longer be availabe in the EU from March. Is this for real or an early April Fool? Message was... Here's the official word from Apple: As of March 1, 2013, Apple will no longer sel