Technical FAQs

Ask a Question

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

Environment
Web Applications

Cause
In PME 8.x, 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 succefull 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
 

  1. Open IIS
  2. Right-click on the Sites -> Default Web Site, and select Edit Bindings...
  3. Add a new http binding for the desired port, or edit the existing default port 80 binding.
PME Configuration
Application Modules Database update
 
  1. Open SQL Server Management Studio and connect to the PME SQL server.
  2. Navigate to Databases -> ApplicationModules -> Views
  3. Right-click on Configuration.ConfigurationSettings and select Edit Top 200 Rows
  4. Find the entry in the result set with the following values:
ItemType = Web Framework
Item = Server
Key = LocalServerAddress
 
  1. 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/ OR http://SERVERNAME:8081/
ION_Network Database update
 
  1. Open SQL Server Management Studio and connect to the PME SQL server.
  2. Navigate to Databases -> ION_Network -> Views
  3. Right-click on dbo.vCFG_ConfigItems and select Edit Top 200 Rows
  4. Find the entry in the result set with the following values:
Module = Reporting
Category = General Settings
Item = WebServiceUrl
 
  1. 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
Default Web Application link update
 
  1. Open a Windows explorer window and navigate to: Desktop -> StruxureWare Power Monitoring Expert
  2. Right-click on Web Applications and select Properties
  3. Update the URL value with the updated url.
  4. Example: assuming the new port is 8081, then the correct value would be:  http://localhost:8081/Web OR http://SERVERNAME:8081/Web
Final Steps
 
  1. Open a windows Command window (cmd.exe) and run iisreset
  2. Open the windows Services console, and restart the following service: ApplicationModules CoreServicesHost
    1. Click Yes to restart ApplicationModules services
Was this helpful?
What can we do to improve the information ?