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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Security Expert Invalid Database Server

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
  • Security Expert Invalid Database Server
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
  • Alan_Wood
    Alan_Wood
  • RandyDavis
    RandyDavis

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
2057 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 Invalid Database Server

Admiral Alan_Wood Admiral
‎2022-07-07 05:56 AM

Issue

When trying to create or update a Security Expert database the error 'Invalid Database Server is displayed

Invalid Database Server Error.png

Product Line

EcoStruxure Security Expert 

Environment

  • EcoStruxure Security Expert 
  • Microsoft SQL Server

Cause

The path to the SQL Server from the Client is incorrect or inaccessible and will not resolve

Resolution

There are a number of resolutions to this issue depending on the cause. This article mainly focuses on a configuration where the Security Expert and Microsoft SQL Server are on separate PCs. The error can happen locally also but is less likely. One or more of these resolutions may be required to fix the issue.

1. The Server / Instance name is incorrect when typing it into the Database Server dialogue box during installation.

(Local SQL Server) Default Database Server Dialog Box 

Default Database Dialog.png

 

There can be some confusion on what to enter into the dialogue box because, by default, the instance name and the main database name are the same.

Ex. Server Name\Instance Name    Database

      localhost\SecurityExpert            Security Expert

 

(Remote SQL Server)
Ex. Server Name\Instance Name    Database
      SVR19SQL19\SecurityExpert     Security Expert

Remote Server Database Dialog.png

Note: If just the ServerName SVR19SQL19 or SVR19SQL19\SecurityExpert\Security Expert

The Invalid Database Server error would occur

 

Copy and Paste the Server and Instance Names using SQL Management Studio (SMSS)

This method can help to avoid typing errors

Install SMSS on the same PC that has Security Expert Installed or use SMSS on the SQL server with Remote Desktop

From the Connect to Server dialog> Server name, select <browse for more...>

Select Network Server and then select the remote SQL server and click OK

Right Click> Copy on the blue highlighted server name and instance

Paste into the Security Expert Database Server Dialog box

SQLMgtInstance-DB-Copy.png

 

For a detailed description of Instanced and Database, click on the following link

Microsoft Database and Instance Article 
Note: Try using the IP address instead of the SQL server name.

2. Make sure SQL Server Service is running on the remote SQL server

3. If using a named instance, make sure the SQL Server Browser Service is running on the remote SQL Server

4. Ensure Firewalls have an open port for SQL server (default 1433)

5. Make sure the SQL Server is configured to allow remote connections

RemoteConnections.png

6. The Windows account being used to do the Security Expert Installation must have access to create the database on the remote SQL Server. 

7. Check the Windows Application and System logs on the Security Expert and SQL Server for errors related to the Security Expert Install, DNS or Connection errors

8. Examine the SQL Server Log for error messages
  Ex. If Active Directory is being used, the error “The SQL Server Network Interface library could not register the       Service Principal Name (SPN)”

SQL Log SPN Error.png

This issue can be fixed by giving the domain account the appropriate permissions in Active Directory.

Permissions required are:

 ServicePrincipalName: Read

 ServicePrincipalName: Write

 

Log in to the server running your Active Directory service and execute the following steps:

  1. Run Adsiedit.msc
  2. In the ADSI Edit snap-in, expand Domain [YourDomainName], expand DC= RootDomainName, expand CN=Users, right-click CN= [YourAccountName, and then click Properties.
  3. In the CN= AccountName Properties dialog box, click the Security tab.
  4. On the Security tab, click Advanced.
  5. In the Advanced Security Settings dialog box, select one (any) of "SELF"'s row
  6. Click Edit, Open Permission Entry dialog box.
  7. Make sure the Principal is "SELF", Type is "Allow" and "Applied to" is "This Object Only", in the Properties section, select the properties below:
    1. Read servicePrincipalName
    2. Write servicePrincipalName

Click OK to apply all changes and exit the ADSI Edit snap-in

Finally, you need to restart the SQL Service(s) that use the account in question.

 

9. If you are still unable to get passed the "Invalid Database Server' error, please open a case with Technical Support.

Labels (1)
Labels:
  • EcoStruxure Security Expert
Tags (4)
  • Find more articles tagged with:
  • AlanWood22
  • AlanWood23
  • Invalid database server
  • security expert
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