Where are registered servers stored? - sql-server-2008

I'm using SMS 2008 & I'm looking for where the registered servers are stored on my local machine. I have searched the registry with no luck.

They are kept as an XML document here:
%APPDATA%\Microsoft\Microsoft SQL Server\100\Tools\Shell\RegSrvr.xml
On Windows XP this resolves to:
C:\Documents and Settings\username\Application Data\Microsoft\Microsoft SQL Server\100\Tools\Shell\RegSrvr.xml
Note: As of Windows Vista there is no Application Data folder, and the path resolves differently.

For Windows 10 and SSMS version V17 the document can be found using this path in windows explorer
%APPDATA%\Microsoft\SQL Server Management Studio
Or this powershell command
dir "$env:APPDATA\Microsoft\SQL Server Management Studio\RegSrvr.xml"
Example
Directory: C:\Users\george\AppData\Roaming\Microsoft\SQL Server Management Studio
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 19/02/2019 4:04 PM 60998 RegSrvr.xml

In windows 8 and 7 here is the correct path.
C:\Users\username\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\Shell\RegSrvr.xml

Related

Looking for II7 configuration file location (root globalization)

Configuration: IIS 7.0 / Windows Server 2008 SP2 / 32-bits
On the root node (the one named after the server name), when I look at Globalization, I see that some values are not default values.
I would like to find in which configuration file it is stored.
I already tried
...\Microsoft.NET\Framework\v4.0....\Config\Machine.config
...\Microsoft.NET\Framework\v4.0....\Config\Web.config
...\System32\inetsrv\config\applicationHost.config
None of them contains anything about
What have I missed?
First, there is nothing called Windows Server 2007. Maybe you are using Windows Server 2008.
Second, IIS Manager for 7.x reads ASP.NET settings from v2.0 folders, not v4.0. Only IIS Manager for 8.x and above read from v4.0.

SSIS 2008 excel connection manager load xlsx file error

my system:
Windows server 2008 R2 standard.
visual studio 2008/SQL Server 2008
No Office installed.
When I try to connect to an excel (xlsx) file, I got this error when trying to select the name of a sheet.
TITLE: System.Data
------------------------------
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
Should I install Office (version?) to solve this or is there other solution?
I just worked through the same problem recently. The consensus of the research I conducted says that installing the following should resolve the problem:
http://www.microsoft.com/en-us/download/details.aspx?id=23734
However, if that doesn't work, you may need to install this as well:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
You should not have to install the full blown version of Office on your server. (Besides the fact that doing so is poor practice.)

How to fix 'Managed SQL Server Installer has stopped working'

I am trying to install SQL Server 2008 Enterprise Edition on Windows Server 2008. I have done all the process till the Installation correctly. However, the installer displays the message "Managed SQL Server Installer has stopped working".
No online Solution has been provided yet....
Anyone sorted this problem before?
This is usually a problem with your installation of .NET framework. E.g:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/34671131-a095-4068-b4d8-ab5ef6f5b8cc/managed-sql-server-installer-has-stopped-working
Check that your installations are all in working order by using the tools on this site:
http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx
You may have to re-install any or all of your .NET framework versions.
Instead of trying several methods that have not been approved, it is better to repair the MSSQL Server installation. On the other hand, there is some other issues that can be encountered during the repair process i.e. Installing the .NET Framework 3.5 on Windows 8, Windows 8.1 and Windows 10 as shown below.
In this case, if you have trouble during .NET Framework installation, you can install it by following the steps below (requires Windows 8, 8.1 or 10) setup disc or ISO file):
1) First you'll need to copy Windows 8 setup files to your hard disk. If you have Windows 8 setup ISO copied in your system, you can mount it by right-click on it and select "Mount" option or you can extract its content using 7-Zip.
If you have Windows 8 setup disc and don't want to copy its content, its ok. Just insert the disc in your CD/DVD drive so that Windows can access its content.
2) Now open Command Prompt as Administrator as mentioned here and then provide following command:
Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess
Here "F:" represents the CD/DVD drive letter in your system which contains Windows 8 setup disc. Replace it with the correct drive letter according to your system.
If you extracted Windows 8 setup files in a directory, replace F:\sources\sxs with the correct path.
3) As soon as you execute the above mentioned command, Windows will start installing .NET Framework 3.5 in your system and it'll not require Internet connection.
It'll take a few minutes and you'll get a message that the operation completed successfully.
4) That's it. Now you have installed .NET Framework 3.5 in Windows 8 without using Internet connection.
For more information have a look at How to Install Microsoft .NET Framework 3.5 Offline in Windows 8 and Later without Internet Connection?. Hope this helps...

SQL Server 2008 'RECONFIGURE' doesn't work for 'sp_configure filestream_access_level' on Windows 8

Okay, this is strange.
I installed Windows 8 and SQL Server 2008. The database I am working with has FileStream enabled and so I need to enable FileStream. And so, I did:
EXEC sp_configure filestream_access_level, 2
RECONFIGURE
It didn't work.
So I tried using the UI in SQL Server Management Studio. Like this:
Notice under configured value it is displaying "full access"
And under "running values":
And notice under "running values" it is displaying "disabled".
So I did:
Ran RECONFIGURE, it returns Command(s) completed successfully. Didn't work.
Restart SQL Server 2008. Didn't work.
Restart machine. Didn't work as well.
Now I wonder if I RECONFIGURE is broken or my UI is broken. So I tried changing Default Language to UK - English and ran RECONFIGURE. It worked! The language changed to UK under "running values".
So I guess the problem is Filestream access changes didn't get applied. But why?
I am running Windows 8 64 bit and this version of SQL Server:
Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (X64) Jul 9 2008 14:17:44
Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition (64-bit)
on Windows NT 6.2 <X64> (Build 9200: )
filestream access level Server Configuration Option:
Before this option has any effect, the Windows administration settings for FILESTREAM must be enabled. You can enable these settings when you install SQL Server or by using SQL Server Configuration Manager.

"The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine" Error in importing process of xlsx to a sql server

I have a 64 bit windows 7 and SQLServer 2008 R2 (64 bit)
I follow the instructions that are here to import excel file to sql server but in figure3 section of that post when I try to access excel file and when I click next this error make me stop:
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
I search the web i knew that I must install AccessDatabaseEngine_x64.
but when I install it I have a same problem
Can you please help me what to do?
Install the following to resolve your error.
2007 Office System Driver: Data Connectivity Components
AccessDatabaseEngine.exe (25.3 MB)
This download will install a set of components that facilitate the
transfer of data between existing Microsoft Office files such as
Microsoft Office Access 2007 (*.mdb and .accdb) files and Microsoft
Office Excel 2007 (.xls, *.xlsx, and *.xlsb) files to other data
sources such as Microsoft SQL Server.
Excel 2010 driver is 64 bit, while the default SSMS import export wizard is 32 therefore the error message.
You can import using the Import Export Data (64 bit) tool. ("C:\Program Files\Microsoft SQL Server\110\DTS\Binn\DTSWizard.exe") notice the path is not Program Files x86.
Save it as a CSV file and import it as a flat source file.
This is the only install that resolved the issue for me.
SQL 2008 r2 w/ office 2010 64bit: "2007 Office System Driver: Data Connectivity Components"
Currently, Microsoft don't provide download option for '2007 Office System Driver: Data Connectivity Components' and click on first answer for '2007 Office System Driver: Data Connectivity Components' redirect to Cnet where getting download link creates confusion.
That's why who use SQL Server 2014 and latest version of SQL Server in Windows 10 click on below link for download this component which resolve your problem : -
Microsoft Access Database Engine 2010
Happy Coding!
I had the same problem. SSMS launches the 32bit version of the import and export wizard which has this issue. Try launching the 64bit version application and it should work fine.
if you have xlsx file save it in workbook2003-2007.xls file and try. hope it will work
I had no luck until I installed the 2010 version link here:
https://www.microsoft.com/en-us/download/details.aspx?id=13255
I tried installing the 32 bit version, it still errored, so I uninstalled it and installed the 64 bit version and it started working.