{"id":34,"date":"2007-12-04T10:58:42","date_gmt":"2007-12-04T15:58:42","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=34"},"modified":"2008-08-04T12:01:55","modified_gmt":"2008-08-04T17:01:55","slug":"exchange-2007-recreate-owa-virtual-directories","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2007\/12\/exchange-2007-recreate-owa-virtual-directories\/","title":{"rendered":"Exchange 2007 Recreate OWA Virtual Directories"},"content":{"rendered":"<p>Another issue from the new Exchange 2007 environment: permissions problems in terms of OWA setups.  Basically every time one would go to our webmail OWA site, it would give a 404 error, or sometimes it would go through to authenticate but then say the session has timed out.  Not good.<\/p>\n<p>The quickest way to fix this is to just recreate the virtual directories.  Here&#8217;s the low down on how to do just that:<\/p>\n<p>1.) On your exchange server, open up the PowerShell command<br \/>\n2.) Type Get-OwaVirtualDirectory.  This will list all of the virtual directories on any of the exchange servers currently in your domain.<br \/>\n3.) Type Remove-OwaVirtualDirectory -identity &#8220;owa (Default Web Site)&#8221;.  This will remove the OWA directory in about 10 to 30 seconds.<br \/>\n4.) Type New-OwaVirtualDirectory -OwaVersion &#8220;Exchange2007&#8221; -Name &#8220;owa (Default Web Site)&#8221;.  This will create the Virtual Directory again.<\/p>\n<p>If you get an error saying that the IIS Virtual Directory can not be created at line:1 char:24, go into your Exchange Management Console.  Under Server Configuration\/Client Access make sure that Outlook Anywhere Enabled is set to FALSE for the server you&#8217;re trying to recreate the directory.<\/p>\n<p>I found out on our second server that I really don&#8217;t need to type with capital letters.  and since i&#8217;m lazy, i stopped typing with capital letters.  thank you!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another issue from the new Exchange 2007 environment: permissions problems in terms of OWA setups. Basically every time one would go to our webmail OWA site, it would give a 404 error, or sometimes it would go through to authenticate but then say the session has timed out. Not good. The quickest way to fix &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2007\/12\/exchange-2007-recreate-owa-virtual-directories\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Exchange 2007 Recreate OWA Virtual Directories<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":97,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/34\/revisions\/97"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}