Will reinstalling URL Rewrite module cause something to break

Meh 1 Reputation point
2020-11-23T03:21:36.31+00:00

Just recovered my VM from a fatal crash. Upon check IIS, the URL Rewrite module is no longer listed, but I've verified that the entries are still in the C:\Windows\System32\inetsrv\config\applicationHost.config file.

Will reinstalling the module have any undesirable effects?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,344 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sam Wu-MSFT 7,211 Reputation points Microsoft Vendor
    2020-11-23T08:10:57.223+00:00

    Hi @Meh ,

    Shouldn't the URL Rewrite rule be in your web.config file? you should check the web.config file in your project, not applicationhost.config.

    ApplicationHost.config is the root file of the configuration system when you are using IIS 7 and above. It includes definitions of all sites, applications, virtual directories and application pools, as well as global defaults for the web server settings.

    The location of web.config is C:\inetpub\wwwroot\web.config


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.