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

SQL server LocalDB

$
0
0

Hi. I got Windows 10 workstation that got installed Visual Studio 2015 Professional. I just found out when I installed the visual studio, it also installed "SQL server LocalDB" with it.  I need to upgrade the version of the "SQL server LocalDB" to the supported version as following to the latest scan result of vulnerability scan to my workstation.

My concern is I am not really sure what SQL Server LocalDB is. It seems like small database for local development with C#/visual studio. Here are my question I need some help...

(1) Is SQL Server LocalDB is different with SQL Server Express?

(2) If I need to upgrade the version of the SQL Server LocalDB, should I download the latest version of "SQL server Express"? I found the link to download from Microsoft page, but I am not sure this can be used for upgrading the LocalDB..

SQL Server 2017 Express edition

If there is anything wrong on my understanding, please correct me. Any advice will be gratefully appreciate it. Thank you.


SQL Server 2012 stops running after setup files are copied.

$
0
0

SQL Server 2012 setup stops running after setup files are copied.

I've experiencing the same issue on two different machines. Both are 64 bit running Server 2008.

On both of them I tried installing using the files from the ISO. I initially used winzip to extract the files. The setup was running fine, but the SQL Server engine had an error when it installed. Then using the Add/Remove programs i uninstalled all of the SQL Server 2012 applications, including the setup files.

Now when i try to install using the "New SQL Server stand-alone..." wizard it will copy the setup files and then the wizard never comes back. I've tried mounting the ISO, extracting with winrar, Burning the ISO to a dvd and downloading the 3 files. I also tried mounting ISO of the version that was just recently released. I run into the same issue with all of them.

Thanks for the help.


SQL Server 2016 Install error

$
0
0

Hi,

I am getting below error while installing SQL Server 2016 with SP2 (Slipstream) on Windows Server 2016. Please help if you have faced similar issues.

Error Screenshot:



Bootstrap log:

Using Upgrade Advisor 2012 version

$
0
0

We have planned to SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

Before implementing the change we have  executed the SQL Server 2012 Upgrade Advisor Tool in the server and we are facing below error in the tool.

"SQL Server version: 11.00.2100 is not supported by this release of Upgrade Advisor, only SQL2005, SQL2008 or SQL2008 R2 is supported."

So which version of Upgrade Advisor Tool version should be used before upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version

$
0
0

We have planned to SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

can we upgrade the sql server 2012 RTM version to SQL Server 2012 SP4 version directly using the kb 4018073 which is used for upgrading from sql server 2012 SP3 to SP4  or we have do it step from RTM to SP1 , SP1 to SP2 , SP2 to SP3 , SP3 to SP4

Please suggest us how to complete it in one step.

Configuring Change Data Capture

$
0
0

Hey All,

I am new to administrating SQL servers and have been tasked with enabling change data capture after all the data one of our critical tables was somehow deleted.  I was directed to this link by a coworker, but he has never enabled CDC before and wished me good luck.  The document has helped me get to the point where I am ready to enable CDC on the table itself, but I am confused about the gating roles setting and how to configure it for my users.  I would like to make it so that anyone with the ability to write to the table is tracked, but I don't want to limit myself to only those people in that role.  I would like admins to be tracked as well for security reasons.

Here is an example of the command I need to execute:

USE MyDB  
GO  
EXEC sys.sp_cdc_enable_table  
@source_schema = N'database1',  
@source_name   = N'dataTable',  
@role_name     = N'MyRole',  
@supports_net_changes = 1  
GO

Should I worry about specifying the gating role, or should I list it as NULL?  Does NULL apply the tracking to everyone or no one?  Also, I may have to apply this to multiple tables.   Can I chain the tables in the source name or should I run this command for each table?

Thank you for your help and I look forward to your responses.


Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

In Place Upgrade Failing

$
0
0
I need to perform an in place instance upgrade of SQL 2008 R2 SP3 to SQL 2017 express editions.  I was receiving errors about mapping accounts and that issue seems to be resolved.  Now the upgrade gets to the end without any error pop-ups but the instance upgrade still fails.  I have reviewed the log files and nothing is jumping out as the issue.  Any help would be greatly appreciated.

Migarting SQL cluster to SQL high availability

$
0
0

Hi

Our current SQL server setup runs with 3 X Windows 2016 servers in failover cluster with 2 X SQL instances. All applications refer the SQL by "Instace\SQLSrvrName". Our management asks to migrate all these clustered instances to SQL high availability model because of various including limitation with backup to take clustered hosts. We never configured SQL high availability, looking for an option to migrate the clustered / multiple instance SQL to high availability with minimum downtime. Also it's hard to change the SQL server reference in all apps, so if possible we have to keep the same format even after migrating to SQL HA model.

Thanks in advance


LMS


Run SQL Server Setup with 'As Admin' option

$
0
0

Hi,

For a user with local admin rights, is there any difference to run SQL setup As Admin vs runnig the setup without this option? I read somewhere in the past that we should never run the setup with 'As Admin' option, I am installing SQL with 'As Admin' option and never face any issue, do you know a case when this could generate an issue or this is just a myth ?

Best regards




Import query execution plan from SQL Server 2008 to SQL Server 2017 instance

$
0
0

Hi,

Recently we have upgraded our production instance from SQL server 2008 to SQL Server 2017. All Query and Stored procedures are running fine except one query is running slow in new instance after up-gradation. In SQL Server 2008 the query takes 7 minutes to execute but in 2017 it takes 50 minutes to executes.

If I change the compatibility level of the 2017 instance to 100 (2008) then the query take 7 minutes to executes.

I need to keep the database compatibility level 140 (2017). Is there any way I can run this particular query with compatibility level 2008. 

I saw some site trace flag '9481' can be enable in SQL Server 2014 to run query behave like 2008. Is there any similar trace flag for SQL Server 2017?

Or is there any way to export the query plan from SQL Server 2008 instance and import to SQL Server 2017?

Regards

Arif

SQL Server 2017 Express to Standard in place upgrade

$
0
0

Hi,

I know the mechanics of how I upgrade a 2017 Express install to 2017 Standard and have the key and licence.

I'm not envisaging any issues, however are there any gotchas or caveats that I should be aware of from someone who has done this?

thanks!



Server Upgrade

$
0
0

Greetings!

I am in the process of upgrading all of my servers from Server 2008R2 to Server 2012 as a transitional step to eventually getting my shop to Server 2016.

One of my servers is running SQL Server 2008R2 (10.50.6560).  I am thinking that I should upgrade the Windows Server to 2012 first before upgrading SQL Server.  Is this OK?

Thanks,

Ken


Ken Carter

Unable to install SQL server 2016

$
0
0

Hi Team

I am unable to install SQL server 2016 as I am getting below error

next step rs  : use the following information to resolve the error : uninstall this feature and run the setup again

next step for sql enginer : use the following information to resolve the error : uninstall this feature and run the setup again

AD Authentication on linux.

$
0
0

Hi All,

I have tried to connect to Linux server using AD authentication  and i could do it successfully by following the link

https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-auth-overview?view=sql-server-2017

Scenario 1: I can connect to the Sql server which is installed on Linux using SSMS with windows authentication by using a domain account Domain name\Test account. But i couldn't do any action (ex: Creating db ,accessing database etc..) even though it has SYS Admin permission. Getting errors like "account doesn't have permission", "User do not have permission to perform this action" etc..

Scenario 2:I can connect to Sql server which is installed on Linux using SSMS with WA by using Domain name\Testaccount2 and i can do any action(ex: Create db ,accessing database etc..).

LDAP Account Name :Testacccount2 had sudo access on Linux machine.

Here my AD account name and LDAP account name is matching and i could all SYS admin operations.

Scenario 1 is not working and scenario 2 is working. Is this expected behavior or limitation in SQL Linux. Kindly help if there is any way to make work Scenario 1.

Please let mw know if needed more details.

Thanks is advance!

SQL Server 2016 huge performance difference between two identical servers with same setup

$
0
0
I have two identical physical servers:

ProLiant DL360 Gen9 (Intel Xeon E5 1620 v2, 2 sockets, 8 cores, 16 logical processors, RAM 256 GB)

Windows Server 2012 R2

SQL Server 2016 (CU8)

And I experience a huge performance difference in som agent jobs (SSIS) where the execution time is 2 to 4 times longer on one of the servers. Here to mention it is the same "code" behind in the SSIS package.

My colleagues and I have tried several things already which did not help. The last couple of days I focused on the network side of things and I have found a difference in the setup. I do not know if it is relevant but I would like to adjust the systems so I know they are "really" identical.

So on the slow machine when checking the ports listning:



Compare to the "good" server and all my test servers.



Anyone have an idea why on the bad system I have TCP 0.0.0.0:1434 listening instead of TCP 127.0.0.1:1434? And TCP [::]:1434 instead of [::1]:1434.
I have not found anywhere where I could change this setting in SQL. Any suggestions? Or is this somewhere in the "Windows" TCP / IP settings I need to change to get this setup the same way.

Thx

Stefan






Error installing Microsoft ODBC Driver 17 for SQL Server

$
0
0

I am trying to install SQL Server Management Studio ver 18.3 on a server running Windows Server 2012, but the installation aborts with the following error message - "Fatal error during installation (0x80070643)", with the follow up instruction of "Microsoft ODBC Driver 2017 for SQL Server: Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe".

However, Visual C++ 2017 is installed on the server.

I then tried to install ODBC Driver 2017 directly with the msi file from MS, but it too aborts with this error message - "Error 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer."

I appear to be caught in a installation loop. 

Has anyone come across this before? I appreciate any suggestions.

Thanks,

Herman

add features to an existing instance of SQL Server

$
0
0
I'm trying to add features to an existing instance of SQL Server, and the feature that I want to add is Analysis Services.  SQL Server 2017 Express has already setup a local instance of SQL Database Server (v.14.0.2027.2).  In step #8, why isn't Analysis Services listed as a "feature selection"?  Thanks!

SQL Server 2014 Express 64bit Missing DLL

$
0
0

Hello,

I am trying to install SQL Server 2014 Express with advanced services on a windows 7 sp1 machine.  While running the installation file I downloaded from MSDN, I received a failure warning stating there is a DLL missing.  I had a similar experience with SQL Ser2012 and was never able to install it.

sql server 2012 upgrade

$
0
0

Hi,

can i upgrade sql server 2012 to 2017 ? 

What are the license  needed for this upgrade 

Thanks

SQL Server 2017 edition downgrade warning

$
0
0

Hello,

I have a SQL Server Evaluation version installed for which the evaluation period has expired.

I downloaded the ISO from the Open Licence account (with a SQL Server 2017 Standard Licence)

When installing,

-> Maintenance

-> Edition Upgrade

-> (the product key is filed), next

-> accept license terms, next

-> I specify the only instance (Edition: Evaluation, Version: 14.0.2027.2

The rule check in Progress stop at about 80%

-> Show Details:

SQL Server 2017 edition upgrade: Passed

SQL Server 2017 edition downgrade: Warning

Upgrade architecture mismatch: Passed

Always On Availability Groups feature check (no status listed)

The warning details are:

Rule "SQL Server 2017 edition downgrade" generated a warning.

The selected edition downgrade path is not valid. The source Evaluation edition and the target Standard edition is not a supported path.

according to:

https://docs.microsoft.com/en-us/sql/database-engine/install-windows/supported-version-and-edition-upgrades-2017?view=sql-server-2017

SQL Server 2017 (14.x) Evaluation Enterprise** to SQL Server 2017 (14.x) Standard is supported, (there is no cluster)

Is my problem due to the licence expiration, and how to I solve that ?

Viewing all 7740 articles
Browse latest View live


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