“There was an error while performing this operation”

前端 未结 11 2116
不知归路
不知归路 2021-01-29 23:00

I have a website in IIS for which I cannot open any of the settings like Authentication, Handler Mappings, Authorization Rules etc. It just shows the error message \"There was a

11条回答
  •  灰色年华
    2021-01-29 23:30

    Similar to the marked solution here, I had the same problem and again it was a missing IIS module, but this time it was the Application Initialization Module that was required, not URLRewrite. installing via the Web Platform Installer or IIS.net. fixed the problem.

    Steps I took to debug this though was to section by section go through my web config removing each section and attempting to load the site and/or let IIS parse the config. When I removed the section pertaining to initialization optimisation this fixed the issue and I immediately remembered that this dependency was added a fair while ago.

    Echo the sentiments though that this really needs better error messages!!!

提交回复
热议问题