Solved

Exchange 2007: cannot recreate Autodiscover Virtual Directory (SBS 2008 server)

Posted on 2013-05-18
3
2,747 Views
Last Modified: 2013-05-18
Hi,

I have been unable to use Autodiscover on my SBS 2008 server with Exchange 2007.

I found this: http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/A_4962-7-Steps-to-AutoDiscover-Heaven.html.

In IIS everything from Exchange is in the folder SBS Web Applications.

If I run on EMS (As Administrator): New-AutoDiscoverVirtualDirectory it creates a Autodiscover Virtual Directory fine, but only under the Default Web Site, so no good!

If I run: New-AutoDiscoverVirtualDirectory -websitename "SBS Web Applications", I get an error:
New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir
tual directory 'IIS://FQDN NAME OF SERVER/W3SVC/3/ROOT/Autodiscover' on 'NETBIOS NAME OF SERVER'.
At line:1 char:33
+ New-AutoDiscoverVirtualDirectory <<<<  -websitename "SBS Web Applications"
    + CategoryInfo          : InvalidOperation: (NETBIOS NAME OF SERVER\Aut...b Applicati
   ons):ADObjectId) [New-AutodiscoverVirtualDirectory], InvalidOperationExcep
  tion
    + FullyQualifiedErrorId : 513D178,Microsoft.Exchange.Management.SystemConf
   igurationTasks.NewAutodiscoverVirtualDirectory

I also tried: New-AutodiscoverVirtualDirectory -WebsiteName "SBS Web Applications" -InternalUrl "https://FQDN internal name of server/Autodiscover/Autodiscover.xml" -BasicAuthentication 1 -WindowsAuthentication 1

Error:
New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir
tual directory 'IIS://FQDN NAME OF SERVER/W3SVC/3/ROOT/Autodiscover' on 'NETBIOS NAME OF SERVER'.
At line:1 char:33
+ New-AutodiscoverVirtualDirectory <<<<  -WebsiteName "SBS Web Applications" -I
nternalUrl "https://FQDN NAME OF SERVER/Autodiscover/Autodiscover.xml" -Basi
cAuthentication 1 -WindowsAuthentication 1
    + CategoryInfo          : InvalidOperation: (SRV-PKAT-01\Aut...b Applicati
   ons):ADObjectId) [New-AutodiscoverVirtualDirectory], InvalidOperationExcep
  tion
    + FullyQualifiedErrorId : 513D178,Microsoft.Exchange.Management.SystemConf
   igurationTasks.NewAutodiscoverVirtualDirectory

The SBS Web Applications has my certificate linked, so I need to use this.

I even removed the CAS role and then reinstalled it. This made things worse. It recreated some Virtual Dirs, but all in Default Web Site.

I ended up deleting all virtual dirs and recreating all of them. All worked fine, except Autodiscover.

Anyone can help me out?


Thank you very much!


Kind regards,
Ray
0
Comment
Question by:Raymond Jansen
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
fjkaykr11 earned 500 total points
ID: 39177780
Not sure if this will work with SBS,  but I see an other Exchange post that resolved similar issue using Metabase Explorer (scroll to the end of the thread to find the steps).

http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/e2ee0bb9-15f7-4966-9566-256d33b77615
0
 
LVL 7

Author Closing Comment

by:Raymond Jansen
ID: 39177796
Worked, thank you very much!

Kind regards,
Ray
0
 
LVL 3

Expert Comment

by:fjkaykr11
ID: 39177810
glad it worked.  I know Exchange can be a real challenge.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
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 …
In this video we show how to create an Address List 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 Organization >> Ad…

821 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