iisasp.net-web-api

There was an error while performing this operation" error when publishing an old ASP.NET web project on IIS


I'm trying to publish an old ASP.NET web project on IIS (Internet Information Services). However, when I click on Handler Mappings in IIS Manager, I receive the following error message:

SSL Settings

There was an error while performing this operation.

Details:

Filename: \?\C:\localhost_5011\web.config

Error:

I'm not sure if the issue is with the web.config file or an IIS configuration problem. I am unable to get the project to run properly.

Here's what I've tried so far:

Does anyone have suggestions on what I could try next to resolve this issue? Any help would be greatly appreciated.

I was hoping to successfully publish and run the web project on IIS without encountering this error. Specifically, I expected that the handler mappings and SSL settings would be properly configured so that the project would run smoothly.


Solution

  • Please try to install IIS URL Rewrite , it can help us fix the issue.

    Open the page and scroll down to the bottom, we can find the source links.

    enter image description here