Sometime your IIS setting may be corrupted. So you want to reset everything to factory settings.
Here are the steps:
1. In PowerShell, run these commands:
· Get-WindowsFeature
· Uninstall-WindowsFeature Web-Server
· Uninstall-WindowsFeature WAS
2. Using Server Manager: reinstall Web Server (IIS)
3. Open IIS Manager, the applicationhost.config file should be autogenerated.
No comments:
Post a Comment