« Previous Next »

Answered Thread: Enable 32-bit stops the app pool

Last post 10-31-2009 2:03 AM by anilr. 13 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (14 items)

Sort Posts:

  • 01-14-2009, 2:58 PM

    • daveslc
    • Not Ranked
    • Joined on 01-14-2009, 7:52 PM
    • Posts 3

    Enable 32-bit stops the app pool

    I am trying to use a VB6 DLL from ASP in IIS7.  I create an application pool to run it, enabling the 32-bit applications.  When I do this, it fails returning HTTP 503 error, service unavailable and stops the application pool.  Even if I remove the references to the DLL and put in a simple test page that just spits out some text with Response.Write(), if 32-bit apps are enabled it fails.  (Though the same page renders correctly when 32-bit apps are disabled).  What else am I missing here?

    Thanks,

    Dave Taylor

  • 01-14-2009, 3:35 PM In reply to

    Re: Enable 32-bit stops the app pool

    Hello,

    See the following article to ensure you have the correct settings:

    http://blogs.msdn.com/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx

    I would then recommend reviewing the Event Viewer to see if there are any error messages being generated when you try to access the site.

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
  • 01-14-2009, 3:49 PM In reply to

    • daveslc
    • Not Ranked
    • Joined on 01-14-2009, 7:52 PM
    • Posts 3

    Re: Enable 32-bit stops the app pool

    Thanks, had read that blog and everything seems correct. MS IIS tech support guy says it has something to do with running IIS7 on SBS2008.  Even though the app pool is set to enable 32-bit, at some point it tries calling C:\Windows\system32\RpcProxy\RpcProxy.dll which is 64-bit and obviously fails.  He looked through the IIS metabase, did not see RPCProxy in the list of ISAPI filters...so he's now passing me over to SBS support.  Apparently the IIS7 architecture differs when you are on SBS versus standard server.

  • 01-14-2009, 4:08 PM In reply to

    Answered Re: Enable 32-bit stops the app pool

    See if this helps:

    http://forums.iis.net/p/1154189/1889342.aspx#1889342

    rpcproxy seems to be an exchange compentent that is used and is causing issues when loaded automatically in these setups.

  • 01-14-2009, 4:32 PM In reply to

    • daveslc
    • Not Ranked
    • Joined on 01-14-2009, 7:52 PM
    • Posts 3

    Re: Enable 32-bit stops the app pool

    Thanks! That is definitely part of the answer.  The app pool no longer stops after setting the "bitness" for RPCProxy - it doesn't yet process the ASP...but one thing at a time :-)
  • 05-06-2009, 7:40 PM In reply to

    • mbaocha
    • Top 150 Contributor
    • Joined on 04-21-2009, 8:38 PM
    • Posts 35

    Re: Enable 32-bit stops the app pool

     Why not paste your codes here? That will help us get things trashed ASAP.

     

     

     

    _______________________________

    Cheap Affordable Web Hosting | Windows Linux PHP ASPX MYSQL Website Hosting | Best Web Design Company

     

  • 10-05-2009, 2:20 AM In reply to

    Re: Enable 32-bit stops the app pool

    I did everything in this post but when I enable 32-bit mode in IIS7 and then run the website the application pool stops. I have a website that uses MS Access database which needs to run on my Server 2008 64-bit

  • 10-05-2009, 7:20 AM In reply to

    Re: Enable 32-bit stops the app pool

    app pool stop? you can start it back? what other dll you running in this web site? what's the error msgs?

    Cheers,
    Bernard Cheah
  • 10-28-2009, 3:27 PM In reply to

    • Sean Z
    • Not Ranked
    • Joined on 10-28-2009, 7:24 PM
    • Posts 3

    Re: Enable 32-bit stops the app pool

    Did anyone post solution to this scenario? ie. 32-bit app on IIS7 on  64-bit SBS2008.

  • 10-28-2009, 8:43 PM In reply to

    Re: Enable 32-bit stops the app pool

    Please provide more error msgs / setup information of your environment.
    Cheers,
    Bernard Cheah
  • 10-29-2009, 10:53 PM In reply to

    • Sean Z
    • Not Ranked
    • Joined on 10-28-2009, 7:24 PM
    • Posts 3

    Re: Enable 32-bit stops the app pool

    The following are different scenarios I tried:

    Enable 32-bit = False
    Result: Pages without Access DB connection load fine.
    If a page has ASP code with ODBC connection, then error (500 Internal server error There is a problem with the resource you are looking for, and it cannot be displayed.) on remote Browser.
    On local browser (I.E. on the server), the error is
    Microsoft OLE DB Provider for ODBC Drivers error '80004005'
    [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Failed Request Tracing shows:
    ErrorCode 800a0e7a
    Description Provider cannot be found. It may not be properly installed.

    My note: The above error seems to point to ODBC or OLE DB problem.

    Then I set AppPool Enable 32-bit = True
    Result: AppPool stops as soon as a web page (any page, html or asp) is accessed from a browser. HTTP Error 503. The service is unavailable.
    Windows System log: Application pool 'xxx' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
    Windows Application Log: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load.  The data is the error. (5 times)

    Now I add preCondition="bitness64" in applicationHost.config file next to RpcProxy.dll Globalmodules

    Result: The specified module could not be found. (0x8007007e) for every page including simple html page.

    Failed Request Tracing shows:
    ModuleName StaticCompressionModule
    Notification 16
    HttpStatus 500
    HttpReason Internal Server Error
    HttpSubStatus 19
    ErrorCode 2147942526
    ConfigExceptionInfo  
    Notification MAP_REQUEST_HANDLER
    ErrorCode The specified module could not be found. (0x8007007e)

    ModuleName DynamicCompressionModule
    Notification 536870912
    HttpStatus 500
    HttpReason Internal Server Error
    HttpSubStatus 19
    ErrorCode 2147942526
    ConfigExceptionInfo  
    Notification SEND_RESPONSE
    ErrorCode The specified module could not be found. (0x8007007e)

    Any help is greatly appreciated.

  • 10-30-2009, 2:18 AM In reply to

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

    Re: Enable 32-bit stops the app pool

    Please see http://forums.iis.net/t/1149768.aspx - also, you will need to add a preCondition="bitness64" to the modules section entry for the rpc/http module - and also if you care about rpc/http working, you would need to move the /rpc and /rpcwithcert applications to another app-pool running in native 64-bit mode.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-30-2009, 11:16 PM In reply to

    • Sean Z
    • Not Ranked
    • Joined on 10-28-2009, 7:24 PM
    • Posts 3

    Re: Enable 32-bit stops the app pool

    Thanks Anil. The website is working after the compression schemes are disabled. However, I can not locate rpc/http module in ApplicationHost.config file. Does it matter?

    Sean

  • 10-31-2009, 2:03 AM In reply to

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

    Re: Enable 32-bit stops the app pool

    It only matters if you care about rpc/http working - note that stuff like TS gateway and exchange depend on rpc/http.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (14 items)
Microsoft Communities