Solved

SBS2008 Activesync doesn't work

Posted on 2013-01-30
10
829 Views
Last Modified: 2013-01-31
We have a strange problem on one SBS2008 server. Customer just started to allow Activesync connections to server. Installed GoDaddy certificate, Webmail started to work without an issue but Activesync doesn't work.

We found strange configuration on this SBS on IIS. Some of the Exchange components are below Default Web Site, and others are on SBS Web Applications. Usually all the components are on the same site.

Any idea how to fix Acticesync so mobile devices will work? And can the strange IIS config cause this issue?
Strange-IIS.JPG
0
Comment
Question by:matarvai
  • 5
  • 5
10 Comments
 
LVL 57

Accepted Solution

by:
Cliff Galiher earned 500 total points
ID: 38838423
yes, having those all split up will definitely cause issues. Looks like someone attempted a repair in the past and used a non-SBS guide which, of course, created things improperly.

You'll need to use the various powershell commands to remove then recreate the virtual directories in the proper site. For example, there is a remove-oabvirtualdirectory command and a new-oabvortualdirectory command to help you remove and create that vdir.

As always, have a backup before doing any destructive command.

http://technet.microsoft.com/en-us/library/bb123703(v=exchg.80).aspx
0
 

Author Comment

by:matarvai
ID: 38838449
So I need to remove all from Default Web Site and recreate them on the SBS Web Applications site?
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 38838453
Correct.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 38838457
And do so using the exchange powershell commands. Don't just delete them from within IIS. The powershell cmdlets also update the appropriate registry settings in the background for exchange, which the IIS GUI will not do...leaving a mess.
0
 

Author Comment

by:matarvai
ID: 38838853
Removal worked without an issue.

Trying to add again gives me an error

New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir
tual directory 'IIS://servername/W3SVC/3/ROOT/Autodiscover' on 'servername'.
At line:1 char:33
+ New-AutodiscoverVirtualDirectory <<<<  -WebsiteName "SBS Web Applications" -I
nternalUrl "https://servername/Autodiscover/Autodiscover.xml" -BasicAuthen
tication 1 -WindowsAuthentication 1
    + CategoryInfo          : InvalidOperation: (servername\Autod...b Applicati
   ons):ADObjectId) [New-AutodiscoverVirtualDirectory], InvalidOperationExcep
  tion
    + FullyQualifiedErrorId : 515D158,Microsoft.Exchange.Management.SystemConf
   igurationTasks.NewAutodiscoverVirtualDirectory
0
 
LVL 57

Expert Comment

by:Cliff Galiher
ID: 38838871
Stop the W3svc service first, then retry.
0
 

Author Comment

by:matarvai
ID: 38838877
Tried stopping the W3svc service

Run command
New-AutodiscoverVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://servername/Autodiscover/Autodiscover.xml" -BasicAuthentication 1 -WindowsAuthentication 1

same error
0
 
LVL 57

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 500 total points
ID: 38838881
Check the applicationhost.config file and look for remnants. Since the autodiscover directory should not have been in the default web site in the first place, chances are however it got there left old entries from its former existence in sbs webapps, so the command sees this as an attempt to create a duplicate.
0
 

Author Comment

by:matarvai
ID: 38838924
Thanks cgaliher, this helped. Now we have all the virtualdirectories on the same site. Will test activesync after reboot
0
 

Author Comment

by:matarvai
ID: 38839103
Activesync worked. Thank You!
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question