Error
Explanation
The reason why you are getting this error is because you are using Visual Studio in debugger mode while having chrome debugging window already opened.
Solution
There are two ways to fix this error :
1- Close any previous opened chrome debugging windows. Or
2- Turn off JavaScript debugging in chrome like this :
Go to Tools > Options > Debugging > General and uncheck the
Enable JavaScript debugging for ASP.NET
(Chrome and IE)
option.