Active Content only works in AWRDE version 13.0 and above.
Here are some things to check if you are having trouble getting Active Content to work:
- Force an update of cached files. This is typically Ctrl + F5. Recent changes (October 2020) will require new code to make active content to work.
- By default Active Content uses listens on TCP port 8080. If you have any other software listening on this port the active content server will not be able to starts. If you already know this is the case, go to Setting the Active Content Port, below.
To test for this:
- Make sure only one copy of AWRDE is running
- Make sure Guided Help is enabled from the Help > Enable Guided Help. The icon in the menu will show "light up" when it is enabled.
- Open the Web Browser
- In the address bar type: http://localhost:8080 (with 8080 replaced with the port number set in MWO if you have changed it)
- If you get a page that says "You are now connected MWOffice and can load your Guided Help page" proceed to step 2.
- If you get the error message "This page can’t be displayed" then the Active Content server was not able to start. Proceed to step 3.
Click the button below:
- If a dialog box opens saying guided help is connected, guided help is working.
- If a dialog box opens with suggestions about how to make guided help work, Proceed to step 3.
- if no dialog opens, contact Getting AWR Technical Support for additional help.
- The browser is not able to connect to the guided help server. Open the TaskManager and verify that the process ScriptingEnv.exe is running
- If ScriptingEnv.exe is running please contact AWR for additional help.
- If ScriptingEnv.exe is not running, it is possible you have a port conflict. Proceed to step 4.
- Can't connect to http://localhost:8080. It is possible that you have other software using the 8080 port which is preventing ScriptingEnv from starting up. To test for this you need to open an Administrator Command Prompt. Then from a command line you can run: c:\> netstat -abno. Then in the output look for: TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING which indicates that the port is being used. The line below it shows what program is using the port. If the port is being used you will need to change the Active Content port to get things to work.
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.
Note: Browser history/cache must be enabled to use non-default ports.
Set the port in AWRDE
- In AWRDE, go to Scripts > Configuration> Change_Port_Number
- Enter the port in the dialog and press OK
- Restart AWRDE
Set the port in your browser
The port is searched over various ports. See the bugging section below to see messages about what happened with the ports. You may at any time overwrite the ports to use using the page below.
Your port number is currently set to: nnnn
Enter your desired port number here: