Exchange Server Share

July 16, 2008

How To: Recreate OWA Virtual Directory – Exchange 2007

Filed under: Exchange, Exchange 2007, OWA — Amit Tank @ 4:02 pm

So many times I heard that OWA doesn’t work on Exchange 2007 server. There would be many reason behind it, like permission configuration, missing files, not able to load properly, .net errors ect…

There are different solutions base on various reasons but no one works then you may try by recreating OWA virtual directory which is giving problem.

Check and note the settings of directory in EMC before recreating it, like InternalURL, ExternalURL, Forms-Based Authentication settings ect..

image

Procedure:

  • First step is to identify the directory which is giving the problem.

      You can use Get-OwaVirtualDirectory to get the list of virtual directories.

image

  • Now let’s say I have problem while accessing owa directory. Remove it with below command.

Remove-OwaVirtualDirectory “owa (Default Web Site)”

image

  • Now create it again with below command.

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

image

Note: if you are recreating other than owa directory which are legacy Exchange directories then you need to use “Exchange2003or2000″ in OWAVersion switch instead of “Exchange2007″

  • Now configure the “owa” virtual directory settings like InternalURL, ExternalURL, Forms-Based Authentications etc… & check the OWA by logging with some test users.

=============================================================

Technorati Tags: ,,

LiveJournal Tags: ,,

del.icio.us Tags: ,,

July 5, 2008

2147024891 – Access is denied: error in EMC

Filed under: Exchange, Exchange 2007, Tools — Amit Tank @ 6:20 am
Tags: , ,

Scenario:

When you have some of the Exchange 2007 Mailbox/CAS server role on Windows 2008 and some of the Exchange 2007 Servers or Management tools installed on Windows 2003 or XP machine. You get below errors on Windows 2003/XP.

Error you get when you see the configuration of Mailbox Server which is on Windows 2008 from Windows 2003/XP EMC.

——————————————————–
Microsoft Exchange Error
——————————————————–
The following error(s) were reported while loading topology information:
Get-OWAVirtualDirectory
Failed
Error:
Unable to create Internet Information Services (IIS) directory entry. Error message is: Access is denied.
HResult = -2147024891.
Access is denied.
Directory Path: IIS://MB-Server.ATS-Test.com/W3SVC/1/ROOT/Exchange
Detail:
server name: MB-Server.ATS-Test.com
local machine name: WinXP-Work1
local machine fqdn: WinXP-Work1.ATS-Test.com
Access is denied.

Error you get when you see the configuration of CAS Server which is on Windows 2008 from Windows 2003/XP EMC.

——————————————————–
Microsoft Exchange Error
——————————————————–
The following error(s) were reported while loading topology information:
Get-ActiveSyncVirtualDirectory
Failed
Error:
Unable to create Internet Information Services (IIS) directory entry. Error message is: Access is denied.
HResult = -2147024891.
Access is denied.
Directory Path: IIS://CAS-Server.ATS-Test.com/W3SVC/1/ROOT/Microsoft-Server-ActiveSync                                                                                                       Detail:
server name: CAS-Server.ATS-Test.com
local machine name: WinXP-Work1
local machine fqdn: WinXP-Work1.ATS-Test.com
Access is denied.

Get-OabVirtualDirectory
Failed
Error:
Unable to create Internet Information Services (IIS) directory entry. Error message is: Access is denied.
HResult = -2147024891.
Access is denied.
Directory Path: IIS://CAS-Server.ATS-Test.com/W3SVC/1/ROOT/OAB
Detail:
server name: CAS-Server.ATS-Test.com
local machine name: WinXP-Work1
local machine fqdn: WinXP-Work1.ATS-Test.com
Access is denied.

Workaround for these errors:

On TechNet forum “Tommy” has given a workaround to stop getting these errors and get the IIS settings in EMC, thanks to him to share this with us.

On Windows 2003/XP machine –> Go to Start –> Run –> dcomcnfg

image

Component Services –> Computers –> My Computer –> Properties

image

Default Properties –> in Default Impersonation Level: set Identify to Impersonate –> Apply – OK

image

Edit (08/07/08): After changing this DCOM configuration you need to reboot the XP/2003 system to make it effective. Thanks to Andy Grogan for this update.

 

=================================================

LiveJournal Tags: ,,

del.icio.us Tags: ,,

Technorati Tags: ,,

Blog at WordPress.com.