You are browsing the archive for forum.

From the Forums: Could not enumerate Exchange

8:50 am in Uncategorized by mikeresseler

Here’s a strange case that has been discussed on the great DPM forums.

A user reported that he could not enumerate the Exchange server when he was creating a protection group for Exchange Server using the DPM wizard.

These are the errors he got:

DPM could not enumerate application component Microsoft Exchange Server\Microsoft Information Store\xxx\17a465cc-90ca-4abd-927f-9aed49f33b5e on protected computer xxx. (ID: 964)
Please make sure that writer is in good state.

DPM could not enumerate application component Microsoft Exchange Server\Microsoft Information Store\xxx\17a465cc-90ca-4abd-927f-9aed49f33b5e\File on protected computer xxx. (ID: 964)
Please make sure that writer is in good state.

DPM could not enumerate application component Microsoft Exchange Server\Microsoft Information Store\xxx\17a465cc-90ca-4abd-927f-9aed49f33b5e\Logs on protected computer xxx. (ID: 964)
Please make sure that writer is in good state.

We let him do all the usual stuff but it didn’t solved anything.

Until today, nothing was found to solve this case, and there were many more reporting this issue.  But today, a user named Frans Molenaar found a solution.  Although it sounds like a very strange solution which has nothing to do with the issue, I decided to test it out in my sandbox and come to the conclusion that it actually indeed solved the case.

So here goes:

First: Check on the exchange server if the following powershell scripts exist:

In  %ExchangeInstallPath%\bin you need to find the following scripts:

  • CommonConnectFunctions.ps1
  • CommonConnectFunctions.strings.psd1
  • Connect-ExchangeServer-help.xml
  • ConnectFunctions.ps1
  • ConnectFunctions.strings.psd1
  • RemoteExchange.ps1
  • RemoteExchange.strings.psd1

Second: Check the following registry keys if they exist:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns]
@=””

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.PowerShell.E2010]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.PowerShell.AdminPSSnapIn”
“ApplicationBase”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin”
“AssemblyName”=”Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″
“Description”=”Admin Tasks for the Exchange Server”
“ModuleName”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.PowerShell.Configuration.dll”
“PowerShellVersion”=”1.0″
“Vendor”=”Microsoft Corporation”
“Version”=”14.0.0.0″

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.PowerShell.Setup]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.PowerShell.SetupPSSnapIn”
“ApplicationBase”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin”
“AssemblyName”=”Microsoft.Exchange.PowerShell.Configuration, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″
“Description”=”Setup Tasks for the Exchange Server”
“ModuleName”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.PowerShell.configuration.dll”
“PowerShellVersion”=”1.0″
“Vendor”=”Microsoft”
“Version”=”14.0.0.0″

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellSnapIns\Microsoft.Exchange.Management.Powershell.Support]
“CustomPSSnapInType”=”Microsoft.Exchange.Management.Powershell.Support.SupportPSSnapIn”
“ApplicationBase”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin”
“AssemblyName”=”Microsoft.Exchange.Management.Powershell.Support, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″
“Description”=”Support Tasks for the Exchange Server”
“ModuleName”=”C:\\Program Files\\Microsoft\\Exchange Server\\V14\\bin\\Microsoft.Exchange.Management.Powershell.Support.dll”
“PowerShellVersion”=”1.0″
“Vendor”=”Microsoft Corporation”
“Version”=”14.0.0.0″

If this is not the case, then copy the registry keys from another exchange server and after that, it works.

To test this, I exported some of the registry keys, removed them and tried the DPM wizard.  I got exactly the error as described in the thread.  After imorting the keys again, everything worked as a charm.

If you have this similar issue, then check these things out

For the complete thread: http://social.technet.microsoft.com/Forums/en-US/dpmexchbackup/thread/25ef304c-b9b5-47b6-a65d-17967ab0ad62/

And thank you Frans Molenaar for finding this solution

Cheers,

Mike

DPM forums: A great resource

10:59 am in Uncategorized by mikeresseler

Last few months I’m spending quite some time on the Data Protection Manager forums. There are a few reasons why I like to spend some time over there.

  1. I like to assist people who have issues with their DPM environments.  Why? I have no idea but I just like it.  Maybe it is because I also get a lot of help from these forums for other products but it is just something I like.  That, and probably the point system that brings out the competitor in me :-)
  2. Learning.  I like to read posts made by others and the possible resolutions that are posted.  When I have no clue about what can be the problem but the answer is still resolved, it can help me in the future when I should encounter the same problem.  It will also allow me to help others when they encounter that problem now that I have a solution
  3. Approaches.  Many users are posting questions about possible configurations they would like in their environment.  Although many can be seen as “Why would you want to do that”, there are many others where I say “Hey, that’s a great idea”.  And even those where I doubt, it still reminds me that every environment is unique and that business requirements sometimes can be hard to meet.

 

Now what about the support you get there.  No, it is not always the best support you can imagine.  Don’t forget that on these forums the helping people are volunteers and some Microsoft people.  Also don’t forget that it is pretty hard to troubleshoot issues when you don’t have the entire information, network architecture, log files and so on with you.  I remember a post that took on for days of troubleshooting while the actual issue was so stupid, that another pair of eyes on that server would have solved the issue within minutes.  But still, the answer came after a while.  If you however expect a resolution, and you need it fast, then you better contact your partner or place a Microsoft support call.

Who is who on these forums? And who is giving the responses.

Well, that could be about everybody who has a live-id (and who doesn’t).  Firstly, you have a few MSFT people who moderate the forums and who help.  People such as Praveen D [MSFT] and Mike J are really helpful over there and are doing a great job.  I assume that this is something additional they do in their work and that it is not their main work so considering that, nice job.

Secondly, you have the “other” people.  People like myself who are not Microsoft employees and who like to help others.  For DPM, I’m thinking about Robert Hedblom, Alex Smits and Taylorbox.  But I’m sure I’m forgetting a few others and the list of helping people has grown a lot lately, something I really like. (My apologies for those who I have forgotten)

Besides the Microsoft moderated forums, there are also others who like to share a forum themselves with the community.  One of these guys is David Allen who hosts a forum on SCDPMOnline.org and does a great job over there in answering people’s issues.  (And don’t forget the fact that he has one of the best DPM blogs)

So if you are having problems, make sure to stop by the DPM forums (http://social.technet.microsoft.com/Forums/en/category/dpm) or by SCDPMOnline.org 

From time to time, I will be using the information found in the forums to write a post, such as the next one.  Why? Basically because it is good information and I can find it myself again :-) and it might be easier for others to find a solution on blogs then on forums.

One final remark.

Users who ask a question on the forum, should always give feedback when they got a response.  Now many questions remain “open” because they have never received feedback from the person with the problem.  This helps others that have this issue.  When they find the forum post, and see that it resolved the issue with the user that had it, they will be more certain to try the resolution in their environments.

It doesn’t take much time to answer, and you can always be notified when somebody responds.

Cheers,

Mike