web analytics

Unable to start debugging on the web server. The remote server returned an error: (405) Method Not Allowed.

Options

codeling 1595 - 6639
@2019-08-07 00:39:41

popped up error message as "Unable to start debugging on the web server. The remote server returned an error: (405) Method Not Allowed." when running ASP.net web project on Microsoft visual studio 2017. This error is due to the IIS Installation and configuration on the machine.

To resolve the issue, need to update the IIS installation with some selected windows features as below mentioned in windows features pop up.

Steps to resolve unable to start debugging on the web server issue

  • Go to control panel on your windows machine.

  • Click on Programs link.

  • Click on Programs and Features link.

  • Click Turn Windows fetures on or off option link on left side of above mentioned window.

  • In Windows Features pop up window, Choose all the items related to web server and ASP.net under Internet Information Services.

    FTP Server

    Web Management Tools

    World wide web services

    Select Internet Information Services Hostable web core

  • Click on ok and proceed to update once selected above mentioned options on windows features pop up.

  • Once installed all the IIS windows features, reset the iis using iisreset command on command promt as administrator.

Comments

You must Sign In to comment on this topic.


© 2024 Digcode.com