Exchange archives - The ranting of an IT Professional

The ranting of an IT Professional:

Exchange

Sep 30 2009   1:42PM GMT

Warning message when you start Outlook 2007 and then connect to a mailbox that is hosted on an Exchange 2007: Security certificate is invalid.



Posted by: Jason Tramer
outlook 2007, outlook, Exchange, 2007, ssl, Security, certificate, warning, internal

I encountered this issue when setting up an Exchange 2007 environment. After I installed the SSL cert for OWA all of the users using Outlook 2007 reported that they got a certificate warning when opening Outlook internally.

A co-worker of mine found this support article which fixed the issue and saved my bacon.

SYMPTOMS
When you start Microsoft Office Outlook 2007 and then connect to a mailbox that is hosted on a mailbox server that is running Microsoft Exchange Server 2007, you receive the following security warning message:

The name of the security certificate is invalid or does not match the name of the site.

CAUSE
You replace the default self-signed Exchange 2007 certificate with a different certificate.

By default, the URL that is stored in these objects references the NetBIOS name of the server. For example, a URL that resembles the following URL is stored:

https://NetBIOS_name.contoso.com/autodiscover/autodiscover.xml

This may differ from the host name that is used in the FQDN of the replacement certificate. For example, the replacement certificate may have an FQDN that resembles the following FQDN:

mail.contoso.com

This issue causes a name mismatch error to occur. Therefore, you receive the security warning message when you try to connect Outlook 2007 to the mailbox.

RESOLUTION
To resolve this issue, modify the URLs for the appropriate Exchange 2007 components. To do this, follow these steps:
1. Start the Exchange Management Shell.
2. Modify the Autodiscover URL in the Service Connection Point. The Service Connection Point is stored in the Active Directory directory service. To modify this URL, type the following command, and then press ENTER:

Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml

3. Modify the InternalUrl attribute of the EWS. To do this, type the following command, and then press ENTER:

Set-WebServicesVirtualDirectory -Identity “CAS_Server_Name\EWS (Default Web Site)” -InternalUrl https://mail.contoso.com/ews/exchange.asmx

4. Modify the InternalUrl attribute for Web-based Offline Address Book distribution. To do this, type the following command, and then press ENTER:

Set-OABVirtualDirectory -Identity “CAS_Server_name\oab (Default Web Site)” -InternalUrl https://mail.contoso.com/oab

5. Modify the InternalUrl attribute of the UM Web service. To do this, type the following command, and then press ENTER:

Set-UMVirtualDirectory -Identity “CAS_Server_Name\unifiedmessaging (Default Web Site)” -InternalUrl https://mail.contoso.com/unifiedmessaging/service.asmx

6. Open IIS Manager.
7. Expand the local computer, and then expand Application Pools.
8. Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.

Source: http://support.microsoft.com/kb/940726

, ,

Sep 29 2009   1:37PM GMT

Repairing an Exchange database that won’t mount



Posted by: Jason Tramer
Exchange, Information Store, Won't mount, eseutil

Here is a really useful tutorial for repairing an exchange database that won’t mount.

 http://www.msexchange.org/tutorials/Exch…

I know of many occasions where this has been required to get Exchange up and going in a crunch.


Sep 23 2009   4:35PM GMT

Migrating to Exchange 2007



Posted by: Jason Tramer
Exchange 2003, Exchange 2007, migration, seamless

I recently completed my first migration from Exchange 2003 to 2007.

I found this article really helpful:

 http://www.aspfree.com/c/a/BrainDump/Mig…

Overall I had to say I found the proccess really simple. The install lets you specify your existing exchange environment and auto creats the routing between them.

Migrating mailboxes was a one click seamless move.

Now if I could only figure out where Microsoft moved all the settings I need. Sigh.


Mar 28 2009   11:13PM GMT

Microsoft Dynamics CRM 4 for Outlook cannot be installed on a computer where Microsoft Exchange Server versions prior to Exchange Server 2007 are installed



Posted by: Jason Tramer
Microsoft Dynamics CRM 4.0, Exchange, microsoft CRM

I got this error while trying to install the outlook plugin for Microsoft CRM on a terminal server. The terminal server was definitely not running Exchange.

To fix this you need to get rid of a key in the registry.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange

You can export it, do the install and import it back if you need but it needs to be gone for the install to work.


Mar 18 2009   1:46PM GMT

Blackberry - Missing seperate icon for secondary mail account



Posted by: Jason Tramer
Blackberry, Missing seperate icon for secondary mail account, missing icon, mail, BES, BIS, Service books

If you have a blackberry that has been activated on a BES server and then set up a BIS email account as well you will get a second mail icon on your blackberry that is just for your BIS account.

However if you ever need to wipe and reactivate the blackberry the second mail icon will not automatically reappear and all mail for both BES and BIS will flow into the one mail folder,

To get the second icon back just go into Email Setup on the blackberry. Log into your BIS account and select the option to “Resend Service Books”, this will resolve the issue.


Mar 13 2009   5:25PM GMT

Switching VM’s over to a different Virtual Center breaks connection between BES and Exchange server



Posted by: Jason Tramer
Vmotion, vmware, virtual center, Blackberry, BES, MAPIMailbox, MAPIMailbox::MAPIMailbox(2) - OpenMsgStore (0x8004011d) failed, Exchange

We had an issue with our BES server stop working properly. Some mail was getting to users but there were errors sending mail and we couldn’t activate any new users.

Here was the error when trying to activate.

{e} MAPIMailbox::MAPIMailbox(2) - OpenMsgStore (0×8004011d) failed

A reboot of the exchange server followed by a reboot of the BES server fixed the issues but we weren’t sure if this was a coincidence or caused by switching the VM’s over to a different Virtual Center server

Shortly after that we moved over a different set of Exchange server and BES servers and the exact same issue occurred.

Be aware!


Feb 25 2009   2:50PM GMT

Using a POP connector when migrating to from POP to Exchange



Posted by: Jason Tramer
Exchange, Microsoft, sbs, POP, Quantum, Exchange Connector

When focussing on the SMB (Small-Medium Business) market I find that alot of companies don’t yet have their own Exchange servers and are still using POP mail. With the age of virtual servers upon us it is easier then ever to sell them on Exchange when you are already selling them a physical server and Windows enterprise license.

Best practice I have found when doing the migration is to use a POP connector on your Exchange server. This allows for a gradual migration and eliminates any lost email during the time when you are changing over the MX records.

Microsoft includes a free POP connector with Windows Server 2003 SBS and yet for some unknown reason doesn’t include one with the real version of Exchange. Still, using SBS is in fact it’s own punishment so it’s not a huge loss.

I recommend the Exchange Connector product by Quantum Software Solutions. It’s really straight forward to use and very customizable. You get a 30 day free trial, which is all you need if you are only using it for migration purposes, though I think it is well worth paying for if you think you are going to use it on a ongoing basis.

Here is the link

 http://www.quantumsoftware.com.au/


Feb 23 2009   10:33PM GMT

BES - Email not syncing properly



Posted by: Jason Tramer
BES, Blackberry, Email not Syncing

I have been troubleshooting a BES issue with a user whose email isn’t syncing properly. Some email sync’s fine and others not at all. I found this useful article that explains it really well.

 http://www.bbhub.com/2007/01/08/bes-admi…