Solved

Unable to Mount Database

Posted on 2014-01-25
7
75 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 29

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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When working with Microsoft SCVMM (System Center Virtual Machine Manager) in a Hyper-V virtualization environment, we have run across scenarios in which the failed migration of a VM from one host to another may leave the VM in a failed state. Specif…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…

912 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

25 Experts available now in Live!

Get 1:1 Help Now