Can't launch EMC MMC Could not create snapin
Can anybody help, I'm trying to launch EMC on one of our 32 bit utility servers i.e. not one of the actual 64 bit exchange servers and it dies with an error
MMC has detected an error in a snap-in and will unload it.
I then get a further error message
Unhandled Exception in Managed Code Snap IN
FX:{76dd58f7-54ba-42e3-a2e0-dbf4b674539f}
Excetption has been thrown by the target of an invocation.
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark&
stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.SnapInClient.CreateSnapIn(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.ClassLibraryServices.Microsoft.ManagementConsole.Internal.IClassLibraryServices.CreateSnapIn(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.IClassLibraryServices.CreateSnapIn(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Executive.SnapInApplication.CreateSnapIn(String snapInAqn)
at Microsoft.ManagementConsole.Executive.SnapInInitializationOperation.CreateSnapIn()
at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(SimpleOperationCallback callback)
Obviously I've tried restarting the MMC and rebooted the server.
I've tried reinstalling MMC3 and get told the version I'm running is newer so don't need to proceed.
I found an article on the web saying I should rename mmc.exe config file tried that too.
Getting desperate I thought I'd uninstall the Exchange management tools and reinstall. When I go to add remove programs and try and remove exchange 2007 I get an error saying the program encountered an error and needs to close.
Tried rebooting just in case but still can't uninstall it.
EMS works OK but EMC seems to be FUBAR.
Our Exchange 2007 is on a mixture of Win2008 and Win2003 both 64 Bit obviously the server I'm having trouble with is Win2003 Enterprise SP2.
Has anybody got any bright ideas I'm keen to avoid having to rebuild the server.
Cheers
September 8th, 2010 2:18pm
Does the service pack and rollup level on the management tools match what is installed on the Exchange Server?
Free Windows Admin Tool Kit Click here and download it now
September 8th, 2010 6:07pm
The service pack does but the rollups are a couple behind. I did think this maybe the cause but we've got two of these utility servers both the same couple of roll ups behind, one works fine and the other is playing up.
September 8th, 2010 6:21pm
I agree with Andy.
Please try to keep the version of all those roles in the same status and then check the issue again.
Free Windows Admin Tool Kit Click here and download it now
September 9th, 2010 5:37am
No joy I'm afraid. The utility server is now on the same rollup as the actual exchange servers and I'm still getting the same error as before.
September 9th, 2010 3:55pm
Hi,
This is the server which only install Exchange Management Tools, is that true?
Then please try to delete the “Exchange Management Console” file from C:\Users\<currently_logged_in _username>\AppData\Roaming\Microsoft\MMC and launch EMC again.
Besides, please try to use type MMC from a command prompt and then add Microsoft Exchange 2010 Server snap-in from there to check the issue again. Also to better narrow down the issue, I recommend
you try to add other snap-in to MMC and then check if any issue would occur.
Regards,
Xiu
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2010 9:39am
Hi
I think you've put down a win 2008 path and unfortunately we're running on Win 2003. I've had a look in C:\Documents and Settings\my name\Application Data\Microsoft just to be on the safe side but can't find anything relating to Exchange 2007.
I've tried launching EMC by running up the MMC and then adding the snapin but I get the same result. I can open other snapins no problem have tried with ADAC and GPO Editor.
Unfortunately the exchange tools aren't the only thing installed on this sever. We have a couple of Quest products messagestats and spotlight on messaging and the relevant pre-reqs.
Thanks
Steve
September 10th, 2010 1:24pm
Hi,
If I am the administrator, then the location could be : C:\Documents and Settings\Administrator\Application Data\Microsoft\MMC,
Note: Please enable "show hidden file" since Application Data is a hidden file under Administrator folder.
Regards,
Xiu
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2010 10:11am
Hi
OK I've had a look in that directory and it was empty
I then mapped to the other working utility server and copied the contents of this directory from the working one to the dead one. I wasn't entirely suprised when this didn't fix it but it was worth a try.
I deleted the copied EMC file again and tried to launch the exchange console and got the same error. I went back to the mmc directory and the exchange management console file hadn't been recreated.
Thanks
September 14th, 2010 2:08pm
Hi
OK I've had a look in that directory and it was empty
I then mapped to the other working utility server and copied the contents of this directory from the working one to the dead one. I wasn't entirely suprised when this didn't fix it but it was worth a try.
I deleted the copied EMC file again and tried to launch the exchange console and got the same error. I went back to the mmc directory and the exchange management console file hadn't been recreated.
Thanks
Unfortunately time has got away from me and I've rebuilt the server.
Free Windows Admin Tool Kit Click here and download it now
September 14th, 2010 2:08pm