Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
PME - Reports error when clicking Select Sources "An unexpected error has occurred"

Issue

When selecting sources or measurements in a report, it shows "An unexpected error has occurred".

Reports error

Checking the log under Settings tab > System > System Log shows the following error: "Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster."

Validation of viewstate MAC failed error

Product Line
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024

Environment

Reports


Resolution

1. On the PME server, open File Explorer and navigate to ...\Program Files (x86)\Schneider Electric\Power Monitoring Expert\Applications\SystemDataService

2. Make a copy of the existing web.config file and place it in a separate backup folder

3. Open the web.config file in Notepad, then deleted the below highlighted text:

Delete cookieSameSite="None" requireSSL="true"

4. Save the web.config file
5. Navigate to ...\Program Files (x86)\Schneider Electric\Power Monitoring Expert\web
6. Make a copy of the existing web.config file and place it in a separate backup folder
7. Open the web.config file in Notepad, then deleted the below highlighted text:

Delete cookieSameSite="None"

8. Save the web.config file
9. Open the Windows Start menu and search for "cmd", then right-click > Run as Administrator
10. Type "iisreset" (without the quotes) and press Enter to run the command
11. Open the Windows Start menu and search for "Services"
12. Restart the ION ApplicationModules Core Services Host Service

Schneider Electric South Africa

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and contact centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Terms and Conditions
  • Privacy Policy
  • Cookie Notice
  • Change your cookies settings