Solved

SBS2008 Activesync doesn't work

Posted on 2013-01-30
10
834 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 58

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 58

Expert Comment

by:Cliff Galiher
ID: 38838453
Correct.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 58

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 58

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 58

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
In this video we show how to create a Distribution Group 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 Recipients >>…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

751 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