We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load [Answered]RSS

10 replies

Last post Aug 01, 2010 04:21 AM by Dani Avni

  • The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 07, 2009 06:38 PM|john_burrows|LINK

    HI

    I am just posting a solution which took me days to work out and is as usual such a simple fix WHICH I THINK should be fixed by Microsoft.  Thanks also to Anil Ruia for tips on how to fix this

    Scenario:

    64Bit IIS7 running a 32Bit application so Enable 32Bit is set to true on the application pool
    Also running as an exchange front end server and hence RPCProxy is loaded

    In this scenario you might get the errors

    In IE -
    "HTTP Error 503. The service is unavailable."

    In the event viewer-
    "The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load. The data is the error."
    and
    "Application pool 'xxxxxxxxx' is being automatically disabled due to a series of failures in the process(es) serving that application pool."

    Essentially the rpcpoxy is trying to load into the 32bit pool.  The question I have i guess is why is this dll trying to load in the first place.  It's not part of my application.  Anyway to fix this issue:

    Edit  c:\windows\system32\inetsrv\config\applicationhost.config

    In the section which has <globalmodules> add -  precondition="bitness64" to the rpcproxy line so that you have the following

    <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll" preCondition="bitness64" />

    Hope this helps others

  • Rovastar Rovastar

    5495 Posts

    MVP

    Moderator

    Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 08, 2009 08:08 PM|Rovastar|LINK

    Not that I have used it as it is an exchange thing but you asked why it was loaded. Here is the reason:

    http://technet.microsoft.com/en-us/library/bb124035(EXCHG.65).aspx

    Maybe there should be more info about it running under 32 bit here:

    http://technet.microsoft.com/en-us/library/aa996644(EXCHG.65).aspx

    But I see it as more of an exchange problem than IIS.

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 20, 2009 05:59 PM|tomf84|LINK

    Brilliant, just ran into this trying to get TS Gateway up and running on IIS7.

  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 20, 2009 06:11 PM|john_burrows|LINK

    Thanks for the links.  As i read them that explains why rpcproxy is on my machine which i already knew.  What i don't understand is why my application, which has nothing to do with outlook, is trying to load this dll.  Or did i miss something in the articles?

     Thanks

  • Rovastar Rovastar

    5495 Posts

    MVP

    Moderator

    Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 20, 2009 07:54 PM|Rovastar|LINK

    I can only imagine it (via Exchange) was installed at some point on your box. Another query here about rpcproxy was that they were running on Small Business Server so they had exchange and it installed this.

    To be honest I know little about it as I have not worked with it but they are the conculsion I would make initially. I also understand it is an ISAPI filter, do you have any references to any filter on your machine (server wide or any of the sites?). Any reference to it in your metabase?

    Troubleshoot IIS in style
    https://www.leansentry.com/
  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jan 20, 2009 09:48 PM|john_burrows|LINK

    Yes it's setup up on the box, it's supposed to be as it's an Exchange Front End server.  What i don't know is why it's loading up in my application.  Other applications on the same server require it so thats why it's there.  It's not in the list of handlers for my application so it's a bit confusing.  ANyway it all works fine now with the workaround i posted

     Thanks

     

  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Dec 06, 2009 03:44 PM|xFull|LINK

    After looking hours for a solution I found this http://support.citrix.com/article/CTX120153. Maybe it'll help someone.
  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jun 15, 2010 12:20 PM|david.roberts|LINK

    Good morning all,

    I know this is an older thread but I'm coming across this exact issue with a new SBS2008 server for one of my clients.  The time/attendance app they are installing has a Web services component and is a 32-bit application, so I enabled 32-bit compatibility on the app pool for that specific program.  Now I get 503 -Service unavailable errors and the RPCproxy.dll error which causes the app pool to shut down.  When I added the argument to the <globalmodules> "PasswordExpiryModule" as instructed above, I now get an error on the same application: 

     HTTP 500.19 - the worker process is unable to read the applicationhost.config file.  

     If I revert to the saved applicationHost.config, it goes right back to the RPCproxy.dll issue.

    I followed the syntax to the letter!  I don't understand why it would have trouble reading the applicationhost.config file after I added that line preventing the RPCproxy.dll file from being called....any help would be MUCH appreciated.  Thanks!

     

     

    -Dave Roberts

     

  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jun 15, 2010 03:58 PM|eddy99|LINK

    Im experiencing the same issues as Dave with the RPCproxy.dll error, any help would be appreciated

  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Jun 16, 2010 01:35 AM|Periander|LINK

    The fix worked for me, thank you so much.

     

    The format of mine looks as follows:

     

                <add name="PasswordExpiryModule" image="C:\Windows\system32\RpcProxy\RpcProxy.dll"
    preCondition="bitness64"  />
     

  • Re: The Module DLL C:\Windows\system32\RpcProxy\RpcProxy.dll failed to load

    Aug 01, 2010 04:21 AM|Dani Avni|LINK

    Dave,

    i had the same problem and after some digging i found this article

    http://www.m86security.com/kb/article.aspx?id=12671

    follow it and your site should be running

     

    Dani Avni