When running a Web application via visual studio I’ve just started getting a javascript error.
Below is the code it is trying to run
{
var _alreadyRunned = false;
setTimeout(function _watcherReady() {
if (window.document.readyState === “complete” && !_alreadyRunned) {
avastBHO.SERPWatcherOnReadyState();
_alreadyRunned = true;
} else {
timer = setTimeout(_watcherReady, 1000);
}
}, 1000);
};
I have tried switching off Avast, but I get the same error.
Eddy
July 7, 2014, 1:32pm
2
(re)install the vb2008 C++ and the vb2010 C++ runtimes and see if that solves the problem.
Is it possible an error that exists whether or not Avast is on task might not have anything to do with Avast?
-Noel
Should have clarified it’s an IE problem only, when debugging the site in Firefox no problem. IE 11.0.9600.17126
Noel C - It’s Avast Code coming up in the debugger.
It’s not a show stopper more a pain in the rear.
Eddy
July 8, 2014, 10:34am
5
Have you searched the MSDN network?
It may have info about it.
I have disabled the avast add-on for IE and the problem has gone away.
system
July 11, 2014, 3:48pm
7
I also had this exact situation using VS 2013 Update 2. I built a brand new MVC4 App and pressed F5 and the debugger stopped at that exact line. I also disabled the Avase add-in and the debugger no longer stopped there.
Please can you confirm what error you get?
Is there some URl where we can try to reproduce the issue?
Thanks