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
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..."
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.
I installed .Net core Hosting Bundle from https://dotnet.microsoft.com/download/dotnet-core/2.2 and it fixed.
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.
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
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.