PME 8.0 Trends Error: "You are not authorized to view this application"
Issue:
Launching Trends in PME 8.0 results in the error “You are not authorized to view this application” when accessing the Web Applications using SSL (https://servername/Web).
Product Line:
Power Monitoring Expert 8.0
Environment:
Web Applications
Trends
SSL (HTTPS) enabled
Cause:
This issue is caused by a server certificate configuration mismatch. When SSL is enabled, the host values used by the Trends and Alarm Configuration web services must match the name specified in the SSL certificate. If they do not match, authorization fails and the Trends application does not load.
Resolution:
Warning
Take backups of any files before modifying them. Ensure backups are stored in a safe location (for example, the Desktop).
This issue occurs only when using SSL (https://servername/Web).
-
Workaround 1 Existing SSL certificate
Identify the SSL certificate
1-Open Internet Information Services (IIS) Manager.
2-Select the server name in the left pane.
3-Double‑click Server Certificates.
4-Locate the certificate in use and note the values under Issued To and Issued By.
Verify HTTPS binding
5-Expand Sites → Default Web Site.
6-Select Bindings in the Actions pane.
7-Select https and click Edit.
8-Verify the SSL certificate selected matches the one identified above.
Update Web.config host values
9-Edit the following files:
[drive]:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\Applications\Trends\Web.config
[drive]:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\Applications\AlarmConfiguration\Web.config
10-In Trends\Web.config, locate key="TrendsWebServiceHost" and update the value to match the certificate name noted earlier (typically the fully qualified computer name).
11-n AlarmConfiguration\Web.config, locate key="AlarmConfigurationHost" and update the value to the same certificate name.
12-Reset IIS.
-
Workaround 2 — Create and bind a self‑signed certificate
Create the certificate
1- Open IIS Manager.
2- Select the server name.
3- Double‑click Server Certificates.
4- Select Create Self‑Signed Certificate, specify a name, and click OK.
Bind the certificate
5- Expand Sites → Default Web Site.
6- Select Bindings.
7- Select https, click Edit, and choose the self‑signed certificate created above.
Update Web.config host values
8- Edit the following files:
[drive]:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\Applications\Trends\Web.config
[drive]:\Program Files (x86)\Schneider Electric\Power Monitoring Expert\Applications\AlarmConfiguration\Web.config
9- Update the values for:
TrendsWebServiceHost
AlarmConfigurationHost
Set both to the certificate name created earlier (typically the fully qualified computer name).
10- Reset IIS.
After completing either workaround, relaunch Trends using HTTPS and confirm the application loads successfully.
Recommendation:
If you are using an older version of PME, consider upgrading to the latest version for improved protocol support and security. For assistance with integration or upgrades, contact Schneider Electric Technical Support at: pmo.support@se.com