[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1185
  • Last Modified:

Lost iphone connection. What is IIS setup.

I was trying to get my iphone to connected both inside the office and outside.  I think I changed something and broke it.  I wrote down my changes and put them back but I must have missed something.  I followed these instructions to get it to work:
The new virtual directory needs to be created through Internet Services Manager for Exchange ActiveSync to work.
If you are using Microsoft Windows Server" 2003 or later, follow these instructions:
1.      Start Internet Information Services (IIS) Manager

2.      Locate the \exchange virtual directory (default location is Web Sites\Default Web Site\Exchange)

3.      Right click on the Exchange virtual directory, choose All Tasks, Save Configuration to a File.

4.      Type a name in the File name: text box (for example, ExchangeVDir).

5.      Click OK.

6.      Right click the root of this Web site (Default Web Site), choose New, Virtual Directory (from file).

7.      On the Import Configuration dialog box, select the Browse button and locate the file from step #4, then click Open.

8.      Next, select the Read File button.

9.      In the Select a configuration to import text box, select Exchange and press OK.

10.      A dialog box will appear stating the virtual directory already exists. In the Alias text box, type a name for the new virtual directory that you want the Exchange Server ActiveSync and Outlook Mobile Access processes to use. For example, type Exchange-OMA.

11.      Click OK.

12.      Right click on the new virtual directory and choose Properties, in this example, Exchange-OMA.

13.      Select the Directory Security tab.

14.      Click the Edit button in the Authentication and access control section.

15.      Verify only the following authentication methods are enabled:
"      Integrated Windows authentication
"      Basic authentication

16.      Click OK.

17.      Click Edit under IP address and domain name restrictions.

18.      Click Denied access, and then click Add.

19.      Click Single computer (if this option is not already selected), type the IP address of the server that you are configuring, and then click OK.

20.      Click the Edit button in the secure communications section.

21.      Verify require secure channel (SSL) is not enabled and click OK.

22.      Click OK, and then quit IIS Manager.

23.      Click Start, click Run, type regedit in the Open box, and then click OK.
24.      Locate the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MasSync\Parameters
25.      Right-click Parameters, point to New, and then click String Value.

26.      In the New Value #1 box, type ExchangeVDir, and then press ENTER.

27.      Right-click ExchangeVDir, and then click Modify.

28.      In the Value data box, type a forward slash (/) followed by the name of the new virtual directory that you created in step 10. For example, type /Exchange-OMA.

29.      Click OK, and then quit Registry Editor.

30.      Restart the IIS Admin Service. To do this:
"      Click Start, click Run, type services.msc in the Open box, and then click OK.
"      In the Name list, right-click IIS Admin, and then click Restart.

Now whenever I try to connect with my phone, I get connection to the server failed.  Am I missing something?  Like I said, the connection was working and now I can't get it back.
0
egalaw
Asked:
egalaw
  • 7
  • 6
1 Solution
 
Sourabh-ExcahngeCommented:
are you using SSL and FBA for OWA ?
0
 
Sourabh-ExcahngeCommented:
and the step you have performed on 17th step please make it to grant access
0
 
egalawAuthor Commented:
I am not using SSL or FBA for OWA.  For step 17 should there be nothing under Denied Access and should it be under Granted instead.  Also, should I have a virtual directory under Exchange and under Default Web Site?
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
egalawAuthor Commented:
I have attached a file to show the screen shots of what I have.
Screenshot.pdf
0
 
Sourabh-ExcahngeCommented:
i think you have followed the KB 817379 for this configuration
this KB only applies if you are using SSL on Exchange virtual directory
we use this method because the internal communication of the virtual directory happens on port 80 thats ahy we create an new copy of exchange VD to work on port 80
please reverce all the changes you have made
0
 
egalawAuthor Commented:
I have loaded the old configuration from the old virtual directory and it still does not work.  Should there be a virtual directory under Exchange and under Default web site?
0
 
Sourabh-ExcahngeCommented:
please check if you have deleted the entry from the registery editor
nad check if you have basic and intigrated authentication on Exchange virtual directory
and after all this please do a iisreset from the command prompt
0
 
egalawAuthor Commented:
The virtual directory listed in the registry is ExchangeDAV which is what is should be.  ExchangeDAV is located under Default Web Site in IIS.  Under Microsoft-Server-Activesync, Exchange is listed as the virtual directory.  The Exchange virtual directory is the same as the EchangeDAV virtual directory, just a differant name.  Is this the correct setup?
I have basic and integrated authentication and I have reset IIS from the command prompt,  still no connection.
0
 
Sourabh-ExcahngeCommented:
please delete the ExchangeDAV virtual directory and the registery key as per KB 817379 method 2
0
 
egalawAuthor Commented:
Deleted the ExchangeDAV and followed KB 81739 method 2.  No luck.  Any other thoughts?
0
 
Sourabh-ExcahngeCommented:
you can performe DS2MB procedure
take the backup of IIS and delete exchange,exchweb,exadmin,public virtual directory
open command prompt
c:\inetpub\adminscripts\> cscripts adsutil.vbs delete ds2mb
restart system attended service and then restart IIS
you should get all the virtual directories back
this command just refresh the metabase
0
 
egalawAuthor Commented:
What is the DS2MB procedure?  Where is the backup of IIS?  Please send more detailed instructions.
0
 
Sourabh-ExcahngeCommented:
please check
http://support.microsoft.com/kb/883380/en-us 
i told you about Method 2
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 7
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now