Help
  • Explore Community Expore Community
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Explore Community Explore Community
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • EcoStruxure Asset Advisor
      • Gateways and Energy Servers
      • Metering & Power Quality
      • Protection & Control
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
    • EcoStruxure IT Help Center
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

Security Expert Data Sync Log Error 'Failed to GetTableSchema' and Server memory configuration

Building Automation Knowledge Base

Access this self-service resource 24/7 and post your questions or scroll through forums for answers on building automation.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Knowledge Center
  • Building Automation Knowledge Base
  • Security Expert Data Sync Log Error 'Failed to GetTableSchema' and Server memory configuration
Options
  • Article History
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close

Related Forums

  • Field Devices Forum

Previous Next
Contributors
  • RobertAndriolo
    RobertAndriolo
  • Alan_Wood
    Alan_Wood

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Article History
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
517 Views

Link copied. Please paste this link to share this article on your social media post.

Trying to translate this page to your language?
Select your language from the translate dropdown in the upper right. arrow
Translate to: English
  • (Français) French
  • (Deutsche) German
  • (Italiano) Italian
  • (Português) Portuguese
  • (Русский) Russian
  • (Español) Spanish

Security Expert Data Sync Log Error 'Failed to GetTableSchema' and Server memory configuration

Captain Alan_Wood Captain
‎2021-04-20 07:29 AM

Warning

Potential for Data Loss: The steps detailed in the resolution of this article may result in a loss of critical data if not performed properly. Before beginning these steps, make sure all important data is backed up in the event of data loss. If you are unsure or unfamiliar with any complex steps detailed in this article, please contact Product Support for assistance.

Issue

Security Expert Data Sync Service is randomly crashing and there is an error 'Failed to GetTableSchema' in the DSS Log

Product Line

Security Expert

Environment

  • Security Expert Application Server
  • Security Expert Data Sync Service
  • Microsoft Windows
  • IIS

Cause

Memory may be consumed by IIS over time and crashes data sync service once the total memory approaches Microsoft's 4 GB limitation for 32-bit applications.

DSS server memory consumed.png

Resolution

There are a few items that can be configured in Data Sync Service (DSS) and in IIS to manage memory consumption which will prevent application crashes and DSS from not importing .csv contents

  1. Removal of additional table references 
    Removal of these tables in the Settings.xml configuration file located in the C:\Program Files (x86)\Schneider  Electric\Data Sync Service will stop the Security Expert application event view errors from posting.
    Here is what is seen in the SX application event view.
    Each event will represent a different table.  The below example shows the Salto CalendarsSX app log table errors.png
    1. Make a backup copy of the settings.xml file
    2. Copy the settings.xml to a temp folder
    3. Edit the settings.xml in the temp folder using Notepad++ Admin mode and remove all unnecessary rows just below the <DataMapping> section.
      <RecordType238...
      <RecordType225...

      The example below removes all entries except *Users
      Before:
      SettingXMLNonSiteBefore.png
      After:
      SettingXMLNonSiteAfter.png
    4. Save the file
    5. Copy the settings.xml from the temp folder into the C:\Program Files (x86)\Schneider Electric\Data Sync Service  folder and select the Replace option (This ensures the older settings.xml file is overwritten)
    6. Close the DSS application and restart it.

      When the new settings.xml file is being used only *Users will have an asterisk in DSS.
      DSS User Only Mapping.png
      Also, as a result of this change, the errors in the SX application log will stop posting and no longer consume "extra" resources.
      Event Viewer errors gone.png
  2. Increase the IIS Worker Processes from 1 to 4
    1. Open IIS Manager
    2. Select Application Pools
    3. Select DefaultAppPool
    4. Select Advanced Settings
    5. Change the Worker Process from 1(default) to 2, 3 or 4
      (In at least one case, R&D recommended setting this to 4 in order to spread the processes and memory out)
    6. Select Recycle in the right-hand pane
      IIS WorkerProcesses.png
  3. Recycling Condition Workers
    IIS by default sets application pool(s) to recycle after an interval of 29 hours (1740 minutes).
    This can cause issues when using in-memory sessions.
    Example: DSS application crashing about every 28 hours. Memory was being accumulated over such a long period without being recycled. Recycling every 8 hours reduces the time the memory accumulates. This setting is like a  Windows reboot, but specific to an application pool.
    1. Open IIS
    2. Go to Application Pools, select DefaultAppPool. In the right-hand pane select Recycling.
    3. Change Regular time intervals (in minutes) from 1740(29 hours) to 480 (8 hours)
    4. Click Next, Finish
    5. Select Recycle

Summary:

Making these changes will reduce the memory consumption that increases over time for the Data Sync Service application and prevent crashing of the application.

MemGraphAfterIISChanges.png

Labels (1)
Labels:
  • EcoStruxure Security Expert
Tags (1)
  • Find more articles tagged with:
  • AlanWood21
Was this article helpful? Yes No
No ratings

Link copied. Please paste this link to share this article on your social media post.

To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc