I installed Visual Studio 2017 Enterprise edition and when I am running my application getting the below error.
Turning off Silverlight debugging solved the problem for me.
Go to the web application's Properties. On the Web tab, turn off Silverlight.