When I launched SQL 2017 configuration manager, I got the error below.
To fix the issue, I ran the following command in command prompt on the server.
mofcomp "%programfiles(x86)%\Microsoft SQL Server\140\Shared\sqlmgmproviderxpsp2up.mof"
I was able to open SQL server configuration manager.
Thank you for reading my blog!
Good Bye 2018...
Hello 2019..............
Thank you for visiting my blog. My site is intended to share information and knowledge with others as well as a reference site for me.
Friday, December 28, 2018
Creating Alias for SQL server
To Create an alias for SQL instance
Open SQL Server Configuration Manager
Go to both SQL Native Client branch on 32 and 64 bit. Please see screenshot below.
Right click on the right side of the window pane.
Alias Name : any name
Port No : 1433 (SQL default Port no)
Protocol : TCP/IP
Server : Fully qualified local server name(ex. server.domain.us.dom)
Next step is very important. We need to add the alias to DNS entry.
Please add the following SQL server alias to DNS entry alias/CName.
Alias Name : Newalias
Fully Qualified domain Name(FQDN)for target host : server.domain.us.dom
Fully Qualified domain Name(FQDN)for target host : server.domain.us.dom
After adding it to DNS entry, we will be able to connect to Alias using SSMS from our desktop or application.
Subscribe to:
Posts (Atom)
How to add a Database to AlwaysOn Availability Group with four different options
To add a database to an existing AlwaysOn availability group, MS has given us four options to choose from Automatic seeding Full database an...
-
Tempdb filled up last night and databases availability group are not accessible in secondary replica. After restarting a secondary SQL insta...
-
After changing a service account running SQL server, I get an error when I connect to SQL server from Management Studio from my laptop or ot...
-
I was working on a powershell script which tells me which node is AlwaysOn primary replica. We have 38 servers which participate in AlwaysOn...