Geeks With Blogs

Sal Sparacio's Blog .NET | c# | Computer Games | Windows Mobile | Solo IT / Programmer

At my company we have a very unique situation. We *WERE* " hubbed " in New Orleans, La till that nasty woman (Katrina) came and turned nola into a bath tub! So we had to move our servers and whatnot to Texas. Now this was all before I got here so don't yell at me if this was not the best solution for the problem. The problem was that the email servers were in texas and after the storm we still had two locations in LA and also had some execs out here to. When they would get big email from our different clients it would take forever to open (over a t-1) and if anyone has ever dealt with a exec they know they can get pissy when something takes longer than sec to pull up! So the solution was to put another exchange 2003 server in LA and have the server in texas fwd all the mail for this users to the server in LA. Well the problem that sprung up from that was people kept forgetting where to go to get their webmail because of the 2 different server addresses, so we made a little app with a drop down menu and it pointed you to the correct server SSL URL. Everything was fine will palm released the Treo 700W and I came in wanting push email! Well my exchange guy quit so it was all up to me! I do have a fair knowledge of Exchange but my realm is web programming.

My Mail Server Setup:
Windows 2003 Standared
Exchange 2003 Sp2
-- SSL enabled for webmail
-- forms authenacation enabled for webmail.

This is what I had to do to make everything work like it should. ** If you break your server its not my fault ** :-)

1st. I had to make sure that the " Exchange " virtual dir was setup to use port 80 & 443. Yes, it does NEED to have BOTH open.
2nd. I did theses steps there were outlined in this KB Article:
Note These steps affect both Outlook Mobile Access connections and Exchange ActiveSync connections. After you follow these steps, both Outlook Mobile Access and Exchange ActiveSync connections use the new virtual directory that you create.

1. Start Internet Information Services (IIS) Manager.
2. Locate the Exchange virtual directory. The default location is the following:
Web Sites\Default Web Site\Exchange
3. Right-click the Exchange virtual directory, click All Tasks, and then click Save Configuration to a File.
4. In the File name box, type a name. For example, type ExchangeVDir. Click OK.
5. Right-click the root of this Web site. Typically, this is Default Web Site. Click New, and then click Virtual Directory (from file).
6. In the Import Configuration dialog box, click Browse, locate the file that you created in step 4, click Open, and then click Read File.
7. 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."
8. 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.
9. Right-click the new virtual directory. In this example, click exchange-oma. Click Properties.
10. Click the Directory Security tab.
11. Under Authentication and access control, click Edit.
12. Make sure that only the following authentication methods are enabled, and then click OK:
Integrated Windows authentication
Basic authentication
13. Under IP address and domain name restrictions, click Edit.
14. Click Denied access, click Add, click Single computer, type the IP address of the server that you are configuring, and then click OK.
15. Under Secure communications, click Edit. Make sure that Require secure channel (SSL) is not enabled, and then click OK.
16. Click OK, and then close the IIS Manager.
17. Click Start, click Run, type regedit, and then click OK.
18. Locate the following registry subkey:
19. Right-click Parameters, click to New, and then click String Value.
20. 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.
21. In the Value data box, type the name of the new virtual directory that you created in step 8 preceded by a forward slash (/). For example, type /exchange-oma. Click OK.
22. Quit Registry Editor.
23. Restart the IIS Admin service. To do this, follow these steps:
a. Click Start, click Run, type services.msc, and then click OK.
b. In the list of services, right-click IIS Admin service, and then click Restart.
Note If the server is Microsoft Windows Small Business Server 2003 (SBS), the name of the Exchange OMA virtual directory must be exchange-oma.

The integrated setup of Microsoft Windows Small Business Server 2003 creates the exchange-oma virtual directory in IIS. Additionally, it points the ExchangeVDir registry key to /exchange-oma during the initial installation. Other SBS wizards, such as the Configure E-mail and Internet Connection Wizard (CEICW) also expect the virtual directory name in IIS to be exchange-oma.

After I did all of that I again made sure there the main website was sitting on ports 80 & 443. I made sure again to look at the required SSL channel setting was NOT CHECKED (Under Secure communications, click Edit.).
Then if all is well you should be able to open IE and connect to http://server_name/OMA and it should complain about your browser not being supported just hit ok and the inbox should pull up.

Just leave me some feedback if i messed something up or if you just wanna say hi!

-- Sal Posted on Tuesday, July 11, 2006 6:36 AM | Back to top

Comments on this post: Exchange 2003 - OMA - ActiveSync Server - Windows Mobile 2005 ( WM5 for PPC ) - Thoughts / Fixes!

# re: Exchange 2003 - OMA - ActiveSync Server - Windows Mobile 2005 ( WM5 for PPC ) - Thoughts / Fixes!
Requesting Gravatar...
Left by Yuriy on Jul 24, 2006 9:59 PM

# re: Exchange 2003 - OMA - ActiveSync Server - Windows Mobile 2005 ( WM5 for PPC ) - Thoughts / Fixes!
Requesting Gravatar...
I am happy to find so many useful information here in the post, we need to develop more strategies in this regard, thanks for sharing.

Left by Alcohol Rehab on Mar 12, 2010 11:08 PM

Your comment:
 (will show your gravatar)

Copyright © Sal Sparacio | Powered by: