Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

Failed to read events from the event log database

Building Automation Knowledge Base

Schneider Electric Building Automation Knowledge Base is a self-service resource to answer all your questions about EcoStruxure Building suite, Andover Continuum, Satchwell, TAC…

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
  • Failed to read events from the event log database
Options
  • 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

  • Intelligent Devices Forum

Previous Next
Contributors
  • Cody_Failinger
    Cody_Failinger
  • DavidFisher
    DavidFisher
  • Benji
    Benji
  • CraigEl
    CraigEl
  • SESA128463
    SESA128463
  • Product_Support
    Product_Support

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to Building Automation Knowledge Base
Options
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
0 Likes
4352 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

Failed to read events from the event log database

Picard Product_Support
‎2018-09-07 03:08 AM

Last Updated: Administrator CraigEl Administrator ‎2022-08-08 03:37 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 Services for assistance.

Issue

Failed to read events from the event log database.

failedtoread.png

Product Line

TAC Vista

Environment

TAC Vista Workstation

Cause

This error is sometimes displayed upon login to the TAC Vista Workstation. It indicates there is a problem with the connection between the Vista Server and the SQL database that stores event data.

Resolution

Before making any further tests, make sure you have MSXML 4.0 SP3 installed and then check if it works. It can be downloaded here: https://www.microsoft.com/en-us/download/confirmation.aspx?id=15697

The first thing to check is the SQL connection.

  1. Open the TAC Vista Server Setup
    1. In version 5.1.3 and prior: Start > Programs > TAC > TAC Vista Server X.X.X > Server Setup
    2. In version 5.1.4 and later: Start > Programs > Schneider Electric > TAC Vista Server X.X.X > Server Setup
  2. Go to the SQL Server tab
  3. In the lower right-hand corner of the tab, press the Test Connection button.
    1. If it pops up a window that says "Connection test succeeded!" then your SQL connection is okay.
    2. If it fails the connection test, check the instance name. If you are using default settings it should be:
      SQL Server name: PCname\TACVISTA or (local)\TACVISTA
      Log database name: taclogdata
    3. If these are set correctly and the connection still fails, one method for reestablishing the connection is to uninstall/reinstall the Vista software.

Make sure SQL Server Agent is running.

  1. Right-click on My Computer and select Manage
  2. Navigate to Computer Management (Local) > Services and Applications > Services
  3. Find SQL Server (TACVISTA) -- assuming the default SQL instance is being used.
  4. Make sure the service status is running.  Start the service if needed.

If there is no problem with the SQL connection, check the Server object's Network Master.

  1. In Vista Workstation, right-click on the Vista Server object and select Properties
  2. On the General tab, in the Network pane, check the Master: name
  3. In a one-server network, the Network Master must be set to the Server object name.

Check for queued files in the $queues folder

  1. Navigate in a Windows Explorer window to the Vista Database. (If you are unsure of the location, you can verify it in the TAC Vista Server Setup Vista Database tab).
  2. Go to the $queues folder
  3. Look inside the insertevents and insertlogvalues folders. Are they empty or are they consistently growing with files? This is where data is stored temporarily before it is written to the SQL database. Having queued files is not necessarily a sign of a problem. However, if there is a connection problem, these folders will continually grow in size without older queued files being written from the folder. In the case of the error "Failed to read events from the event log database", it is possible that a queued file is causing the error prompt and that deleting it will fix it.
  4. If the data is not of dire importance, delete all the files inside both of the $queues folder. For more information see An efficient method for deleting all queued files in the $queues folder.

Reconfigure the log database

  1. Open the TAC Vista Server Setup
    1. In version 5.1.3 and prior: Start > Programs > TAC > TAC Vista Server X.X.X > Server Setup
    2. In version 5.1.4 and later: Start > Programs > Schneider Electric > TAC Vista Server X.X.X > Server Setup
  2. Go to the SQL Server tab
  3. Change SQL configuration from Typical to Custom
  4. Change the Log database name
  5. Hit Apply. It will warn you: "TAC Vista integrated SQL backup/restore function will not be available in custom configuration." Hit OK.

    logdb1.png
  6. It will then warn you: "No log database was found on SQL Server. Create and configure a log database?" Hit Yes.

    logdb2.png

     

  7. At this point, if no backup features are necessary, and the error has cleared, this is a viable solution. It is not, however, recommended to maintain a site without any log backups. The next step would be to switch the Vista Server Setup SQL configuration back to Typical. Hit Apply. You will be warned: "Log database was found but needs to be reconfigured. Reconfigure log database?" Hit Yes.

    logdb3.png

     

  8. After reverting to typical SQL settings, the error should clear. If it has not, it may be time for some database management.

Performing Database Maintenance

  1. Follow the steps in the article Performing database maintenance with Vista 4.5.0  to set up a log and event backup and to clean up old data.
  2. Schedule a backup to occur (now or soon after)
  3. The next time you log into Vista Workstation, the error should be cleared.

If the error is sporadic, it could be the event viewer has too many events

If the error only occurs when logging in to Vista Workstation, and doesn't happen every time, it could be that too many events are being brought into the Event Viewer on login. All events specified in the filter for the event viewer are uploaded to the Workstation. If too many events are specified, problems occur.

  1. In Workstation, go to the root TAC Vista folder
  2. Right-click $Eventview and select properties
  3. Go to the Date and Time tab
  4. Set the Time period to Last 1 Hour(2) instead of Last 1 Week(s), which is default

Check the Windows Event Log

If all else fails, check the Windows Event log for more information about the error. Checking this may provide you with the answers you need, or at least give you more information to provide to Product Support if you need further assistance. Instructions available in Viewing, Saving, Sharing Windows Event Logs for Troubleshooting Purposes.

  1. Right-click on My Computer and select Manage
  2. Browse to Computer Management (local) > System Tools > Event Viewer > Application
  3. Look for Type Error events with Source Vista. This may help you determine the source of the error.
Labels (1)
Labels:
  • TAC Vista
Tags (1)
  • Find more articles tagged with:
  • 3906
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 board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - 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 © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of