Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now