Professional Geek
RSS icon Email icon Bullet (black)
  • JavaScript not running in Internet Explorer

    Posted on May 21st, 2009 AndyParkes No comments

    Got a phone call this morning from someone who was having problems logging into one of their supplier parts catalogues.

    They would enter their logon and details and would just get a blank page

    I added the site to the trusted zone and compared the IE settings with a PC that could logon ok (also proving it wasn’t the firewall blocking content or the website itself)

    Convinced it was IE to blame i downloaded Firefox Portable and the page displayed correctly

    After that we tried upgrading to IE8 (thinking maybe IE was damaged) but still no luck

    I then back to the beginning and did a “view source” on the blank page

    There was a small piece of JavaScript that basically redirected to the main parts catalogue after login

    Just to confirm this I opened my blog – there is some elements on this page that make use of javascript (bottom left hand corner – the “start” menu) and they didn’t work either

    I was going to re-install the scripting engine(available here) but I also found

    Register Windows Script Engine Fix it Live! – Microsoft Fix It Blog

    The “fix it” automatically checks and re-registers the script components

    Since i knew it was specifically javascript with the problem i did it manually

    regsvr32 C:\WINDOWS\system32\jscript.dll

     

    After I restarted IE the parts catalogue opened as expected as did the flashy bits on my blog :-)

    Leave a Reply