Skip to main content
1-Visitor
May 1, 2017
Question

Script error in PTC Creo

  • May 1, 2017
  • 3 replies
  • 18111 views

We are having an issue with our PTC Creo 3.0. When you launch it, it gives an error about an unresponsive script. The link for the script is to LinkedIn. Is there anything that can be done about this? Sometimes it can cause the program to hang, so it is a bit of a pain.

    3 replies

    24-Ruby III
    May 2, 2017

    Hi,

    I guess that the problem is related to integrated browser. Add following option at the end of config.pro file to display blank page in the browser.

    web_browser_homepage about:blank

    MH

    jstaples1-VisitorAuthor
    1-Visitor
    May 3, 2017

    That did not make a difference.

    15-Moonstone
    May 5, 2017

    Try the config setting js_error_policy suppress_continue

    1-Visitor
    May 12, 2017

    Add the offending site to the hosts file.

    See https://support.rackspace.com/how-to/modify-your-hosts-file/

    Set the address to 0.0.0.0 and the website to dc.ads.linkedin.com

    This will cause the OS to direct any request for that website to the home (0.0.0.0) which is your computer. Since your computer doesn't know anything about it, there won't be any script to load in the first place, so no script error.

    I think this won't cause any other message to pop up. If you don't like the effect, edit the file again and remove the entry.

    See hosts (file) - Wikipedia

    You may need to have admin rights to  change the hosts file; this is to prevent malicious actors from doing it for you. Basically it acts like putting a different number in the speed-dial on a phone to call someone else.

    13-Aquamarine
    January 31, 2025

    Sharing an easy fix that worked for me.
    Lookout for the "Windows_browser_type" in config,
    by default this is set to : "ie_browser"
    Change this to : "Chromium_browser"
    Save this to your default config.pro

    Say goodbye to all the script errors once and for all!