Saturday, December 25, 2010

Exchange2007 and OCS on the same server

Well, to install OCS on x64 system you will need to run the following command in order to run CWA and enable OCS services to mount:

CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

Then restart IIS and maybe the OS, this is because OCS CWA dlls requires to run in IIS x86 mode, so what I think that happened that someone did the following script which configured IIS on x64 system to run in x86 mode. But if do that on E12 server than has the CAS role installed this will blow its mind you will get the error: 2274 W3SVC-WP ISAPI Filter ‘C:\Exchsrvr\ClientAccess\owa\auth\owaauth.dll’ could not be loaded due to a configuration problem. The current configuration only supports loading images built for a x86 processor architecture.

So you will have to set back the flag to 0, then uninstall OCS, so I think that installing both of the applications is not working thus not supported.

The main Problem when installing OCS 2007 along with exchange 2007 is IIS in Exchange 2007 requires 64 bit mode, OCS do the opposite this is because OCS CWA dlls requires to run in IIS x86 mode,, if you installed OCS with Exchange 2007 (for your labs or worst for your production environment) the exchange will collapse, here is how to fix it:
  • Uninstall OCS 2007
  • Run the following script CSCRIPT %SYSTEMDRIVE%\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0
  • Restart IIS

No comments:

Post a Comment