Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 8133 articles
Browse latest View live

Appication cannot connect SQL Server with TLS 1.0 disabled

$
0
0

Hello

I have SQL Server 2014 (fully patched with SP and CU) on one vm (Windows Server 2012 R2). On the second vm (same OS) I have  application. Recently TLS 1.0 has been disabled on all servers and app can't connect SQL now. From app config file I see "Provider=SQLOLEDB.1". I have seen https://support.microsoft.com/en-us/help/3135244/tls-1.2-support-for-microsoft-sql-server and I was able to fix other apps using .NET or ODBC but still don't know how to fix SQLOLEDB.1.

  



Import data to Excel 2013 from SQL Server 2014 with TLS 1.0 disabled

$
0
0

Hello

I have SQL Server 2014 Standard SP2 x64 (12.0.5511.0) on one vm (Windows Server 2012 R2). On the second vm (same OS) I have Excel 2013. Recently TLS 1.0 has been disabled on all servers and user can't import data from SQL. 

While filling Data Connection Wizard he is receiving following error:

[DBNETLIB][ConnectionOpen (SECDoClientHandshake()).]SSL Security error.

Do you know what have to be done to make it working again?

Thanks 

SQL Server 2008 R2 file locations

$
0
0

Hi.  I know this is an often asked (and answered question), but hoping for a quick reminder and validation of what I found elsewhere.  Besides, it's been quite a while since I've done a SQL install.

I need to install SQL Server 2008 R2 on a VM with shared storage.  I have only C, D, and L available to me.  I know to isolate user databases on D:, and tran log files on L:  Is there a reason not to install all binaries and shared files on C:?  Can I put all databases files (including system and user databses) in the same folder on D:, and all tran logs (including system and user logs) in the same folder on L:?  Or should I separate system files from user files?  Should I push the storage guy for a separate LUN/volume for tembdb database, or is that no longer necessary with shared storage?

Thanks!

SP1 for SLQServer2016 installation failed: error code 0x851A0018

$
0
0

Hi all,

as per post title, I am not able to install the SP1 for SQLServer2016 through the file 'SQLServer2016SP1-KB3182545-x64-ITA'.
Here is what I get:

Error while installing Functional instance of the services of the SQL Server Database Engine
Unable to stop the instance with process ID 2716. Error Detected: Microsoft.SqlServer.Configuration.Sco.ScoException: The service can not accept control messages at this time. --- System.ComponentModel.Win32Exception>: The service can not accept control messages at this time. in Microsoft.SqlServer.Configuration.Sco.Service.ControlService (UInt32 dwControlCode) in Microsoft.SqlServer.Configuration.Sco.Service.StopService (Boolean bStopDependents) in Microsoft.SqlServer.Configuration.Sco.Service.StopServiceWait (Int32 dwTimeout, Boolean bStopDependents ) --- End of inner exception stack trace --- at Microsoft.SqlServer.Configuration.Sco.Service.StopServiceWait (Int32 dwTimeout, Boolean bStopDependents) in Microsoft.SqlServer.Configuration.Sco.Service.StopServiceWait (Int32 dwTimeout , Boolean bStopDependents) in Microsoft.SqlServer.Configuration.SqlEngine.SqlServerServiceSCM.StopSqlServer (Boolean withFailpoint)

Error Code: 0x851A0018.

Well, I stopped the process ID 2716, which is exactly 'sqlservr.exe'.
By trying to install it again, the error changes to the service NT'SQLSERVER'.
I tried to identify it, but I am not sure I managed this one in the proper way: indeed, the retry-installation stopped because of it.

Is there anyone who faced the same issue or an expert who could help me, please?
Thank you very much!

How to mount read-only databases on SQL Server for Linux?

$
0
0

I've recently installed the latest SQL Server for Linux to test it with our existing databases and archives.  My machine is running Ubunutu 16.10, and the SQL Server package is version 14.0.100.187-1.  As part of my tests I tried to attach a database in read-only mode, but this fails.  The database files are owned by the 'mysql' user, and have read privileges set.  But when I try to attach the database I get the following error:

Property MemoryAllocatedToMemoryOptimizedObjectsInKB is not available for Database '[SSA]'. This property may not exist for this object, or may
not be retrievable due to insufficient access rights.  (SqlManagerUI)

The database attaches correctly if I set the files with read-write permssions, so the problem seems to strictly relate to read-only mode.  Is it possible to mount databases read-only on thie Linux version of SQL Server?  If so, how?

SQL server on linux updates databases to version 860, which is incompatible with SQL Server 2014

$
0
0

When attaching a database on SQL Server for Linux the database is automatically updated to version 860.  I've then detached the database and tried mounting it on a Windows server running SQL Server 2014 (12.0.4100.1).  This fails with the following error:

The database 'SSA' cannot be opened because it is version 860. This server supports version 782 and earlier. A downgrade path is not supported.

Is there an update to SQL Server 2014 tha makes it compatible with the latest SQL Server for Linux (14.0.100.187-1)?  If not, which versions of SQL Server for Windows are compatible with the SQL Server for Linux?  Is an upgrade to SQL Server 2016 necessary for cross compatibility of databases?

Need Suggestion for Setting SQL Server(s)

$
0
0

We have an issue with the OS on SERVER1 which existed in some fashion or other at least since we migrated it to a Virtual Machine.

We are planning on creating two new servers to replace this server:

• SERVER2 – Primary replacement with log shipping

• SERVER3 – Secondary server – recipient of logs

Would like to have opinion on how to migrate the functions of the existing SERVER1 to these new servers and create a “Hi-Avail” type setup but staying inside our existing license structure.

Additionally when we spin up these servers both the OS and SQL version will go to current versions.


Dhiraj

Compatiblity

$
0
0
is SQL SERVER 2012  viable with windows SERVER 2012R2 and 2016.?

Error Installing SQL Server 2016 Express

$
0
0

I am trying to install SQL Server 2016 with SP1 Express Edition on Windows Server R2 but I am having trouble.

The installation wizard tells me that the download is successful, but halfway through the installation I get a message saying:

Oops..

Unable to install SQL Server (setup.exe).

Exit Code (Decimal)

-2147467259

Error Description

The Service did not respond to the start or control request in a timely fashion. 

The log file is not much help because all it tells me is that the installer was attempting to open the registry and got stuck. This is the last four lines of the log file:

(01) 2017-01-23 21:50:59 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2017-01-23 21:50:59 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2017-01-23 21:50:59 Slp: Sco: Attempting to open registry subkey RS
(01) 2017-01-23 21:50:59 Slp: SetupTelemetry: Telemetry has an active session with 53 events.



SQL server 2016 unattended install

$
0
0

Hello,

I am working on SQL 2016 unattended install script. I noticed the SQL management studio & SQL server data tools are not part of the install like earlier versions. Just wondering how they can be installed along with the db engine installation. I am looking for unattended install with a script. Thanks.


sqldev

SQL 2016 RTM Install reboots during the install and hoses the installation

$
0
0

I just attempted installing SQL 2016 RTM and the install rebooted the server. After the reboot SQL of course is not working at all due to the install not completing; so, it's hosed up.  It appears that msiexec requested a restart due to SSIS (see below).  Has anyone had this issue?  This is a new Win 2012-R2 VM and a new SQL 2016 install.

From the Win App Error Log:

Windows Installer requires a system restart. Product Name: SQL Server 2016 Integration Services. Product Version: 13.0.1601.5. Product Language: 1033. Manufacturer: Microsoft Corporation. Type of System Restart: 1. Reason for Restart: 1.

issues upgrading from 2012 to 2014

$
0
0

We use local copies of SQL Server for development work. Wanting to upgrade from 2012 Express to 2014 Express on my workstation, I downloaded SQLEXPRADV_x64_ENU.exe, ran it, and clicked upgrade from previous version. The upgrade completed with no errors.

When finished I have a second group of program shortcuts in my start menu. The 2012 config no longer works. When I open the 2014 config it shows the instance as MSSQLSERVER and startup parameters using the same master.mdf as before. If I open Management Studio and select @@version it shows SQL Server 2012.

Does 2014 still use pieces from 2012? Do I need to remove all 2012 and all 2014, then reinstall from scratch? Thanks

SQL Server Setup error: File Format is not valid

$
0
0
Installing SQL 2008 R2 on Windows 2003 Server

KB3207512 Failing To Install on Azure VM SS 2016 SP1 Win Svr 2016 Image

$
0
0
On Friday, 1/20, I created an Azure VM from the image 
SQL Server 2016 SP1 Enterprise on Windows Server 2016

On Monday, 1/23, Windows Updates downloaded and tried to install the following
Important Update for SQL Server 2016 SP1 Reporting Services (KB3207512)
but it failed (Error 0x80070643).  I hit the "retry" and it kept failing.  I then shut down all SQL Server services and tried again, no luck, it failed.

I then tried to manually download the KB,  SQLServer2016-KB3207512-x64.exe.  This also failed but provided more details on the error.  The link at the bottom of the message does not go anywhere useful.  The message Details:

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
Error installing SQL Server Common Files
The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade.
Error code: 1642
Log file: C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20170124_133911\MSSQLSERVER\sql_common_core_Cpu64_1.log
Visit http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.4199.0&EvtType=sql_common_core.msi%400x162A16FE%400x1642 to get help on troubleshooting.

JD

SQL Server would not connect all of the sudden

$
0
0

Hi everybody,

Just got an email from my colleague so I need some ideas to help her:

------------------------------------------------------------------------------------------------------------------

Out of nowhere today my database quit working.  I had SQL Server Management Studio open, but I wasn’t using it today.  First I noticed ww.dll wouldn’t connect.  Then I noticed SalesEZ wasn’t connecting.

I shut down Management Studio and Tried to connect.  I get this error: (error 258 - the wait operation timed out)

This is all on my computer, so I don’t think it could be a network error.  I’ve stopped and restarted all SQL services.  I’ve rebooted a few times.  Even turned the PC off and back on.  Same error.  Any ideas?

------------------------------------------------------------------------------------


For every expert, there is an equal and opposite expert. - Becker's Law


My blog


My TechNet articles


The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.

$
0
0
I'm working on a new SQL 2008 Cluster install on a Windows 2008 Server.  everything looks good until 3/4's of the way through the install I get the following error "The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation." which kills my install.

Here is the final error, from the Detail Log

 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
2009-12-18 14:49:54 Slp:     Message:
2009-12-18 14:49:54 Slp:         The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.
2009-12-18 14:49:54 Slp:     Data:
2009-12-18 14:49:54 Slp:       WatsonData = Microsoft SQL Server
2009-12-18 14:49:54 Slp:       DisableRetry = true
2009-12-18 14:49:54 Slp:     Inner exception type: System.Security.AccessControl.PrivilegeNotHeldException
2009-12-18 14:49:54 Slp:         Message:
2009-12-18 14:49:54 Slp:                 The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation.
2009-12-18 14:49:55 Slp:         Stack:
2009-12-18 14:49:55 Slp:                 at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
2009-12-18 14:49:55 Slp:                 at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
2009-12-18 14:49:55 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
2009-12-18 14:49:55 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
2009-12-18 14:49:55 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)

I have an admin account so it is not for lack of privladge on the box, I even had one of the Domain Admins give it a go to see if their permissions were required and they got the same error.

I would appriceate any pointers on this.

SQL Server 2016 : Failed to start debugger

$
0
0

Hi Team,

I am getting the below error when trying to debug procedure in remote server - SQL Server 2016.

TITLE: Microsoft SQL Server Management Studio
------------------------------

Failed to start debugger

------------------------------
ADDITIONAL INFORMATION:

Data is Null. This method or property cannot be called on Null values. (System.Data)

------------------------------
BUTTONS:

OK
------------------------------

Please help me in resolving the issue.

Thanks,

Anilkumar


Where to find "RDBMS software OS owner account name"?

$
0
0

Hello fellow MS SQLers

Any idea what "RDBMS software OS owner account name" is and

where to find "RDBMS software OS owner account name"?

Is that the account that was used to install the SQL Server software?

Regards

C

Can't Install SQL Server 2008 R2 SP2 Management Studio

$
0
0

Hy, i'm having a problem with the installation of SQL Server 2008 R2 SP2 Management Studio.

I downloaded SQL Server 2008 R2 Advanced Edition and installed.

While the installation is in progress, i have an error  "Could not register type library for file F:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\Packages\Compsvcspkg.dll.  Contact your support personnel."

The installation finsh but i haven't the Managment Studio installed.

I have already removed the Patch Microsoft KB3072630, done a reboot an a new installation but I continue to have the error.

Can anyone help me? It's very urgent for my business.

Thank you.

disable or remove PolyBase installation

$
0
0

Hello experts,

I just installed a new MS SQL 2016 server. Everything went well, installed with the different partitions like MS best practices, but I did one thing wrong. I dont need/want the PolyBase installation. This mpdwsvc takes 2 times 500 MB memory for the database Movement and Engine, so 1 GB for something I wont use.

The situation is still clean, but I want to remove these options before we are getting different things installed on this DB.

I cannot find it on the internet, so could anyone please explain me how to remove the PolyBase configuration from this server? I see the SQL Server PolyBase Engine and Data movement service for the main database.

I hope I dont need to uninstall complete SQL and start the installation all over, to get rit of this Polybase.

Thanks for the help!

Viewing all 8133 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>