IIS Application Pool Crashed: The Module DLL C:\Windows\system32\inetsrv\rewrite.dll failed to load.

After migration of your website (from ServerA to ServerB) to a new Webserver when you try to access the website you get “503 Error – Service Unavailable” Error on your website and IIS Management Console shows that application pool of the site is crashed or stopped. Even after you start the application pool of the site it is getting crashed when someone try to access website.

Event Viewer shows following error

The Module DLL C:\\Windows\\system32\\inetsrv\\rewrite.dll failed to load. The data is the error.

This error shows that the your site is trying to access IIS rewrite module which is not installed or configured on your New Server. If you check the IIS Roles and Features you will find that both the server(A & B) have same roles and features installed but still IIS of ServerB don’t have Rewrite module. To fix this problem you have to install IIS Rewrite modules separately. IIS URL Rewrite module enables Web administrators to create rules to implement URLs that are easier to remember and easier to find by the search engines. You can see more information about this module on IIS.NET site or you can directly download them using following URL:

After installation of the module don’t forget to restart IIS Web Server.

About: Mike

Milind Koyande loves to work on new technologies specially virtualization and troubleshoot server problems. I’m an avid photographer and love to spend my free time close to nature, trying to capture its glory on my camera.

4 thoughts on “IIS Application Pool Crashed: The Module DLL C:\Windows\system32\inetsrv\rewrite.dll failed to load.”

  1. I had this issue when going back to work on an older website on a new machine; the old website was developed on a WinXP Pro 32-bit machine several years ago, and my new machine runs Windows 8 64-bit.

    I had the rewrite.dll installed, but the App Pool “Enable 32-Bit Applications” was “true”; changing this to “false” to set the App Pool to 64-bit mode fixed the problem, in my case.

  2. I had the same issue. We found that the http-redirection feature was not installed. After installing, the problem was fixed.

    Sincerely, Patrik

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.