Announcement

Collapse
No announcement yet.

New Exchange 2007 SP1 CAS installation role failed

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • New Exchange 2007 SP1 CAS installation role failed

    Hello,

    I am in the proccess of performing a Exchange 2003 SP2 to Exchange 2007 SP1
    transition. During the initial installation all the prereq check passed but
    during the installation of Client Access Role, it failed with the following
    error message:

    An error occurred while creating the IIS virtual directory
    'IIS://es2.mindlinreg.com/W3SVC/1/ROOT/owa' on 'ES2'.

    Class not registered (Exception from HRESULT: 0x80040154
    (REGDB_E_CLASSNOTREG))

    The event viewer showed this error as Exchange setup error with event ID
    1002.

    The server that I'm trying to install Exchange 2007 SP1 on is a brand new
    Windows 2003 R2 X64 with the latest service pack and updates, IIS installed
    with ASP.NET 2 SP1.



    I then was told to perform the follow:



    1. Remove failed installation of Exchange 2007 SP1
    2. Remove .net Framework 2.0 & IIS6
    3. Reinstall .net Framework 2.0
    4. Reinstall IIS6
    5. Run Exchange 2007 SP1 setup again



    I ran Exchange 2007 setup again and recieved a same type of error but addressed at a different location please see below:

    Summary: 3 item(s). 1 succeeded, 1 failed.
    Elapsed time: 00:19:15

    Copy Exchange Files
    Completed

    Elapsed Time: 00:01:22

    Client Access Role
    Failed

    Error:
    An error occurred while creating the IIS virtual directory
    'IIS://es2.Mindlinreg.com/W3SVC/1/ROOT/owa' on 'ES2'.

    Server execution failed (Exception from HRESULT: 0x80080005
    (CO_E_SERVER_EXEC_FAILURE))

    Elapsed Time: 00:17:52
    Mailbox Role
    Cancelled

    Please note the different Exception error from the orignal one.



    I am absolutely stuck and have no clue what to do next it would be most greatful if you guys can point me to the right direction.



    Thanks!

  • #2
    Re: New Exchange 2007 SP1 CAS installation role failed

    I don't believe in removing components. If the install fails then I remove all of Exchange, drop the machine in to a workgroup and wipe it. Rebuild the machien fresh. The install should go through with zero problems first time. If it does not and it isn't a permissions issue (do ensure that you are using THE admininstrator account, not an equivilent) then fresh install of Windows. Trying to "fix" a server that should be able to operate for years without any major attention just to save a few hours is a false economy in my eyes.

    Simon.
    --
    Simon Butler
    Exchange MVP

    Blog: http://blog.sembee.co.uk/
    More Exchange Content: http://exchange.sembee.info/
    Exchange Resources List: http://exbpa.com/
    In the UK? Hire me: http://www.sembee.co.uk/

    Sembee is a registered trademark, used here with permission.

    Comment


    • #3
      Re: New Exchange 2007 SP1 CAS installation role failed

      dear all,

      i have to 100% the same problem alann posted before. don`t want to reinstall before figure out the reason of this issue.

      have anyone solved such a problem?

      thanks in advance

      Comment


      • #4
        Re: New Exchange 2007 SP1 CAS installation role failed

        Hii

        This error may be due to many reasons

        1.If we are running IIS in 32 bit mode on a 64 bit machine.

        To disable 32 bit mode run the following command-:
        cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET
        W3SVC/AppPools/disable32bitAppOnWin64.

        2.Make sure that .Net Framework 2.0 SP1 is installed on the server.
        3.Please make sure that ASP.NET V2.0 is NOT prohibited under web services extensions.
        4.Please post the setuplogs for exchange incase the above steps donot work


        Regards

        Fazal
        Fazal Zaidi
        MCITP-Windows 2008,Exchange 2010,MCTS-Exchange 2007,2010,Lync 2010,MCSE-2000,2003,MCSA-2003,2008,2012,MCP,MCSE -Messaging 2013,ITIL

        Comment


        • #5
          Re: New Exchange 2007 SP1 CAS installation role failed

          fast feedback >>great

          below should be 2 pic. attached.

          i assume the failture is depending on 32bit / 64bit issues on IIS.

          - as mentioned, the hardware is exact same like mentioned above.
          - i installed iis6 normally via system >> software >> add components...
          - installed .net framework 1.1 manually and via wsus 2.0sp1 + language pack 64 bit
          - why is shown asp.net 32 bit ? any idea how I became asp.net 64 into it? for sure do i need to activate asp before try to install exchange cas next time.

          thanx in advance
          Attached Files

          Comment


          • #6
            Re: New Exchange 2007 SP1 CAS installation role failed

            hello again,

            cas installation failed again!

            i did all to bring iis on 64 bit>>>

            cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 0

            C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\as pnet_regiis.exe -i

            ASP.NET V2.0 is not prohibitet

            .Net Framework 2.0 SP1 is installed

            install rights are fine

            error log gives following:

            Fehler beim Erstellen des virtuellen IIS-Verzeichnisses 'IIS://XXXXXXXXX.XXXX.net/W3SVC/1/ROOT/owa' auf 'XXXXXXXXXX'
            Klasse nicht registriert (Ausnahme von HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

            >> means same errormessage posted on top.

            below again a screnshot, may you see something wrong.

            thanks in advance
            Attached Files

            Comment


            • #7
              Re: New Exchange 2007 SP1 CAS installation role failed

              Hii Rockt

              Sorry for the late reply...Snapshots seem to be fine...Lets get back to the error which says OWA directory is allready there..we might need to edit the metabase for IIS...Please be sure to backup anything bfore making changes..

              >Locate the applicationhost.config file in %windir%\System32\inetsrv\config
              >Copy it over somewhere as a backup.
              >Locate the line in red in the applicationhost.config file

              Change the line in red to the following. Note that there should be no
              space between “D” and “2592000” in the “value” attribute.
              <property id="6002" dataType="String" userType="2" attributes="Inherit"
              value="D,2592000" />

              Now try installing CAS


              Regards

              Fazal
              Fazal Zaidi
              MCITP-Windows 2008,Exchange 2010,MCTS-Exchange 2007,2010,Lync 2010,MCSE-2000,2003,MCSA-2003,2008,2012,MCP,MCSE -Messaging 2013,ITIL

              Comment


              • #8
                Re: New Exchange 2007 SP1 CAS installation role failed

                hallo fazal,

                - the error doesn`t say "owa already there", rather "error occurred while creating the IIS virtual directory " >> anyway...

                - my system is a Windows 2003 R2 X64 with IIS 6, I assume you are talking about IIS 7. i think that under iis 6 are the depending files web.config and machine.config (see attachments below), but don`t know in which way edition on this files are needed.
                http://learn.iis.net/page.aspx/124/i...ionhostconfig/

                if you need more information to help me out let me know, I appreciate your help!

                kind regards

                rockt
                Attached Files

                Comment


                • #9
                  Re: New Exchange 2007 SP1 CAS installation role failed

                  the errormessage during CAS installation below, the install log give the same message.
                  Attached Files

                  Comment


                  • #10
                    Re: New Exchange 2007 SP1 CAS installation role failed

                    Dear Rockt

                    My appologies for the wrong post....I don know how I thought it to be Windows 2008/....The files for IIS 6.0 are in the metabase.xml file in inetsrv but we dont need them as of now.I am pitty much sure there are some problems with IIS and have seen many such cases..

                    Some questions

                    >Are there any errors\warnings related to .Net Frame work in eventvwr.
                    >Any Winmgmt errors?
                    >It wud be interesting to see if we have owaauth.dll listed under IIS ISAPI Extensions,if not there,,please add it.
                    >R we able to browse ASP files from IIS?

                    Please post ur setup.log files for exchange so that I can take a look at them..

                    My best bet would be to Re-install IIS as something is missing in the IIS.But before that I would surely like to take a look at the setup logs...

                    Regards

                    Fazal
                    Fazal Zaidi
                    MCITP-Windows 2008,Exchange 2010,MCTS-Exchange 2007,2010,Lync 2010,MCSE-2000,2003,MCSA-2003,2008,2012,MCP,MCSE -Messaging 2013,ITIL

                    Comment


                    • #11
                      Re: New Exchange 2007 SP1 CAS installation role failed

                      pls. send an e-mail to stauden at freilandkultur dot de better than post my ip environment on web. I`ll post the final solution for sure, if possible

                      thanks!
                      Last edited by biggles77; 12th June 2008, 16:18. Reason: Remove live email address unless of course you want it harvested by bots.

                      Comment


                      • #12
                        Re: New Exchange 2007 SP1 CAS installation role failed

                        finally reinstalling the OS and install .net framwork by hand (not via wsus) in the right order from 1.0 to 2.0 sp1 solved that issue!

                        kind regards

                        Comment

                        Working...
                        X