Unable to start debugging on the web server (IIS Error Code 405)



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

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.

asp.net unable to start debugging on the web server issue.

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

  • Go to control panel on your windows machine.

    programs in control panel on windows 10
  • Click on Programs link.

    programs and features in control panel
  • Click on Programs and Features link.

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

    Window features
  • 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

    Window features
  • 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.

    C:\Windows\system32>iisreset
    
    Attempting stop...
    Internet services successfully stopped
    Attempting start...
    Internet services successfully restarted
    
  • Try to run again the asp.net web application.


Tamil Daily Calendar (தினசரி தமிழ் காலண்டர்)

Tamil Daily Astrology (இன்றைய ராசிபலன்)

Privacy Policy  |  Copyright@2017 - All Rights Reserved.  |  Contact us   |  Report website issues in Github   |  Facebook page   |  Google+ page

Email Facebook Google LinkedIn Twitter
^