Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

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…
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

776 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