Solved

Unable to Mount Database

Posted on 2014-01-25
7
69 Views
Last Modified: 2015-06-23
We have an exchange server 2010 and the mailbox databases will not mount.  Here is the error message:

Error code: An active manager operation failed.  Erorr the database action failed.  Erorr: operation failed with the message: MapiExecptionAccess unable to mount database. hr=0x8007005, ec=-2147024891


The server is also a hyper v server running on 2008R2 enterprise.  The server also runs dns, dhcp, and AD
0
Comment
Question by:PcolaIT
7 Comments
 
LVL 28

Expert Comment

by:becraig
ID: 39809375
Do you have any backups of the database ?

Take a look at the restore step by step at the link below:
http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/


Pay specific attention to step 2 if you have not been backing up the DB and multiple log files might be present.
0
 
LVL 56

Expert Comment

by:Cliff Galiher
ID: 39809463
Your error code is missing a digit. But I can guess it is 80070005. That is a permissions issue. If you copied this database from another machine you'll have to update the permissions on the file so the exchange system services can read and write to it.
0
 

Author Comment

by:PcolaIT
ID: 39809655
Yes that is the correct error code.  Sorry about that.  It looks like both folders have the correct permissions:

System Full Control (also owner of folder)
Organizational Management Full Control
View-Only Organizational Management Read & execute, list folder contents, Read
Administrators Full Control

What other permissions do I need to change?  What about inheritable permissions and child objects? Those are unchecked.
0
Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

 

Author Comment

by:PcolaIT
ID: 39810388
I got the databases mounted.  Had to go to adsi edit and grant full access to server in first administrative group.  However, I still see issues and mobile devices are not gettng email.  Here is the error I see:



Event ID 1310, Source ASP.NET 2.0.50727.0

Event Code 3007

event message: A compilation error has occurred.

Exception type:HttpComplieException

exception message(0) error: CS0016: Could not write to output file c:\Windows\Microsoft.Net\Framework64\............. 'The directory name is invalid'

I checked and the referenced .dll is missing in that folder.
0
 

Accepted Solution

by:
PcolaIT earned 0 total points
ID: 39810463
Ok, got everything working!  The databases were a permissions issue that didn't carry over.

Then activesync and owa was not working.  I saw an error in event log that pointed to asp.net and "invalid directory"  

I checked the directory and there was a .dll file that was missing.  To fix this I had to right click on My computer, advanced, then environmental variables and check the Temp and TMP locations under the system variables.  They were pointing to E:\Temp and E:\TMP, which referred to a partition that was deleted before I migrated the servers.  I changed the directories to %Windir%\Temp and %Windir%\TMP and restarted IIS and activesync and owa began working!  

Thank you all for your help and suggestions!  I'm going to comb over the event logs to make sure there are no other problems.  Looks like worst is over (I hope!)
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40845882
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Join & Write a Comment

Nowadays, Virtual Machines are used equally by small and large scale organizations. However the issue is that VMDK files are also prone to corruption. So, in this article we are looking at how to recover VMDK files from hard disk of host operating s…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now