asp.net Access Denied Handling

Published: 2018-07-13

```html

In the early hours of July 12, Microsoft released a routine patch update. After the server update, some Asp.net  websites encountered access denied, as shown below:

image.png


At present, our company has determined that the new patch is incompatible with the old Urewrite module. The 2 handling methods are as follows:

  1. Uninstall the updated patch. The patch is shown below (Recommended)

image.png



  2. Modify the website's web.config  file, and replace URewirte with the new version

        <system.webServer>
               <rewrite>
                   <rules>
                    </rules>
            </rewrite>
        </system.webServer>
    Replace with
    <add type="URLRewriter.ModuleRewriter, URLRewriter" name="ModuleRewriter"/>
      <RewriterConfig>
            <Rules>
                <RewriterRule>
                </RewriterRule>
            </Rules>
        </RewriterConfig> 
    and
    <rewrite url="^~/$" to="~/index.aspx" processing="stop" />


In addition, there is feedback that after updating patches with Microsoft FTP Service  issues such as FTP being unable to connect and restarting occur. Uninstall the following patches:

win2012 

wusa /uninstall /kb:4338830 /quiet /forcerestart

win2008

wusa /uninstall /kb:4338818 /quiet /forcerestart



```