Error on Export-Mailbox cmdlet
I am attempting to export a user's mailbox from my exchange 2007 infrastructure, and am getting the following error:
[PS] C:\Windows\system32>export-mailbox -identity jbeallor -PSTFolderPath "C:\PS
T\jbeallor_10-0519.pst"
Export-Mailbox : MapiExceptionNetworkError: Unable to make admin interface conn
ection to server. (hr=0x80040115, ec=-2147221227)
Diagnostic context:
......
Lid: 15000 dwParam: 0x6BA Msg: EEInfo: prm[1]: Pointer val: 0x000000
00
Lid: 15000 dwParam: 0x6BA Msg: EEInfo: prm[2]: Pointer val: 0x000000
00
Lid: 16280 dwParam: 0x6BA Msg: EEInfo: ComputerName: n/a
Lid: 8600 dwParam: 0x6BA Msg: EEInfo: ProcessID: 2336
Lid: 12696 dwParam: 0x6BA Msg: EEInfo: Generation Time: 2010-05-19 1
8:59:25:283
Lid: 10648 dwParam: 0x6BA Msg: EEInfo: Generating component: 18
Lid: 14744 dwParam: 0x6BA Msg: EEInfo: Status: 10060
Lid: 9624 dwParam: 0x6BA Msg: EEInfo: Detection location: 318
Lid: 13720 dwParam: 0x6BA Msg: EEInfo: Flags: 0
Lid: 11672 dwParam: 0x6BA Msg: EEInfo: NumberOfParameters: 0
Lid: 24060 StoreEc: 0x80040115
Lid: 23746
Lid: 31938 StoreEc: 0x80040115
Lid: 19650
Lid: 27842 StoreEc: 0x80040115
Lid: 20866
Lid: 29058 StoreEc: 0x80040115
At line:1 char:15
+ export-mailbox <<<< -identity jbeallor -PSTFolderPath "C:\PST\jbeallor_10-05
19.pst"
+ CategoryInfo : OperationStopped: (0:Int32) [Export-Mailbox], Ma
piExceptionNetworkError
+ FullyQualifiedErrorId : 63C46E42,Microsoft.Exchange.Management.Recipient
Tasks.ExportMailbox
I am running this command from a virtual image that is on my domain, it is a Windows 7 (x32) system running the Exchange 2007 SP1 management tools. The cmdlet gets the proper information back about the user and the distiguishedName; so I am not sure
why it can not make an admin interface.
Any help is greatly appreciated.
Chris
May 19th, 2010 10:01pm
Hi,
Can u see any error message in EventViewer of your win7 system?
Can you verify that following services are running on exchange mailbox server:
- Microsoft Exchange Service Host
- Microsoft Exchange Information Store
Can you verify that following services are running on your win 7 system (if they exists):
- Computer Browser
- Network Connections
- Workstation
Regards,Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM)
www.HostingController.com
Free Windows Admin Tool Kit Click here and download it now
May 19th, 2010 11:58pm
Do you have sufficient rights for the account you're using to move mailboxes
Santhosh Sivarajan | MCTS, MCSE (W2K3/W2K/NT4), MCSA (W2K3/W2K/MSG), CCNA, Network+ Houston, TX http://blogs.sivarajan.com/ http://publications.sivarajan.com/ This posting is provided "AS IS" with no warranties, and confers no rights.
May 20th, 2010 5:01am
You have to give the right permission on the Mailbox that you want to Export Data From.
In the command below the Admin01 would be the Account you have used to Login to the Windows 7 Machine.
Add-MailboxPermission -Identity john -User Admin01 -AccessRights FullAccess
http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx
Ashwin Raj
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2010 10:38am
I went and re-ran the above script, but it said that I already had the appropriate permissions on the user (I was confident that I had), I then went and re-checked the services (as in Laeeq Qazi's above suggestion) and all were running.
I went back to PS, and ran the export-mailbox script and this morning it worked.
Not sure what has changed, but it could have been services (as the VM has been restarted), or permissions.
Thank you all for your responses.
Chris
May 20th, 2010 4:20pm