Certificate Import Error – ‘Exception from HRESULT: 0x80070005’

KB ID 0000818 

Problem

Seen on Windows Server 2012 when trying to complete a certificate request.

There was an error while trying to perform this operation
Details:
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

Solution

1. Open Windows Explorer and navigate to;

[box]
C:ProgramDataMicrosoftCryptoRSAMachineKeys
[/box]

Note: ProgramData is a hidden folder.

2. Open the folder properties > Security > Advanced > Permissions.

3. Make sure the Administrators group, has the following rights to ‘This folder, subfolders, and files’ > Full control.

4. Make sure the Everyone group, has the following rights to ‘This folder only’ > Select ‘Show advanced permissions’.

List folder/read data>
Read attributes
Read extended attributes
Create folders/append data
Write attributes
Write extended attributes
Read permissions</br

 

Related Articles, References, Credits, or External Links

NA

Exchange PST Import Error – ‘Couldn’t connect to the target mailbox’

KB ID 0000801

Problem

I was trying to import some PST files into SBS 2011, and got the following error;

Couldn’t connect to the target mailbox

Solution

Before you proceed, make sure the user you are logged in as, and are attempting to perform the New-MainboxImportRequest command has been granted the rights to carry out mailbox imports, read the following article;

Exchange 2010 (Post SP1) Bulk Importing Mail From pst Files

Note: If the machine you are importing into is part of a CAS array you may also see this error, to fix that problem you need to create a temporary mail database and move the target mailbox into it, then change the RpcCLientAccessServer property for that database, like so;

[box] set-MailboxDatabase TEMPDB -RpcClientAccessServer Exchange01.petenetlive.com[/box]

1. Make sure the folder you are importing from (this has to be a UNC path NOT a path to local folder!) has permissions granted to it for the Trusted Exchange Subsystem group.

2. If your machine is also a global catalog server, (Note: As mine is an SBS server, and the only DC I don’t really have a choice.) You may find that the ‘Microsoft Exchange RPC Client Access’ service is not running, start it manually then attempt the import again.

 

Related Articles, References, Credits, or External Links

NA