How to Resolve WinCC Web Publishing Wizard Errors and Update Outdated WebNavigator Graphics
In SIMATIC PCS 7 WinCC WebNavigator, Web Publishing Wizard errors or published graphics failing to update on remote web clients are caused by file locking from active Internet Information Services (IIS) worker processes (w3wp.exe) or corrupted caching in the published web directory. The Web Publishing Wizard compresses and converts WinCC process pictures into web-compliant formats; if existing published files are locked by connected clients, the wizard silently skips or aborts the publication. Stopping the WebNavigator website, clearing the published pictures directory, and re-running the Web Publishing Wizard resolves the fault.
Table of Contents
- Architecture of WinCC Web Publishing and Graphic Conversion
- Root Cause Analysis for Publishing Wizard Aborts and Stale Graphics
- Step-by-Step Web Publishing Recovery Procedure
- WebNavigator Component and Diagnostic Log Reference Matrix
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Architecture of WinCC Web Publishing and Graphic Conversion
SIMATIC WinCC WebNavigator enables thin-client operator visualization across local intranets and plant networks using standard web browsers (such as Internet Explorer with ActiveX controls or WinCCViewerRT).
Unlike standard OS Clients that open native .pdl graphic pictures directly from the OS Server share, WebNavigator clients require process graphics to be pre-processed into optimized web-compatible formats:
1. The Web Publishing Wizard: An engineering tool executed in WinCC Explorer that parses native .pdl pictures, scripts, and referenced graphic resources (.bmp, .png, .jpg, .emf).
2. Compression and Staging: The wizard generates compressed data streams, extracts dynamic tag linkages, and stages the published assets in the web server publication directory (typically <Project_Folder>\Web\Pictures or <Project_Folder>\WebNavigator\Graphics).
3. IIS Delivery: Microsoft Internet Information Services (IIS) hosts the WebNavigator application pool, serving published pages to authenticated thin clients.
Root Cause Analysis for Publishing Wizard Aborts and Stale Graphics
When modifying process pictures on the Engineering Station or OS Server, engineers frequently run the Web Publishing Wizard, only to discover that the wizard halts with an error, or remote web clients continue rendering obsolete, outdated graphics.
Underlying Causes
- File Locking by Active IIS Worker Threads: When operators are actively viewing graphics on WebNavigator clients, the IIS worker process (
w3wp.exe) maintains shared file read locks on the published files in the web root. When the Web Publishing Wizard attempts to overwrite a modified picture, Windows denies write access, causing the wizard to abort or skip the file. - Corrupted Publishing Cache: If a previous publishing session was cancelled midway or encountered an unhandled exception, temporary
.tmpfiles and orphaned registry pointers remain in the web directory, preventing the wizard from completing contiguous compilations. - Non-Web-Compliant Graphic Objects: Custom third-party ActiveX controls, Windows Forms components, or nested complex grouped shapes that are unsupported by the WebNavigator client engine can cause the conversion parser to crash.
Step-by-Step Web Publishing Recovery Procedure
To resolve publishing errors and force a clean, complete regeneration of all web graphics:
Step 1: Temporarily Halt WebNavigator IIS Services
- On the WebNavigator Server (OS Server or dedicated Web Server), open Windows Command Prompt as Administrator.
- Stop IIS services to release all file locks held by connected web clients:
cmd iisreset /stop - Open Windows Task Manager; confirm that
w3wp.exeis completely terminated.
Step 2: Purge the Published Graphics Directory
- Open Windows Explorer and navigate to the WinCC project directory.
- Locate the WebNavigator publication directory:
<Project_Directory>\WebNavigator\Pictures(or<Project_Directory>\Web\Pictures). - Delete all files inside the
Picturesfolder (or move them to a temporary backup directory).
(Note: Do not delete the native projectGraCSdirectory; only clear the published web cache folder).
Step 3: Execute the WinCC Web Publishing Wizard
- Open the WinCC project in WinCC Explorer.
- In the navigation pane, right-click Web Navigator and select Web Publishing Wizard (or launch from Tools).
- In the wizard dialog:
* Select Publish pictures and scripts.
* Under Picture Selection, select All pictures (or specifically select the modified pictures).
* Ensure that 'Save pictures in compressed format' is checked. - Click Start. The wizard will compile each
.pdlcleanly into the empty directory without file-lock collisions.
Step 4: Restart IIS and Reconnect Web Clients
- In the administrative command prompt, restart IIS:
cmd iisreset /start - On the WebNavigator client machine, clear the browser cache or delete temporary Internet files to ensure the client downloads the newly published assets.
WebNavigator Component and Diagnostic Log Reference Matrix
The following table outlines the diagnostic files and service components associated with WinCC WebNavigator publishing:
Web Publishing Wizard.pdl to web format<Project>\WebNavigator\Picturesw3wp.exeiisresetWebNavigator.logSiemens\WinCC\DiagnoseC:\Users\<User>\AppData\Local\TempMaintaining clean publication folders ensures 100% reliable graphic synchronization across remote clients.
Verification
To verify that web publishing was successful:
1. Confirm that the Web Publishing Wizard completes with the message: 'Web Publishing Wizard completed successfully. 0 Errors'.
2. Open Windows Explorer and verify that the <Project>\WebNavigator\Pictures directory is populated with freshly dated converted files.
3. Launch WinCCViewerRT or Internet Explorer on a remote WebNavigator client.
4. Log on and navigate to the newly published process picture.
5. Confirm that all graphical modifications, newly added block icons, and dynamic analog values update in real time without rendering artifacts.
Limitations and Operational Precautions
- Halting IIS via
iisreset /stoptemporarily disconnects all active remote web operators; execute publishing during low-activity operating windows. - Never publish graphics directly across a slow WAN connection; always run the Web Publishing Wizard locally on the WebNavigator server.
- Ensure all custom fonts used in process pictures are installed on the WebNavigator client workstations to prevent text overlapping.
- Verify that user process pictures do not exceed 1920x824 pixels to avoid horizontal and vertical scrollbars on standard thin-client displays.
Engineer FAQ
Why do web clients show old pictures even after the publishing wizard finished?
Web clients cache downloaded graphic files locally in Internet Explorer temporary files or WinCCViewerRT cache. Clearing the client browser cache forces a fresh download from the server.
Can I publish a single modified picture without publishing the entire project?
Yes. In the Web Publishing Wizard, select 'Select pictures' instead of 'All pictures', and choose only the modified .pdl files to save publishing time.
What does the error 'Picture cannot be converted' indicate during publishing?
This error occurs when a .pdl contains unsupported third-party OCX controls, corrupted grouped objects, or when the picture file itself is locked by Graphics Designer.
Technical References
- SIMATIC WinCC WebNavigator System Manual
- SIMATIC PCS 7 Web Option for OS Manual
- Siemens Industry Online Support FAQ: Troubleshooting WinCC Web Publishing Failures
Related Articles
- How to Prevent Unwanted Scroll Bars and Fix Picture Dimension Mismatches in PCS 7 WinCC Runtime
- How to Automate Block Icon Positioning Across Replicated Process Pictures in PCS 7
- How to Resolve WinCC OS Client Runtime Error 'This Station Has an Inoperable Status' in PCS 7
Related Tags
- WebNavigator
- Web_Publishing_Wizard
- IIS
- Graphics_Designer
- Thin_Client