Solved

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

Posted on 2013-05-18
3
2,783 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
[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
  • 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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
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.
This video discusses moving either the default database or any database to a new volume.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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