What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

HTA console undefined error since 18.2

Votes:

0

We upgraded to 18.2.40.1683 recently. First PRTG upgrade in about 6 months.

Since the upgrade our PRTG MAPs do not want to display correctly on our wallboards which run a simple HTA html app to load the PRTG MAP's

Sample HTML code below saved as map.hta for a clean look on the wallboard.

When you load the map directly in a browser it works, when you load the map inside the HTA iframe since 18.2 it returns the "console" is undefined, char 9, line 48946.

Does anyone know how to resolve this console is undefined error, I assume this is a PRTG introduced error when running iframes or HTA's?

<!doctype html>
<html lang="en">
<head>
  <title>IT Live - Network Monitors</title>
  <meta name="description" content="Network Monitors">
    <meta http-equiv="x-ua-compatible" content="ie=9">
  <hta:application id="oNetMon" 
    applicationname="Nework-Monitors" 
    border="none"
    caption="no"
    icon="/graphics/creature.ico"
    showintaskbar="yes"
    singleinstance="yes"
    sysmenu="yes"
    windowstate="maximize">
</head>
<body>
<style>
	html { height:100%; width:100%; }
	body { position:absolute; top:0; bottom:0; right:0; left:0; background-color: black;} 
	iframe { height:100%; width:100%; frameborder:1}
</style>
<iframe src="https://prtg.hosted.com/public/mapshow.htm?id=2849&mapid=50B3456A7-AF6C-234E-8A04-A1234565" application="yes">
</iframe>
</body>
</html>

maps prtg website

Created on May 16, 2018 4:00:15 AM

Last change on May 29, 2018 6:04:51 AM by  Luciano Lingnau [Paessler]



1 Reply

Votes:

0

Hi.

I'm afraid that we do not have any guides to convert maps into HTA HTML Apps. Using iFrames is still possible in the latest release, they still work in pure HTML. As you mentioned a "clean look", I'd recommend to create a public map and to run the browser in full screen (F11) to avoid side effects caused by this application.

Best regards, Felix

Created on May 16, 2018 10:23:13 AM by  Felix Saure [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.