B
B
BadCats2017-06-09 17:44:37
ASP.NET
BadCats, 2017-06-09 17:44:37

MVC ASP.NET - HTTP Error 404.7 and missing applicationHost.configі file?

Hello everyone, this error has occurred -
44720f4151484a90835a2a55e28fc381.JPG
Microsoft recommends fixing it as follows Solution from Microsoft
, but the problem is that along the path indicated in the article

%windir%\System32\inetsrv\config\applicationHost.config_

I don't have the \config folder, nor the applicationHost.configі file itself - which they suggest making salvific changes to solve the problem.
What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BadCats, 2017-06-09
@BadCats

Moved off the dead center - the following helped:

<security>
<requestFiltering>
   <fileExtensions allowUnlisted="true">
    <add fileExtension="." allowed="true" />
   <remove fileExtension=".cs" />
  </fileExtensions>
</requestFiltering>

- That is, I "stupidly" set filters for file extensions - removing them with remove and setting allowUnlisted="true" - the notorious instructions from Microsoft that I mentioned above - do not help, but only interfere. Now gives
HTTP Error 404.0 - Not Found

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question