Javascript Error on Preview

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
Rufus
Posts: 1
Joined: Sun Oct 27, 2013 5:07 pm

Javascript Error on Preview

Post by Rufus »

WeBuilder 2014 - V. 12.2 (12.2.0.150)
Windows 7

I have a one line javascript that goes to an external counter site. There are no problems when I open the page online or off-ine in with Firefox, Chrome or IE. But, when I try to peview my page in Webuild, using the IE Mode it hangs. I tried turning off my firewall and anti virus with the same results. The error that I get is 0x80070035, networkpath not found, \\log.sitemeter.com\log.

The java script that seems to hang:
<script type="text/javascript" language="JavaScript">var site="SiteName"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://sm2.sitemeter.com/js/counter.js?site=SiteName"></script>

Thank you...
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: Javascript Error on Preview

Post by Aivars »

The most likely reason for this is that the JavaScript file links to another file using //site.com/... URI. Because of Internet Explorer bug, IE will try to open file://site.com/... which maps to non-existing local network resources and freezes everything for a minute or so. I can only suggest avoid using //site.com/ style links if possible or use Chrome for previewing.
Blumentals Software Programmer
Post Reply