[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

Cannot Recreat OWA (2007) Directories

Hi All,

After some troubleshooting I have followed MS KB 883380 to remove and re-create the OWA relevant directories on my Exchange 2007 SP1 box (running IIS 6)  Removing them is easy but in each step if I try and remove the reference to DS2MB OR edit the .xml file and search for the relevant string I do not get any results...

Starting to get frustrated now, how do I trigger the recreation of these directories as they are not being created automatically....

Thanks
K


KB Article: http://support.microsoft.com/kb/883380
0
techmiss
Asked:
techmiss
  • 4
  • 3
1 Solution
 
Hendrik WieseCommented:
So I suppose you ran the following:

Remove-OwaVirtualDirectory “owa (Default Web Site)”

Open in new window


Now run this command to recreate:

New-OwaVirtualDirectory -OwaVersion “Exchange2007¿ -Name “owa (Default Web Site)”

Open in new window


0
 
Hendrik WieseCommented:
Sorry command came out messy, here is the correct one:

New-OwaVirtualDirectory -OwaVersion "Exchange2007" -Name "owa (Default Web Site)"

Open in new window

0
 
techmissAuthor Commented:
Hi, no I did it through IIS console, the KB did not say to remove the OWA directory so I left it alone...

Directories removed are :
¿Exchange
¿ExchWeb
¿Microsoft-Server-ActiveSync
¿OMA
¿Public
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
Hendrik WieseCommented:
Please refer to the following link to recreate all your directories: http://my.opera.com/RavenOverride/blog/2009/06/17/how-to-recreate-all-virtual-directories-for-exchange-2007

Hope this helps!!!
0
 
techmissAuthor Commented:
Thanks, getting there, when I get to the second command:

Set-OWAVirtualDirectory -InternalUrl "https://INTERNAL_FQDN_OF_EXCHANGE/owa/
-ClientAuthCleanupLevel "Low" -LogonFormat "UserName" -DefaultDomain “NETBIOSDOMAINNAME”
-Identity "Owa (XXXXXXX)"
-----------------------------

My powershell is telling me that it cannot find the parameter "UserName" is this syntax correct?

Thanks
K
0
 
techmissAuthor Commented:
Ok, I have now completed creating all the directories but I cannot run the .\appcmd.exe ... it's not a recognised command.

K
0
 
Hendrik WieseCommented:
Try the following:

To start Appcmd.exe
1. Click Start, and then click All Programs.
2. Click Accessories, and then click Command Prompt.
3. At the Command Prompt, type cd %windir%\system32\inetsrv, and then press ENTER.
4. Now type Appcmd.exe and press Enter

If you are running 64-bit Windows, use Appcmd.exe from the %windir%\system32\inetsrv directory, not the %windir%\syswow64\inetsrv directory.

Reference
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now