Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Monday, August 6, 2018 11:32 AM
Hi,
For no clear reason my SSMS (version 17.8.1) began displaying the below error message when connected to my SQL Express 2014 server and attempting to expand any of the tabs in the object explorer. This was also accompanied by SSMS not automatically displaying the connection dialog on start-up of the programme, not sure if significant but a noted change.
I have searched extensively for fixes (see links to forum discussions below) and have tried the following:
-Reinstall of SSMS (incl back releases in case issue with 17.8.1) and SQL 2014
-Repair of above
-Reinstall of .NET and VisualStudio components
In the below forums and a few others I saw there is various mention of looking up the .dll file 'Microsoft.SqlServer.Management.SDK.SqlStudio' in given file paths. The specific versions of SQL/SSMS referred to in these discussions were different to mine but the files were always present in different locations to those specified. I found no complete discussion of successful fixes for similar problems.
I am using a company computer I have some suspicions that the errors could be related to permissions/user account management. If these issues could be at play then help understanding how permissons/user accounts need to be modified would be greatly appreciated.
Any help would be much appreciated as whilst the database is still functional via other apps that connect the inability to use SSMS is severely hampering work!
Thanks,
Tom
ERROR MESSAGE
===================================
Service 'Microsoft.SqlServer.Management.IRegistrationService' not found (Microsoft.SqlServer.Management.SDK.SqlStudio)
Program Location:
at Microsoft.SqlServer.Management.ServiceProvider.GetService[T](IServiceProvider serviceProvider, Boolean throwIfNotFound)
at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.Initialize()
at Microsoft.SqlServer.Management.SqlStudio.Explorer.NavigationService.GetView(String urnPath)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.<GetColumnsFromNavigationService>d__11.MoveNext()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.AddFields(List`1 list, IEnumerable`1 fields, IDictionary`2 allValidFields, AddFieldsFlags flags)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.GetParentFields(INodeInformation source, Dictionary`2& allValidColumns)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItemWithQuery(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, String urnQuery, Boolean registerBuilder, Boolean registerBuiltItems)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.BuildDynamicItem(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItemBuilder.Build(IList`1 nodes, INodeInformation source, INavigableItem sourceItem, IFilterProvider filter)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)
Monday, August 6, 2018 11:55 AM
See
https://blog.devoworx.net/2016/01/09/service-microsoft-sqlserver-management-iregistrationservice-not-found/
for some solutions
Olaf Helper
Monday, August 6, 2018 12:20 PM
Are you able to run the SSMS setup with "Run as Administrator"? If you don't have admin permissions, is it possible to have someone with admin access install it for you (such as Desktop team etc.)?
Anyway, I've found the following threads that appear to discuss the same issue as yours. See if they're of any help.
Please remember to click "Mark as Answer" if my response answered your question or click "Vote as helpful" if it helped you in any way.
Saturday, August 31, 2019 7:13 AM
I had the same issue.
It helps to install the new => .net framework 4.8. After restart the error was gone.
Thursday, February 6, 2020 12:01 AM
I found that the reference for the "Document Folder" (i.e. C:\Users\*myuser**\Documents) were referencing a Path that didn't exists anywhere and thus it generated this, as far as I'm concerned, unrelated error.
I scanned through my local Registry and fixed all these incorrect Path References I could find, and now the error is gone!