To solve this issue take the following steps:
For Windows 10
- Open Control Panel > Programs & features
- In left side pane click Turn Windows Features on or off (A Windows features window will appear)
- Expand Internet Information Service > World Wide Web Services > Application Development Features. Then check ASP.NET 4.7 (or 4.6 whichever available). This will automatically check .NET Extensibility 4.7 (or 4.6 whichever applicable)
- Click OK (This will install and configure asp.net features for IIS)
- Refresh your page
- You should not see exception any more.
No comments:
Post a Comment