Skip to main content
Troubleshooting
PI Web API
Windows Server

Troubleshooting PI Web API Access on Windows Server 2012: The IE Enhanced Security Lesson

Learn how IE Enhanced Security Configuration on Windows Server 2012 can block access to PI Web API endpoints, and discover best practices for troubleshooting installation and browser compatibility issues.

Roshan Soni

4 min read

Troubleshooting PI Web API Access on Windows Server 2012: The IE Enhanced Security Lesson

When deploying OSIsoft's PI Web API, one of the first steps after installation is to verify that the service is running and accessible at the default endpoint, typically https://localhost/piwebapi. However, successfully starting the service doesn't always guarantee immediate access to the API, especially on systems with strict security settings such as Windows Server 2012.

Recently, a user named Kireet faced exactly this scenario. Despite following all documentation, verifying logs, and ensuring the service was active, attempts to load the PI Web API in a browser resulted in a blank or empty response. Only after in-depth troubleshooting and a review of server security settings did the solution become clear—Internet Explorer Enhanced Security Configuration (IE ESC) was blocking the content.

Common Troubleshooting Steps

When you encounter PI Web API access issues:

  1. Verify Service Status: Use the Services control panel to ensure "PI Web API" is running.
  2. Consult Documentation: The PI Web API Troubleshooting Guide offers a comprehensive checklist.
  3. Check Event Logs: Enable Analytic and Debug logs in Event Viewer under Applications and Services Logs>PI Web API. Look for errors or warnings around service startup and listening endpoints.
  4. Examine Port Bindings and Certificates:
    • Confirm appropriate SSL certificate bindings using netsh http show sslcert.
    • Verify firewall rules permit traffic on port 443 (HTTPS).
  5. Browser-specific Issues:
    • Try accessing the endpoint from a different browser or machine to rule out local browser issues.
    • Review browser security settings.

The Role of IE Enhanced Security Configuration

Windows Server installations often have IE Enhanced Security Configuration enabled by default. This feature restricts the ability of IE to access intranet and Internet sites, disables scripts, and restricts various content types. For developers and administrators, this can result in pages appearing blank, failing to load, or being non-functional, even if the back-end services are working perfectly.

Solution:

  • Disable IE Enhanced Security Configuration for administrators (and users if necessary) via Server Manager > Local Server > IE Enhanced Security Configuration. Alternatively, use a different browser like Edge or Chrome, which are unaffected by IE ESC.

Key Takeaways

  • When installing PI Web API on Windows Server, do not overlook browser and OS-level security features.
  • If troubleshooting turns up empty with logs and the service is running, check for IE ESC and similar browser restrictions.
  • Use the official troubleshooting guide and always try accessing the endpoint from multiple environments to isolate the problem.

An ounce of awareness around IE Enhanced Security can save hours of debugging and help you get your PI Web API deployment running smoothly!


Have you run into similar web API accessibility issues on secured servers? Share your experiences and solutions below!

Tags

#OSIsoft PI
#Troubleshooting
#PI Web API
#Windows Server 2012
#IE Enhanced Security
#Web API Access

About Roshan Soni

Expert in PI System implementation, industrial automation, and data management. Passionate about helping organizations maximize the value of their process data through innovative solutions and best practices.

Sign in to comment

Join the conversation by signing in to your account.

Comments (0)

No comments yet

Be the first to share your thoughts on this article.

Related Articles

Enhancing PI ProcessBook Trends with Banding and Zones: User Needs, Workarounds, and the Road Ahead

A look at the user demand for trend banding/zoning in OSIsoft PI ProcessBook, current VBA workarounds, UI challenges, and how future PI Vision releases aim to address these visualization needs.

Roshan Soni

Migrating PIAdvCalcFilVal Uptime Calculations from PI DataLink to PI OLEDB

Learn how to translate PI DataLink's PIAdvCalcFilVal advanced calculations—like counting uptime based on conditions—into efficient PI OLEDB SQL queries. Explore three practical approaches using PIAVG, PIINTERP, and PICOunt tables, and get tips for validation and accuracy.

Roshan Soni

Understanding PI Web API WebID Encoding: Can You Generate WebIDs Client-Side?

Curious about how PI Web API generates WebIDs and whether you can encode them client-side using GUIDs or paths? This article explores the encoding mechanisms, current documentation, and best practices for handling WebIDs in your applications.

Roshan Soni