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

Common Causes of ViewX Failing to Connect to a ClearSCADA Server

Geo SCADA Knowledge Base

Access vast amounts of technical know-how and pro tips from our community of Geo SCADA experts.

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
  • Geo SCADA Knowledge Base
  • Common Causes of ViewX Failing to Connect to a ClearSCADA Server
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
Top Labels
Top Labels
  • Alphabetical
  • database 32
  • Web Server and Client 31
  • WebX 19
  • Request Form 18
  • Lists, Events & Alarms 16
  • ViewX 15
  • Application Programming 12
  • Setup 12
  • Telemetry 8
  • Events & Alarms 7
  • Lists 7
  • Mimic Graphics 7
  • Downloads 6
  • Support 5
  • IoT 5
  • SCADA 5
  • Geo SCADA Expert 5
  • Drivers and Communications 4
  • Security 4
  • DNP 3 3
  • IEC 61131-3 Logic 3
  • Trends and Historian 2
  • Virtual ViewX 2
  • Geo Scada 1
  • ClearSCADA 1
  • Templates and Instances 1
  • Releases 1
  • Maps and GIS 1
  • Mobile 1
  • Architectures 1
  • Tools & Resources 1
  • Privacy Policy 1
  • OPC-UA 1
  • Previous
  • 1 of 4
  • Next
Latest Blog Posts
  • OPC UA - Driver and Server
  • Requirements for Generating a Valid OPC UA Server Certificate
  • Load Events Using LoadRecord and LoadRecords
  • Geo SCADA Embedded Component Licenses
  • Geo SCADA 2023 Known Issues
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Anonymous user
Not applicable
‎2021-06-09 06:05 PM
0 Likes
0
2564
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content

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

‎2021-06-09 06:05 PM

Common Causes of ViewX Failing to Connect to a ClearSCADA Server

Originally published on Geo SCADA Knowledge Base by Anonymous user | June 10, 2021 03:05 AM

📖 Home  Back  

Causes of ViewX Failing to Connect to a ClearSCADA Server

ViewX can fail to connect to a ClearSCADA server for a number of reasons. This page lists some of the common problems seen and some ways to fix the problem where possible.

Possible Problems

Server Offline

ClearSCADA can shut down on its own, either due to licensing or some logic running within the database. Typically this will catch people out when the client and server are on different machines but it is often a simple thing to check which might save some effort

Server is Frozen or Deadlocked

It does happen, albeit rare, that either the server is so overwhelmed with point data or logic that it cannot process any client requests that it appears offline yet the DBServer.exe process is running on the server; or a deadlock (very rare) has occurred within the database. In the case of a deadlock there isn't much you can do (refer to What To Do If DBServer Freezes Indefinitely for help in this scenario). If the server is under heavy load the system should be investigated to see what the root problem is and how this can be resolved. Clients may connect and disconnect, or just behave really slowly, if the server is overloaded.

Server is Firewalled, Behind a NAT or an IPS is Active

Quite simply ViewX is trying to connect to the server however something external is blocking it. Often this is in the realm of IT departments and not directly under the control of the people that are affected. Tools such as telnet from the client to TCP port 5481 (or tools such as nmap if company policy allows) can be used to help investigate possible causes.

With a NAT, port forwarding should be configured to allow ViewX to connect.

Client is Firewalled, Behind a NAT or an IPS is Active

ViewX uses a listening TCP port, by default in the range 5500 to 5509, to allow the server to push updates through, however if this connection is blocked then the client will never connect. In this case some other clients such as ODBC clients and QueryPad, and users of Server Status/Server Configuration may be able to connect successfully.

For host-based firewalls ensure that the connection used to the server are configured in the right network zone (e.g. domain, private or public for Microsoft's implementation) for the configured firewall rules.

Within ViewX this cause is typically characterised as the system not showing failed within a second or two of connecting. Instead the system icon in the sidebar is slightly transparent for approximately 20 seconds and then finally shows as the solid failed icon indication.

With a NAT, port forwarding should be configured to allow ViewX to connect.

Duplicate Workstation Names

Workstation names allow for alarms to be assigned to a specific workstation however only one workstation with that name can be connected to the system at a time. For non-Citrix clients this is generally not a problem unless someone has made a configuration error with the client setups, however with Citrix or general servers where multiple users can log in to the same machine and run ViewX, having a workstation name and using only the default Systems.XML file will only allow one user to connect to a system.

Workstation names should not be used on any machine where more than one Windows user can log into the operating system concurrently. If you wish to do this you must use custom Systems.XML files for each user each with a unique workstation name.

Should there be duplicate workstations then an event will be recorded within the ClearSCADA system against the root group.

No Licence

For a ViewX session to connect then there must be an available client-side licence or a floating licence on the server. If neither are available then ViewX will not connect. Be aware that if you run a server on a machine then the licences for that server may also include client-side licences. To configure up where the client-side licences are read from using the Licence button in the Configure Connections dialogue.

Version Mismatch

Some versions of ViewX cannot talk to some versions of the database. Check the ClearSCADA Version Compatibility Matrix page for any possible compatibility problems.

Logging

The logging within ClearSCADA can be used to help track down the cause. Typically the following logging options are recommended to be enabled and the resultant logging investigated to help find the cause:

  • DBClient logging from the client (HKEY_CURRENT_USER\Software\Schneider Electric\ClearSCADA\DBClientNamed)
  • ViewX logging from the client (HKEY_CURRENT_USER\Software\Schneider Electric\ClearSCADA\ViewX)
  • DB logging on the server (HKEY_LOCAL_MACHINE\SOFTWARE\Schneider Electric\ClearSCADA\DB or using the Server Config tool)

Note that in some case, e.g. the lack of any logging showing a connection within DB logs, might be all that the log files may provide.

Go: Home Back

Labels:
  • Setup

  • ViewX

Author

Biography

Anonymous user

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

  • Back to Blog
  • Newer Article
  • Older Article
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