Author Topic: Visual Studio 2008 Web application javascript error  (Read 5080 times)

0 Members and 1 Guest are viewing this topic.

Offline amvillani

  • Newbie
  • *
  • Posts: 3
Visual Studio 2008 Web application javascript error
« 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.

Offline Eddy

  • Avast Evangelist
  • Maybe Bot
  • ***
  • Posts: 31303
  • Watching (over?) you
    • Malware removal, Biljart and other things.
Re: Visual Studio 2008 Web application javascript error
« Reply #1 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.

Offline NoelC

  • Poster
  • *
  • Posts: 569
Re: Visual Studio 2008 Web application javascript error
« Reply #2 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

Offline amvillani

  • Newbie
  • *
  • Posts: 3
Re: Visual Studio 2008 Web application javascript error
« Reply #3 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.

Offline Eddy

  • Avast Evangelist
  • Maybe Bot
  • ***
  • Posts: 31303
  • Watching (over?) you
    • Malware removal, Biljart and other things.
Re: Visual Studio 2008 Web application javascript error
« Reply #4 on: July 08, 2014, 12:34:57 PM »
Have you searched the MSDN network?
It may have info about it.

Offline amvillani

  • Newbie
  • *
  • Posts: 3
Re: Visual Studio 2008 Web application javascript error
« Reply #5 on: July 08, 2014, 10:30:34 PM »
I have disabled the avast add-on for IE and the problem has gone away.

Offline Chiliyago

  • Newbie
  • *
  • Posts: 2
Re: Visual Studio 2008 Web application javascript error
« Reply #6 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.

Offline havelkam

  • Avast team
  • Newbie
  • *
  • Posts: 2
Re: Visual Studio 2008 Web application javascript error
« Reply #7 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