« Previous Next »

Thread: exchange 2007 sp1 kills my iis application how to fix?

Last post 05-07-2008 9:17 PM by Halinab. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 04-24-2008, 7:34 PM

    • hevnbnd
    • Top 500 Contributor
    • Joined on 04-22-2008, 2:55 AM
    • Posts 15

    exchange 2007 sp1 kills my iis application how to fix?

    Hello, I figure this is an easy fix, but I can't seem to find it.  For some reason as soon as I installed exchange i got this error in my application in ie.

    HTTP Error 500.0 - Internal Server Error

    Calling LoadLibraryEx on ISAPI filter "C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" failed

    Module IIS Web Core
    Notification Unknown
    Handler ISAPI-dll
    Error Code 0x800700c1

    Requested URL http://localhost:80/dplive/dplive.dll/login
    Physical Path C:\Scanlon\dp50\dplive\bin\dplive.dll\login
    Logon Method Not yet determined
    Logon User Not yet determined
     
    For some reason it suddenly starts loading the isapi filter for owa instead of my dll... Any ideas?
  • 04-24-2008, 7:40 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: exchange 2007 sp1 kills my iis application how to fix?

    This means that you have 32-bit OWA filter configured for 64-bit worker process (or vice-versa) - find the line for this filter in the isapiFilters section in %windir%\system32\inetsrv\config\applicationhost.config and add a preCondition="bitness32" or preCondition="bitness64" as the case may be.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-24-2008, 7:44 PM In reply to

    • hevnbnd
    • Top 500 Contributor
    • Joined on 04-22-2008, 2:55 AM
    • Posts 15

    Re: exchange 2007 sp1 kills my iis application how to fix?

    This is all that i have in applicationhost.config under isapifilters

    <isapiFilters>
                <filter name="ASP.Net_2.0.50727.0" path="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness32" />
                <filter name="ASP.Net_2.0.50727-64" path="%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_filter.dll" enableCache="true" preCondition="bitness64" />
            </isapiFilters>

     

    Should i have another one for my dll?

  • 04-24-2008, 7:48 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: exchange 2007 sp1 kills my iis application how to fix?

    You dll is an ISAPI extension, so should not be in the isapiFilters list.  The OWA isapi filter is probably either in a location tag in applicationhost.config (look for another isapiFilters section in applicationhost.config) or it is in web.config for the root app for the website.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-24-2008, 7:51 PM In reply to

    • hevnbnd
    • Top 500 Contributor
    • Joined on 04-22-2008, 2:55 AM
    • Posts 15

    Re: exchange 2007 sp1 kills my iis application how to fix?

    UPDATE ok If i change these two isapifilters in the applicationhost.config it fixes my problem.

    <isapiFilters>
                    <clear />
                    <filter name="Exchange OWA Cookie Authentication ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\auth\owaauth.dll" enabled="true" preCondition="bitness64"/>
                    <filter name="Exchange ActiveSync ISAPI Filter" path="C:\Program Files\Microsoft\Exchange Server\ClientAccess\sync\bin\AirFilter.dll" enabled="true" preCondition="bitness64"/ />
                </isapiFilters>

     Why did this happen and is there a way to fix it through the gui instead of in the applicationhost.config file?

     

  • 04-24-2008, 8:14 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: exchange 2007 sp1 kills my iis application how to fix?

    You probably need to add a bitness64 precondition for the other filter in there also.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 04-24-2008, 8:26 PM In reply to

    • hevnbnd
    • Top 500 Contributor
    • Joined on 04-22-2008, 2:55 AM
    • Posts 15

    Re: exchange 2007 sp1 kills my iis application how to fix?

    THANK YOU very much for your help. It is there for both and working. So why does this happen and again can this be fixed without editing the applicationhost.config

  • 04-24-2008, 8:33 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,247

    Re: exchange 2007 sp1 kills my iis application how to fix?

    IIS7 is the first IIS version to support running 32-bit and 64-bit wps side-by-side (IIS6 did not support this) - this is why we have introduced pre-conditions to allow someone to specify configuration for 32-bit vs 64-bit worker processes - I guess exchange setup needs to be updated to take advantage of this.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 05-07-2008, 9:17 PM In reply to

    • Halinab
    • Top 500 Contributor
    • Joined on 10-01-2005, 9:02 AM
    • Posts 13

    Re: exchange 2007 sp1 kills my iis application how to fix?

    I get the same error and applied the bitness64 to my isapi filters and my website works again but I can't say the same for owa.  I get the windows creditentials propts screen than blank (or a blue line down the middle) no owa login screen.  Don't know if owa would have worked by itself as I migrated the existing website from iis6.0 first. 
Page 1 of 1 (9 items)