Recreate the default website in IIS

前端 未结 8 732
北荒
北荒 2020-12-02 09:46

I\'ve accidentally deleted the default website in IIS; It no longer shows up in the tree of IIS manager and browsing \"localhost\" returns a 404 error.

I\'ve re-inst

8条回答
  •  孤街浪徒
    2020-12-02 10:18

    Check out this answer on SuperUser:

    In short: Reinstall both IIS and WAS.

    In details -

    Step 1

    Go to "Add remove programs" "Turn windows features on or off" Remove both IIS and WAS (Windows Process Activation Service) Restart the PC Step 2

    Go to "Add remove programs" "Turn windows features on or off" Turn on both IIS and WAS (Windows Process Activation Service) Note: Reinstalling IIS alone won't help. You have to reinstall both IIS and WAS

    This approach fixed the problem for me.

提交回复
热议问题