Go to playground home.

Requirements

Active Content only works in AWRDE version 13.0 and above.

Troubleshooting

Here are some things to check if you are having trouble getting Active Content to work

By default Active Content uses listens on TCP port 8080. If you have any other software listening on this port (such as LabVIEW) the active content server will not be able to starts. If you already know this is the case, go to Cannot connect with port 8080 below and follow the instructions to find an available port. If you are unsure about a port conflict follow the First Steps below. Also, local active content (on your computer) does not work with Internet Explorer. IE does not allow the port to be set. Please use Firefox or Chrome.

First Steps

  1. Make sure only one copy of AWRDE is running and (in v13.01+) that Guided Help is enabled.
  2. Click this link (replace 8080 with the port number set in MWO if you have changed it): http://localhost:8080
    1. If you get a page that says "You are now connected MWOffice and can load your Guided Help page" proceed to the Verify Connection section below.
    2. If you get an error message then the Active Content server was not able to start proceed to the Active content server unable to start section in "Errors" below.

Errors

Active content server unable to start

The browser is not able to connect to the guided help server. Open the Task Manager and verify that the process ScriptingEnv.exe is running.

  1. If ScriptingEnv.exe (May show up in Task Manager as AWR Scripting Environment) is running please contact AWR for additional help.
  2. If ScriptingEnv.exe is not running, it is possible you have a port conflict. Continue to the Cannot connect with port 8080 section below.

Cannot connect with port 8080

It is possible that you have other software using the 8080 port which is preventing ScriptingEnv.exe from starting up. To test for this you need to open an Administrator Command Prompt and run the following command:

c:\> netstat -abno > netstat.txt

  1. Open the netstat.txt file in the folder in which the netstat command was run and look for: TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING which indicates that the port is being used. The next line shows what program is using the port.
  2. If the port is being used go to Setting the Active Content Port below.
  3. If the port is not being used contact AWR for additional help.

Setting the Active Content Port

Setting the port involves setting an unused port in both AWRDE and in your browser. You should look for an unused port out of the following: 8000, 8008, 8081 or follow the steps in the Cannot connect with port 8080 section above to find an available port.

Note: Browser history/cache must be enabled to use non-default ports.

Set the port in AWRDE

  1. In AWRDE, go to Scripts > Configuration> Change_Port_Number
  2. Enter the port in the dialog and press OK
  3. Restart AWRDE

Set the port in your browser

Your port number is currently set to: nnnn

Enter your desired port number here:

Test the new port setting

Test the new port by starting over with the First Steps above

Verify Connection

If you believe the connection to MWOffice is set up correctly, meaning you get the "You are now connected to MWOffice and can load your Guided Help page" message, press the button below to verify.

  1. If a new project is created and a schematic called Guided Help Works is added then you are all set.
  2. If no schematic is created and no error is displayed, please contact AWR for additional help.