Tech Stuff
Yet another bogus Microsoft patch email… *rolls eyes*
by Travis on Jun.24, 2009, under Tech Stuff
Yep, the losers are at it again.
If you happen to get an email from Microsoft concerning a patch for Outlook, be smart… DO NOT FOLLOW THE LINK! I cannot stress enough how often people follow these links. Microsoft will NOT send you an update through the email in any shape or form like this. Updates are released through Microsoft Update or Windows Update ONLY!
Here’s what to look for:

EMC 2007 – Access is denied (2147024891) Error
by Travis on Apr.06, 2009, under Tech Stuff
Something I noticed today while working on some issues one of our guys had with using the EMC for Exchange 2007. He kept getting an access denied error when trying to do anything in the EMC. The messages went something like this:
——————————————————–
Microsoft Exchange Error
——————————————————–
The following error(s) were reported while loading topology information:
Get-OWAVirtualDirectory
Failed
Error:
Unable to create Internet Information Services (IIS) directory entry. Error message is: Access is denied.
HResult = -2147024891.
Access is denied.
Directory Path: IIS://mailboxserver.genericcompany.com/W3SVC/1/ROOT/Exchange
Detail:
server name: mailboxserver.genericcompany.com
local machine name: XPWORKSTATION
local machine fqdn: XPWORKSTATION.genericcompany.com
Access is denied.
Kind of an irritating message actually. There were some other ones as well referring to the CAS server, etc.. etc.. but you get the point.
The solution? heh, easy as can be actually.
* From “Start”->”Run” type in ‘ dcomcnfg ‘ and hit “Enter”
* From the Component Services Console, expand “Component Services” -> “Computers”
* Right click on “My Computer” and select “Properties”
* On the “Default Properties” tab, find the Default Impersonation Level and change it from “Identify” to “Impersonate”
That should do it.
Mirrored on: http://techtalk.ihatemykereinhold.com/2009/04/06/emc-2007-access-is-denied-2147024891-error/
Exchange 2003 ActiveSync w/ SSL and/or forms-based authentication.
by Travis on Mar.29, 2009, under Tech Stuff
Probably one of the most common complaints when someone is deploying Exchange and the organization has Windows Mobile Phones that they would like to sync up with the Exchange server is the puzzling “Why won’t this just work?” question that plagues system administrators. Usually this is following the flagging the option to use forms-based authentication. While the solution is out there, sometimes folks don’t know exactly why or where the problem is originating so they have a hard time finding it. Well, hopefully this little paragraph describing the problem will allow some search engine somewhere to allow someone, somewhere to locate this solution easier. That and it’s always good to just have this one handy in your local arsenal of tools that Myke and I are comprising. So. Adding to our list of ‘ oh yeah, that’s how I fixed that ‘ articles… here’s how to resolve why Microsoft ActiveSync will not work any Exchange installation where SSL and/or forms-based authentication has been enabled out of the box. Keep in mind these changes should be made to the server with the mailboxes on them, not a front-end server. Also something worth noting is that if you have an SBS2003 installation, these options should already be set. If they are not or you are having problems with ActiveSync, run through these instructions to check and ensure that they are all present. If they are, perhaps your problem isn’t in authentication or contacting the server, but something a little easier to address.
**This method will involve creating a new virtual directory from a copy of the original to handle related requests. If you are not comfortable with registry changes or IIS settings, you may not want to try this.
Disable forms-based authentication on the Exchange server you are about to modify.
- Open Exchange Manager.
- Expand Administrative Groups, expand the first administrative group, and then expand Servers.
- Expand the server container for the Exchange Server 2003 server that you will be configuring, expand Protocols, and then expand HTTP.
- Under the HTTP container, right-click the Exchange Virtual Server container, and then click Properties.
- Click the Settings tab, clear the Enable Forms Based Authentication check box, and then click OK.
- Close Exchange Manager.
- Click Start, click Run, type IISRESET/NOFORCE, and then press ENTER to restart Internet Information Services (IIS).
Create a secondary virtual directory and configure ActiveSync to communicate with it.
- Start Internet Information Services (IIS) Manager.
- Locate the Exchange virtual directory. The default location is as follows:
Web Sites\Default Web Site\Exchange
- Right-click the Exchange virtual directory, click All Tasks, and then click Save Configuration to a File.
- In the File name box, type a name. For example, type ExchangeVDir. Click OK.
- Right-click the root of this Web site. Typically, this is Default Web Site. Click New, and then click Virtual Directory (from file).
- In the Import Configuration dialog box, click Browse, locate the file that you created in step 4, click Open, and then click Read File.
- Under Select a configuration to import , click Exchange, and then click OK.A dialog box will appear that states that the “virtual directory already exists.”
- Select the Create a new virtual directory option. In the Alias box, type a name for the new virtual directory that you want Exchange ActiveSync and Outlook Mobile Access to use. For example, type exchange-oma. Click OK.
- Right-click the new virtual directory. In this example, click exchange-oma. Click Properties.
- Click the Directory Security tab.
- Under Authentication and access control, click Edit.
- Make sure that only the following authentication methods are enabled, and then click OK:
- Integrated Windows authentication
- Basic authentication
- On the Directory Security tab, under IP address and domain name restrictions, click Edit.
- Click the option for Denied access, click Add, click Single computer and type the IP address of the server that you are configuring, and then click OK twice.
- Under Secure communications, click Edit. Make sure that Require secure channel (SSL) is not enabled, and then click OK.
- Click OK, and then close the IIS Manager.
- Click Start, click Run, type regedit, and then click OK.
- Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters
- Right-click Parameters, click to New, and then click String Value.
- Type ExchangeVDir, and then press ENTER. Right-click ExchangeVDir, and then click Modify.NoteExchangeVDir is case-sensitive. If you do not type ExchangeVDir exactly as it appears in this article, ActiveSync does not find the key when it locates the exchange-oma folder.
- In the Value data box, type the name of the new virtual directory that you created in step 8. For example, type /exchange-oma. Click OK.
- Quit Registry Editor.
- Restart the IIS Admin service. To do this, follow these steps:
- Click Start, click Run, type services.msc, and then click OK.
- In the list of services, right-click IIS Admin service, and then click Restart.
To re-enable forms-based communcation, you may do the following:
- Open Exchange Manager.
- Expand Administrative Groups, expand the first administrative group, and then expand Servers.
- Expand the server container for the Exchange Server 2003 server that you will be configuring, expand Protocols, and then expand HTTP.
- Under the HTTP container, right-click the Exchange Virtual Server container, and then click Properties.
- Click the Settings tab, click to select the Enable Forms Based Authentication check box, and then click OK.
- Close Exchange Manager.
- Click Start, click Run, type IISRESET/NOFORCE, and then press ENTER to restart Internet Information Services (IIS).
Hopefully this will help you out. If not, send your error along to one of us and we’ll see if we have a solution. If we do, we’ll post it up.
Mirrored on: http://techtalk.ihatemykereinhold.com/2009/03/30/exchange-2003-activesync-w-ssl-andor-forms-based-authentication/
Multiple Exchange 2007 Servers + ISA 2006 + ActiveSync
by Travis on Mar.25, 2009, under Tech Stuff
Anyone who has tried to set that up knows what I’m talking about. I actually got this all figured out a couple months ago but failed to make a post about how I did it, so today I found myself trying to remember what I did while trying to fix one of our other sites. So this time, I’m going to post it up.
The surprisingly common error you see when you setup ISA 2006 with Exchange 2007 and try to access ActiveSync manually is the following:
501 – Header values specify a method that is not implemented.
This is a good error actually, it means ActiveSync should be working fine, however, if your ISA server points to a EX2007 Client Access Server (CAS) which then proxies to other CAS servers in your environment, you may get a message like the following when trying to access a mailbox in another internal site:
405 – HTTP verb used to access this page is not allowed.
At that point you start to question your sanity and your skills on Google as you can’t seem to figure out for the life of you why after all that work of making sure the configurations matched up on all your servers did it now not work? You can access the local CAS server directly and pick up the 501 but whenever you try to hit ActiveSync through the CAS Proxy it seems to just bomb on you.
Assuming the above is true and you can indeed connect to it directly, try looking at a few settings. In IIS Manager, look at the properties for ‘ Microsoft-Server-ActiveSync ‘ under your Default Web Site (or non-Default) and check on your settings for Handler Mappings and Authentication. You should have the following:
- Handler Mappings – Make sure the OptionsVerbHandler is configure for ‘All verbs’ not just ‘OPTIONS’
- Authentication – Make sure all Authentication options are disabled except for ‘ Basic Authentication ‘ and ‘ Windows Authentication’
If you’ve configured those settings, make sure your Proxy CAS and Target CAS are both running the same Exchange rollup version and reboot them. It should be working now.
Hopefully this will help some poor soul out there.
Mirrored on http://techtalk.homerun-networks.com/2009/03/25/multiple-exchange-2007-servers-isa-2006-activesync/

