Ask a Question

Video: Configure PME web application to work over HTTP with a custom (non standard) port. Not able to login in PME web application (without SSL considerations)

Issue
User is attempting to log in to PME 8.x web applications using the correct user name and password over HTTP with a custom port, but not able to login.

Product Line
Power Monitoring Expert 8.x
Power Monitoring Expert 9.0

Environment
Web Applications

Cause
In PME 8.x and PME 9.0, the default port for hosting web application is HTTP, however if user uses custom port number the same must be configured in PME database for successful processing of web request.

Resolution

This is only applicable post-PME installation.

PME can be hosted on a separate port than the default port 80. The following sections describe the required configuration changes. IIS Configuration

Add a new http binding for the desired port, or edit the existing default port 80 binding.

PME ConfigurationApplication Modules Database update

Open SQL Server Management Studio and connect to the PME SQL server.

Navigate to Databases -> ApplicationModules -> Views

Right-click on Configuration.ConfigurationSettings and select Edit Top 200 Rows

Find the entry in the result set with the following values:

ItemType = Web FrameworkItem = ServerKey = LocalServerAddress

Update the Value column to include your new port.

Only perform step 7 & 8 for PME 9.0 and above

Find the entry in the result set with the following values

ItemType =Web Framework

Item =Server

Key =IsSecureConnectionRequired

Update the Value column to be false

Example: assuming the new port is 8081, then the correct value would be: http://localhost:8081/ OR http://SERVERNAME:8081/ION_Network Database update

Open SQL Server Management Studio and connect to the PME SQL server.

Navigate to Databases -> ION_Network -> Views

Right-click on dbo.vCFG_ConfigItems and select Edit Top 200 Rows

Find the entry in the result set with the following values:

Module = ReportingCategory = General SettingsItem = WebServiceUrl

Update the Value column to include your new port.​ Example: assuming the new port is 8081, then the correct value would be: http://localhost:8081/ionreportdataservice/ReportDataService.asmx OR http://SERVERNAME:8081/ionreportdataservice/ReportDataService.asmx

Open Windows Command prompt and run iisreset

Open the Windows Services console and restart the following service: Application Modules CoreServicesHost