Results 1 to 7 of 7

Thread: Error Creating Autodiscover Virtual Directory

  1. #1
    Join Date
    Apr 2010
    Posts
    33

    Error Creating Autodiscover Virtual Directory

    I am getting such type of error within the powershell when moving to make a new one Autodiscover Virtual Directory...It seems so weired, would you help me in this situation .. I have removed the default properly but we were now getting some problem and needed to make a new one but Microsoft doesn't have very much support or suggestion regarding this procedure to do the same...

    Here is the code which I have executed : New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -BasicAuthentication $true -WindowsAuthentication $true

  2. #2
    Join Date
    Sep 2005
    Posts
    1,306

    Re: Error Creating Autodiscover Virtual Directory

    Through the IIS, you are unable to get the virtual directory and Application possible. So to handle this situation. I have to download this one software known as Metabase Explorer from download facilitated websites for downloading this one program

    1. Install this on your Exchange Server
    2. launch this as the Administrator user of the system
    3. Open up the Wssv => 1 => Root => Autodiscover
    4. You need not to remove this initially , rename this to whatever...
    5. launch it again.
    New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -BasicAuthentication $true -WindowsAuthentication $true
    6. Check out the Metabase Explorer and also the IIS Management to be sure that your new Autodiscover Application is entitled there .
    7. Remove out the previously renamed directory within the Metabase explorer...

    That was feasible for me before and I hope it would be helpful for you !

  3. #3
    Join Date
    Apr 2010
    Posts
    33

    Re: Error Creating Autodiscover Virtual Directory

    I have considered out that out shortly after I made the thread... lol... I have used the same with both methods and still having an error albeit another error which I will post shortly...

    What is the way to delete the default Autodiscover and make a another one? And I suggest that delete this properly for example ... remove directories, ADSI Edit and delete the components at that place ??? Microsoft only issue the command to actually delete out the same from Exchange but I have considered that it is not that simple one... Never is...

    There is new Error.... Not really new, received this before... it is with the service started...

    An error occurred while creating the IIS virtual directory 'IIS://US-HOU-EX01.Dannenbaum.Local/W3SVC/1/ROOT/Autodiscover' on 'US-HOU-EX01'.
    + CategoryInfo : InvalidOperation: (US-HOU-EX01\Aut...fault Web Site):ADObjectId) [New-AutodiscoverVirtualDirectory], InvalidOperationException
    + FullyQualifiedErrorId : 51432E0,Microsoft.Exchange.Management.SystemConfigurationTasks.NewAutodiscoverVirtualDirectory

  4. #4
    Join Date
    Apr 2010
    Posts
    90

    Re: Error Creating Autodiscover Virtual Directory

    I can easily clean out the autodiscover virtual directory with the help of the command suggested as Remove-AutodiscoverVirtualDirectory cmdlet. but I got some issues when I moved to create the same directory with the different name and same name in both way. When I moved to create then, I got the cmdlet hung within the some minute, and then I received the error
    message described as follows ..

    *START*
    New-AutoDiscoverVirtualDirectory -websitename "Default Web
    Site" -WindowsAuthentication $true -DigestAuthentication $true

    New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS
    virtual directory 'IIS://ServerName.MyCompany.com/W3SVC/1/ROOT/Autodiscover'
    on 'ServerName'.

    At line:1 char:33

    + New-AutoDiscoverVirtualDirectory <<<< -websitename "Default Web
    Site" -WindowsAuthentication $true -DigestAuthentication $true
    *END*

    After arising up the error message , I also figured out that the W3Svc got restricted to run properly and the default website was not started. I can easily start them with the same procedure , however I am not getting any Autodiscover virtual directory.

    I'm copying the code directly from the latest Ex2k7 help file.

  5. #5
    Join Date
    Nov 2005
    Posts
    344

    Re: Error Creating Autodiscover Virtual Directory

    Never mind. Turns out the W3Svc requires to get restricted to be run properly before you are going to execute the command suggested as cmdlet. It forces to stop this as another section of the process, but apparently it was timing out before the service was turning off with the clean procedure, thus the error message. I gone through the manual procedure to stop the W3 and then after moved back for the Powershell and voila !That's all

  6. #6
    Join Date
    Nov 2005
    Posts
    1,203

    Re: Error Creating Autodiscover Virtual Directory

    You are able to work with the Shell to make a new one Autodiscover virtual directory for running with the Microsoft Exchange Server 2010. It can not be performed with the help of EMC specified . The Autodiscover virtual directory facilitates the internal and external URLs which is used to make the connection with the Outlook clients and that need to retrieve the Exchange services, including the Availability service, the offline address book and Unified Messaging and all those things .

  7. #7
    Join Date
    Nov 2005
    Posts
    1,203

    Re: Error Creating Autodiscover Virtual Directory

    You are able to work with the Shell to make a new one Autodiscover virtual directory for running with the Microsoft Exchange Server 2010. It can not be performed with the help of EMC specified . The Autodiscover virtual directory facilitates the internal and external URLs which is used to make the connection with the Outlook clients and that need to retrieve the Exchange services, including the Availability service, the offline address book and Unified Messaging and all those things .

Similar Threads

  1. How to fix Autodiscover error on ExRCA?
    By Tinku-Jia in forum Windows Software
    Replies: 2
    Last Post: 28-04-2012, 07:28 AM
  2. Creating a business directory website
    By Desi.B@yZ in forum Software Development
    Replies: 6
    Last Post: 21-02-2012, 08:46 PM
  3. Creating hard link to directory
    By kolton in forum Operating Systems
    Replies: 4
    Last Post: 22-08-2010, 12:28 AM
  4. Virtual directory in IIS 7
    By yogeshap in forum Software Development
    Replies: 4
    Last Post: 30-04-2009, 01:42 PM
  5. Creating a virtual machine with Virtual Box
    By RedZot in forum Guides & Tutorials
    Replies: 7
    Last Post: 08-04-2009, 05:13 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,003,357.79274 seconds with 17 queries