Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: REDACTED on July 07, 2014, 03:37:26 AM

Title: Visual Studio 2008 Web application javascript error
Post by: REDACTED on July 07, 2014, 03:37:26 AM
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.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: Eddy on July 07, 2014, 03:32:23 PM
(re)install the vb2008 C++ and the vb2010 C++ runtimes and see if that solves the problem.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: REDACTED on July 07, 2014, 03:40:18 PM
Is it possible an error that exists whether or not Avast is on task might not have anything to do with Avast?   :D

-Noel
Title: Re: Visual Studio 2008 Web application javascript error
Post by: REDACTED on July 07, 2014, 10:29:13 PM
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.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: Eddy on July 08, 2014, 12:34:57 PM
Have you searched the MSDN network?
It may have info about it.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: REDACTED on July 08, 2014, 10:30:34 PM
I have disabled the avast add-on for IE and the problem has gone away.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: REDACTED on July 11, 2014, 05:48:05 PM
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.
Title: Re: Visual Studio 2008 Web application javascript error
Post by: havelkam on July 25, 2014, 02:08:47 PM
Please can you confirm what error you get?

Is there some URl where we can try to reproduce the issue?

Thanks