Rebuild virtual directories
Run the below command and post the results New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -WindowsAuthentication $true -DigestAuthentication $true -verbose Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
October 17th, 2011 3:58pm

Exchange 2007 that is the web site that I found over the weekend and referenced. What confuses me is the blanks that I have to fill in For ex to re-create the AutoDiscover VD I would do the following: New-AutodiscoverVirtualDirectory -WebSiteName "Defualt Web Site" -WindowsAuthentication $true -DigestAuthentication $true The errors that I get are as follows: New-AutodiscoverVirtualDirectory : The Web site 'Defualt Web Site' on server 'server' does not exist. The name of a Web site is case sensi tive. Parameter name: WebSiteName At line:1 char:33 + New-AutodiscoverVirtualDirectory <<<< -WebSiteName "Defualt Web Site" -Windo wsAuthentication $true -DigestAuthentication $true IIS is up and running properly with no event log errors. IIS was working fine before I removed the Virtual Directories. I have no problem rebuilding them in exchange 2003 but for some reason using the shell it always gives me fits. Craig Becker
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 8:17am

syntax error it should be "Default Web Site"and not Defualt Web Site" New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -WindowsAuthentication $true -DigestAuthentication $true Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
October 22nd, 2011 9:01am

Bare with me but I don't see the difference: But I did get a different error. [PS] C:\Documents and Settings\Administrator.>New-AutodiscoverVirtualDire ctory -WebSiteName "Default Web Site" -WindowsAuthentication $true -DigestAuthen tication $true New-AutodiscoverVirtualDirectory : An error occurred while creating the IIS vir tual directory 'IIS://""/W3SVC/1/ROOT/Autodiscover' on ''. At line:1 char:33 + New-AutodiscoverVirtualDirectory <<<< -WebSiteName "Default Web Site" -Windo wsAuthentication $true -DigestAuthentication $true Craig Becker
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 9:10am

Sorry I do see the typo :)Craig Becker
October 22nd, 2011 9:11am

Run the below command and post the results New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -WindowsAuthentication $true -DigestAuthentication $true -verbose Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 9:18am

I ran that and then looked in the event log and found a ASP.NET 2.0 error: Failed while restarting W3SVC. Error code: 0x8007041c From there I found that I should update .net framework. I checked the Auto updates and there are 4 security updates for .net framework 2.0 (server 2003) and then there is also tollup 5 for exchange server 2007 sp3. In the forum: http://eventid.net/display.asp?eventid=1024&eventno=9665&source=ASP.NET 1.1.4322.0&phase=1 said to install: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6523 Should I proceed with the auto updates or just install the .net above? Do I need to do this during after hours while exchange services are down or can I do so while exchange is live?Craig Becker
October 22nd, 2011 9:48am

Do auto update but do it afterhours.Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP:Exchange 2010 | Exchange 2007 | MCTS:OCS 2007 | Exchange 2010 | Exchange 2007 | MCSA:Messaging | Security | MCSE:Messaging | Security
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 10:10am

I am have a heck of a time rebuilding virtual directories in the Shell: OWA EWS - webservices Active sync OAB UM and Autodiscover Could some please profile me with some useful information on how to rebuild these? I get confused on which part is the virtual directory and which part is the website itself. Thank youCraig Becker
October 22nd, 2011 4:58pm

Hi Please post version of your exchange system. Exchange 2010 You can read this KB to reset virtual directory. http://technet.microsoft.com/en-us/library/ff629372.aspx exchange 2007 You can read this blog. All directories are virtual directory not part of IIS.
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 10:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics