SQL Server: How to find all localdb instance names

I found SqlLocalDB utility that needs to be run on command line. SqlLocalDB can be found in C:\Program Files\Microsoft SQL Server\110\Tools\Binn or C:\Program Files\Microsoft SQL Server\120\Tools\Binn To get all existing LocalDB instance names, use: SqlLocalDB.exe i info|i Lists all existing LocalDB instances owned by the current user and all shared LocalDB instances. To get detailed … Read more

SQL Server blocked access to procedure ‘sys.sp_OACreate’ of component ‘Ole Automation Procedures’

The following example shows how to view the current setting of OLE Automation procedures. EXEC sp_configure ‘Ole Automation Procedures’; GO The following example shows how to enable OLE Automation procedures. sp_configure ‘show advanced options’, 1; GO RECONFIGURE; GO sp_configure ‘Ole Automation Procedures’, 1; GO RECONFIGURE; GO

System.Data.SqlClient.SqlException: Login failed for user

Just set Integrated Security=False and it will work ,according to a comment difference between True and False is: True ignores User ID and Password if provided and uses those of the running process, SSPI(Security Support Provider Interface ) it will use them if provided which is why MS prefers this. They are equivalent in that … Read more

SQL Server 2012 installation Reporting Services Catalog error

Since you already had one installation of SQL Server done before, there was a database already created. That did not get removed. So when you reinstall, its trying to create the database with the same name, hence, the error. You need to delete the old files to continue the new installation. From the direcotry C:\Program … Read more