“There was an error while performing this operation”

前端 未结 11 2006
不知归路
不知归路 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:10

    It turned out the website was using URL rewrite module which i was missing.

    Downloaded web platform installer from MS and installed URL rewrite module.

    http://www.microsoft.com/web/downloads/platform.aspx

    Wish IIS errors were more informative than just "There was an error..."

    0 讨论(0)
  • It turned out the website was using URL rewrite module which i was missing.

    This wasn't my problem and it was. I already had URL Rewriter installed, but after a Windows 10 upgrade IIS wasn't aware of it. A simple repair on Control Panel => Programs and Features => IIS URL Rewrite Module 2 and it was working again.

    0 讨论(0)
  • 2021-01-29 23:11

    I installed .Net core Hosting Bundle from https://dotnet.microsoft.com/download/dotnet-core/2.2 and it fixed.

    0 讨论(0)
  • 2021-01-29 23:15

    I had this issue lately , the solution for me was installing : ASP.NET Core/.NET Core: Runtime & Hosting Bundle. You can find it here.

    Also before installing it , make sure your wwwroot security permissions is set to allow both iis_iusrs and iusr to have Read, Write and Execute permissions.

    0 讨论(0)
  • 2021-01-29 23:16

    works 100% ****check any urls are there inside <appSetting></appSetting>, try to comment these unknown urls

     <!-- <add key="ErrorLogWebApi" value="https://websitename.com/api" />-->
    

    and also comment <rewrite></rewrite> tag completely

    now you try

    0 讨论(0)
  • 2021-01-29 23:22
    1. I just double click on the Application that have the error and
    2. change the version of the .NET Framework and
    3. then change it back to the original version and
    4. recycled the App Pools.

    e.g.:

    The application has .NET Framework v4.0.30319 and I changed it to .NET Framework v2.0.50727 then the Status was turn into Stop, then I double click back and change to .NET Framework v4 and then right click recycle and recycled it.

    0 讨论(0)
提交回复
热议问题