locked
OWA Script error after installing RU 6

    Question

  • After installing RU 6 for Exchange 2007 SP1, there is a script error when accessing OWA.

    Server info:
    Exchange 2007 Enterprise SP1 with RU6 running on Windows Server 2008 x64 Standard SP1
    Server was at RU4 for Exchange 2007 SP1

    Single Exchange server with Mailbox, Hub Transport, and Client Access Roles.

    Update Method:
    Roll up 6 for Exchange 2007 installed on 2/27/2009 via Windows Updates.  Server logged in with Domain Administrator (member of Exchange Org Admin)

    Issue:
    When accessing OWA via Internet Explorer the login page does not load.  Error shown in the lower left corner and when you click on show deatails the following information is displayed"

    Line: 7
    Char: 1
    Error: Syntax Error
    Code: 0
    URL: https://server/owa/auth/logon.aspx?
            url=https://server/owa/&reason=0

    Log files:
    UpdateOwa.log

    [10:32:29] *********************************************** 

    [10:32:29] * UpdateOwa.ps1: 12/3/2008 10:32:29 AM 

    [10:32:31] Updating OWA on server SERVER 

    [10:32:31] Finding OWA install path on the filesystem 

    [10:32:31] Updating OWA to version 8.1.311.2 

    [10:32:31] Copying files from 'D:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\Current' to 'D:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\8.1.311.2' 

    [10:32:31] Getting all Exchange 2007 OWA virtual directories 

    [10:32:32] Found 1 OWA virtual directories. 

    [10:32:32] Updating OWA virtual directories 

    [10:32:32] Processing virtual directory with metabase path 'IIS://server.domain.com/W3SVC/1/ROOT/owa'. 

    [10:32:32] Creating metabase entry IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.311.2. 

    [10:32:32] Configuring metabase entry 'IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.311.2'. 

    [10:32:32] Saving changes to 'IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.311.2' 

    [10:32:32] Saving changes to 'IIS://server.domain.com/W3SVC/1/ROOT/owa' 

    [21:07:02] *********************************************** 

    [21:07:02] * UpdateOwa.ps1: 12/11/2008 9:07:02 PM 

    [21:07:04] Updating OWA on server SERVER 

    [21:07:04] Finding OWA install path on the filesystem 

    [21:07:04] Updating OWA to version 8.1.336.0 

    [21:07:04] Copying files from 'D:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\Current' to 'D:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\8.1.336.0' 

    [21:07:04] Getting all Exchange 2007 OWA virtual directories 

    [21:07:05] Found 1 OWA virtual directories. 

    [21:07:05] Updating OWA virtual directories 

    [21:07:05] Processing virtual directory with metabase path 'IIS://server.domain.com/W3SVC/1/ROOT/owa'. 

    [21:07:05] Creating metabase entry IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.336.0. 

    [21:07:05] Configuring metabase entry 'IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.336.0'. 

    [21:07:05] Saving changes to 'IIS://server.domain.com/W3SVC/1/ROOT/owa/8.1.336.0' 

    [21:07:05] Saving changes to 'IIS://server.domain.com/W3SVC/1/ROOT/owa' 

    [18:19:00] *********************************************** 

    [18:19:00] * UpdateOwa.ps1: 2/27/2009 6:19:00 PM 

    [18:19:02] CAS role is not installed on server SERVER 

     


    Saturday, February 28, 2009 7:46 PM

Answers

  •  

    Hi,

    First let’s perform the steps below to see if the issue is Rollup 6 installation related one.

    1. Check in IIS Manager\Sites\Default Web Site\OWA > There are a few folders:
    8.1.240.5, 8.1.311.2, 8.1.340.0, 8.1.340.0 is specific for Exchange 2007 SP1 RU6,
    8.1.311.2 is for Exchange 2007 SP1 Rollup 4.

    2. Please navigate to C:\Program Files\Microsoft\Exchange Server\ClientAccess\OWA
      a. Backup folder 8.1.340.0 to another directory
      b. Copied all folders (cabs, scripts, themes) within folder 8.1.311.2
      c. Replaced all folders (cabs, scripts, themes) within 8.1.340.0 with those copied from 8.1.311.2

    3. Restarted IIS service, and tested OWA on Exchange server and client workstation.

    Besides, please try to check if you have any interim update installed for Exchange Server or if you have customize OWA. Detail information you can refer to the article below:

    Description of Update Rollup 6 for Microsoft Exchange Server 2007 Service Pack 1

    http://support.microsoft.com/?kbid=959241

    Regards,

    Xiu

     

    • Marked as answer by Xiu Zhang Tuesday, March 10, 2009 2:02 AM
    Monday, March 2, 2009 9:44 AM

All replies

  •  

    Hi,

    First let’s perform the steps below to see if the issue is Rollup 6 installation related one.

    1. Check in IIS Manager\Sites\Default Web Site\OWA > There are a few folders:
    8.1.240.5, 8.1.311.2, 8.1.340.0, 8.1.340.0 is specific for Exchange 2007 SP1 RU6,
    8.1.311.2 is for Exchange 2007 SP1 Rollup 4.

    2. Please navigate to C:\Program Files\Microsoft\Exchange Server\ClientAccess\OWA
      a. Backup folder 8.1.340.0 to another directory
      b. Copied all folders (cabs, scripts, themes) within folder 8.1.311.2
      c. Replaced all folders (cabs, scripts, themes) within 8.1.340.0 with those copied from 8.1.311.2

    3. Restarted IIS service, and tested OWA on Exchange server and client workstation.

    Besides, please try to check if you have any interim update installed for Exchange Server or if you have customize OWA. Detail information you can refer to the article below:

    Description of Update Rollup 6 for Microsoft Exchange Server 2007 Service Pack 1

    http://support.microsoft.com/?kbid=959241

    Regards,

    Xiu

     

    • Marked as answer by Xiu Zhang Tuesday, March 10, 2009 2:02 AM
    Monday, March 2, 2009 9:44 AM
  • Thanks for the tips.  We called for support and in addition to step 2 above we had to remove and recreate all of the OWA virtual directories to solve our issue.

    After recreating the virtual directories, I could access OWA without the script errors but as Xiu mention there were files missing from the cabs, scripts, and themes folders so OWA loaded with no formating or images. Copying the contents of the 8.1.311.2 folder to the 8.1.340.0 folder solved the problem.

    On another note, the tech I worked with stated that the "recommended" method for installing these hotfix rollups was to remove the previous roll ups prior to installing the newer version.  The note in KB959241 "Remove all interim updates for Exchange Server 2007 before you apply this update rollup."  I understood this to me that any post RU5 updates that were installed should be uninstalled before installing RU6.  Can you clarify this?  If this is the case, shouldn't the rollup be removed from Windows update?


    Tuesday, March 3, 2009 6:23 PM
  • Hi,

    First glad to know that OWA is working now. :)

    Before you try to deploy Rollup 6 installation, please check any interim updates (not be published, only  be available from Microsoft Support).For your scenario,Rollup 5 is not the interim update,you need not to uninstall it.

    But for Rollup 6. I recommend you to install it manually.Please download it and start a command prompt, navigate to the setp file location and then run the command below:

    Exchange2007-KB959241-x64.-EN.msp /lxv* c:\959241.log

    Regards,
    Xiu

    Wednesday, March 4, 2009 6:53 AM
  • You also may be installing the Rollup with a different account than before that doesn't have enough permissions to do what is needed (Check if CAS is installed). The permissions needed is Exchange Org and Full Admin to the box. The logfile that you posted should have been able to call the powershell commandlet that checks to see if OWA is installed. Not really sure. Please let us know if you still encounter the problem. We are putting a fix into a future rollup to check for permissions before doing critical actions.
    Wednesday, March 18, 2009 11:34 PM
  •  

    Hi,

    First let’s perform the steps below to see if the issue is Rollup 6 installation related one.

    1. Check in IIS Manager\Sites\Default Web Site\OWA > There are a few folders:
    8.1.240.5, 8.1.311.2, 8.1.340.0, 8.1.340.0 is specific for Exchange 2007 SP1 RU6,
    8.1.311.2 is for Exchange 2007 SP1 Rollup 4.

    2. Please navigate to C:\Program Files\Microsoft\Exchange Server\ClientAccess\OWA
      a. Backup folder 8.1.340.0 to another directory
      b. Copied all folders (cabs, scripts, themes) within folder 8.1.311.2
      c. Replaced all folders (cabs, scripts, themes) within 8.1.340.0 with those copied from 8.1.311.2

    3. Restarted IIS service, and tested OWA on Exchange server and client workstation.

    Besides, please try to check if you have any interim update installed for Exchange Server or if you have customize OWA. Detail information you can refer to the article below:

    Description of Update Rollup 6 for Microsoft Exchange Server 2007 Service Pack 1

    http://support.microsoft.com/?kbid=959241

    Regards,

    Xiu

     

    Hi Xiu,

    I having the same problem as dgirdner after install the last roll up 9 patch . Actually previously i was facing this problem on the previous roll up patch too.

    But i able to solve problem with the same step as you teach above. But this round, it seems like not working.

    Before using the step you provided. I found that the new folder created by the roll up 9 patch is very small size with less files in the folder, even IE, Opera or Firefox was not able to go in at all.

    After using the step you provided. (Copy the content in the old folder and paste to the new folder), IE still not working, but Opera and Firefox working fine with ugly login screen. I checked the services in server. All Exchange Services are Enable, beside that IIS Admin, RPC , World Wide Web, ASP.Net services is Enabled too..

    By the way, i saw dgirdner say he had remove and recreate all OWA virtual directories. Can i know how is the steps to do this ? Sorry, i was noob on exchange...

    Oh ya.. Fyi, my Exchanger Server Folder is in drive D (Another partition not the default location C:\Program Files) because we have a large space in D for keep all exchange database. And almost each time i install the roll up patch will causes this problem.

    Pls Help. Thank You very much.


    Saturday, August 15, 2009 3:22 AM
  • Hi Drangon,

    You can follow the steps in the following article to remove and recreate the OWA related virtual directory.

    Error message when you try to log on to Exchange 2007 by using Outlook Web Access: "440 Login Timeout"
    http://support.microsoft.com/kb/941201

    Regards,
    Xiu
    Monday, August 17, 2009 2:55 AM