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

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?

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

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

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


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!

SQL 2014 SP1....setup.rll error....and the things I've tried..still error.

$
0
0

Hello all.

Installing on a VM with Windows 2012 R2 build 9600.

Just trying to install the database engine:

Displaying image.png

What I've tried:

Exploded the ISO to a local drive.

copied setup.rll to the program files....resource\1033 

gave Everyone group full access to users\administrator\appdata folder, windows\temp folder, program files folder, etc.

downloaded trial version of SQL 2014 SP2, same error.

Uninstalled, reinstalled.

Uninstalled 3.5 .NET, reinstalled

Uninstalled Visual C++ redistribution files and reinstalled.

ANY HELP would be GREATLY APPRECIATED!

Does SQL 2016 SP1 CU1 contain SP1 GDR Update Package?

SQL Server Native Client 11

$
0
0
I want to make SQL Server Native Client the default ODBC driver. How can I?

is developer incompatible with windows 10?

$
0
0

Hi. I got a memo from our asset group today asking if I could give up my 2008 and 2012 developer versions of sql because of projected compatibility issues with windows 10 ( icurrently have windows 7 enterprise on my local).   I didn't even know how to answer them but did report I'm currently using  the 2012 product to 1) prototype something new locally, 2) use ssms for various development and analysis efforts across a variety of sql environments. 

I guess my questions are 1) is 2012 developer really incompatible with windows 10?  in what respect?  2) if we run 2012 enterprise currently in production what alternatives might I consider for the best enterprise experience on my local?  3) we may be migrating tro sql 2016 in the next 6 mos.  Does this trigger any ideas in the community and wouldn't 2016's developer product also be incompatible with windows 10?

Split SQL Server 2012 Failover Cluster

$
0
0

First, I am not sure if this is the correct forum.

I have a two node Failover Cluster with two instances of SQL Server 2012.

I need to separate/split/eject/? the two nodes and instances so they are stand alone servers and instances. Even if they end up being two single node clusters.

I would like to avoid rebuilding the sql servers if possible.

One of the sql servers is used to support SharePoint and a third party product that runs on it. The third party product lags behind on sql support and ends up being a road block to sql server upgrades.

Any assistance would be appreciated.

Thanks

IBM x3650 M5 VS DELL Latitude E5540 performance

$
0
0

Hi

I have performance problem with my server. IBM x3650 have a two Virtual Machines. One of them is SQL server with 40GB RAM (30GB set for SQL). IBM x3650 have RAID 10. On SQL server i have database (21GB) and tempdb file split to 8 files (server have a 8 Cores). The problem is when i make a simple SELECT query with 33000 rows, SQL server message from statistics is

 SQL Server Execution Times:
   CPU time = 8500 ms,  elapsed time = 9375 ms.

When i make a same query (sam database )but on my laptop DELL Latitude E5540 (4 cores , 8 gb RAM) statistics looks like

 SQL Server Execution Times:
   CPU time = 65 ms,  elapsed time = 101 ms.

Why? Why server is slover than laptop? (today when nobody works on server (only my) statistics looks same (even if i do restart)

SQL Server Agent MSSQLSERVER & SQL SERVER ( MSSQLSERVER) cannot start from SQL Server Configuration

$
0
0

Hello,

I try to start MSSQLSERVER and SQL Server Agent(MSSQLSERVER) from SQL Server Configuration Manager, but I cant.

the Protocols for MSSQLSERVER VIA is Disable .

My Error Say:

The request failed or the service did not respond in a timely fashion. Consult the event log or other application error logs for details.

Cannot install CU - The baseline msi is not installed. The patch package is ignored.

$
0
0

Hi All,

The story begins one of our SQL Server cluster didn't get update from software center, and then I found in Software Center it says "install ignored" or message like this, as other SQL server clusters get upgraded successfully, I did investigation on this cluster to see what happened.


Firstly I checked the current version on one node of this cluster, which is on 12.0.5203.0

The other clusters have been upgraded to 12.0.5532(KB #3194718), so I tried to manually install this CU on this cluster to keep them consistent, however I got below error:

.....

(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\x64\setup\sql_engine_core_inst_msi\x86\sql_engine_core_inst.msp' does not exist
(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\1028_CHT_LP\x64\setup\sql_engine_core_inst_loc_msi\x64\sql_engine_core_inst_loc.msp' does not exist
(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\1031_DEU_LP\x64\setup\sql_engine_core_inst_loc_msi\x64\sql_engine_core_inst_loc.msp' does not exist

....

(01) 2017-01-30 09:28:38 Slp: Package sql_engine_core_inst_Cpu64: - The path of cached MSI package is: C:\Windows\Installer\59b76a.msi . The RTM product version is: 12.0.2000.8
(01) 2017-01-30 09:28:38 Slp: Baseline Package Id sql_engine_core_inst_Cpu64 - The highest patch version is 12.2.5203.0
(01) 2017-01-30 09:28:38 Slp: Patch Id KB3194718_sql_engine_core_inst_Cpu64 - NotInstalled on the baseline msi package sql_engine_core_inst_Cpu64.  Detail description of this patch package is: PatchId=KB3194718_sql_engine_core_inst_Cpu64 PatchVersion=12.2.5532.0 BaselinePackageId=sql_engine_core_inst_Cpu64 BaselineVersion=12.2.5000.0; PatchFileName=sql_engine_core_inst.msp PatchCode={83CDFF67-D679-4D22-9F54-E80213C71B68}
(01) 2017-01-30 09:28:38 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\x64\setup\sql_engine_core_inst_msi\x64\sql_engine_core_inst.msp' does not exist
(01) 2017-01-30 09:28:38 Slp: Patch Id: KB3194718_sql_engine_core_inst_Cpu32 - The baseline msi is not installed.  The patch package is ignored.

...

(01) 2017-01-30 09:30:38 Slp: Error result: -2061893565
(01) 2017-01-30 09:30:38 Slp: Result facility code: 1306
(01) 2017-01-30 09:30:38 Slp: Result error code: 67
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\120
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to get registry value CustomerFeedback

*detailed file can be found at https://drive.google.com/open?id=0B-eTNxeeWhHfU2t2S3UtMWl4dWc

I then checked https://technet.microsoft.com/library/security/ms16-136 to see if I missed anything:

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

What are the GDR and CU update designations and how do they differ? 
The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different update servicing branches in place for SQL Server. The primary difference between the two is that CU branches cumulatively include all updates for a given baseline, while GDR branches include only cumulative critical updates for a given baseline. A baseline can be the initial RTM release or a Service Pack.

For any given baseline, either the GDR or CU branch updates are options if you are at the baseline or have only installed a previous GDR update for that baseline. The CU branch is the only option if you have installed a previous SQL Server CU for the baseline you are on.

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

My first thought if I missed a version(or software center missed a version), so I downloaded 12.0.5522(KB #3188778) and tried to install, then got this:

A SQL Server update with a higher version has already been installed on SQL Server instance INSTANCE1, so the current SQL Server update cannot be applied. The version of the SQL Server update that is already installed is GDR 12.2.5203.0(12.2.5530.0) with a KBKB3194714 and the current SQL Server update is 12.2.5522.0 with a KBKB3188778.

I am confused by this sentence "The version of the SQL Server update that is already installed is GDR 12.2.5203.0(12.2.5530.0) with a KBKB3194714 and the current SQL Server update is 12.2.5522.0 with a KBKB3188778."  so the version is already installed is 12.2.5203.0 or 12.2.5530.0? I believe it is 12.2.5203.0 as it is same as the @@version, if that is the case the CU should install because 12.2.5530 is higher than 12.2.5203.0!

Viewing all 5760 articles
Browse latest View live


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