Quantcast
Channel: SQL Server Setup & Upgrade Forum
Viewing all 7701 articles
Browse latest View live

mssql-conf in LINUX SQL Server 2019

$
0
0

In LINUX, this command correctly sets memory, but i do not see it reflected when running SSMS  sp_configure even after a SQL restart.  Is there an additional step to flush something so SSMS sp_configure shows the correct max memory value?  I am running SQL Server 2019 CTP 2.2 on LINUX RHEL 7.6.

sudo /opt/mssql/bin/mssql-confset memory.memorylimitmb 12288


Office Accounting 2009 SQL Server 2008 - Can this work?

$
0
0

Hi,

We have a client who is running a networked installation of Office Accounting 2009 and they do not want to change this to other accounts software as the linking with Office products works well for them.

This is currently installed on a single server running SBS 2003 with SQL Server 2005 standard and as I say it runs fine.

The client now wants to look at a new server (just due to age of old one) and is interested in SBS 2011.

Advice on that forum is that we could have two boxes, one with SBS 2011 and a separate one running SQL Server 2005, but the question is whether anyone knows if Office Accounting can be made to run on SQL Server 2008 R2 (32 bit I guess) as that way we keep it all up to date?

Ridesy

SQL Server Max Memory Setting - We should leave it alone as "0"

$
0
0

Since memory does not grow on trees; I came to the conclusion that RAM memory should not be limited to SQL Server or we should not reserve memory to Windows Server.  I feel like this is a valid argument regardless of the fact that the server is a dedicated server or not.

If anybody thinks that this is a risky or flawed argument, please feel free to express your opinion.

ps. we are not dealing with prehistoric versions of Windows and SQL Server … let's say anything after 2005 or after 2010.


Travis McGee

SQL Server 2012 - Rule "Fusion Active Template Library (ATL)" failed.

$
0
0

I'm installing SQL Server 2012 Developer on a Windows Azure virtual machine which has Windows Server 2008 R2 SP1 Datacenter operating system with Visual Studio 2010 Ultimate SP1 installed. The installation fails with the "Rule "Fusion Active Template Library (ATL)" failed." error. I tried installing SQL Server 2008 R2 Developer but I got the same error message.

I tried to apply KB955792 "The Fusion ATL rule check fails when you try to uninstall a SQL Server 2008 instance or when you try to remove a SQL Server 2008 node from a failover cluster" (http://support.microsoft.com/kb/955792) but there's no Sqlsupport.msi installation file on SQL Server media.

Setup log:

(08) 2012-06-24 14:40:05 Slp: Initializing rule      : Fusion Active Template Library (ATL)

(08) 2012-06-24 14:40:05 Slp: Rule is will be executed  : True
(08) 2012-06-24 14:40:05 Slp: Init rule target object: Microsoft.SqlServer.Configuration.SetupExtension.FusionRebootCheck
(08) 2012-06-24 14:40:05 Slp: Fusion requires a reboot
(08) 2012-06-24 14:40:05 Slp: Rule 'FusionRebootCheck' results: FusionRebootCheck=False
(08) 2012-06-24 14:40:05 Slp: Evaluating rule        : FusionRebootCheck
(08) 2012-06-24 14:40:05 Slp: Rule running on machine: AZUREVM
(08) 2012-06-24 14:40:05 Slp: Rule evaluation done   : Failed
(08) 2012-06-24 14:40:05 Slp: Rule evaluation message: A computer restart is required because of broken fusion ATL. You must restart your computer before you continue.
(08) 2012-06-24 14:40:05 Slp: Send result to channel : RulesEngineNotificationChannel

There are not pending rename operations and restarting the server does not fix the problem.

How can I solve this problem?

Best regards,
Jozef

Upgrading SQL Server 2008 to 2017

$
0
0

Hi All,

Can any one please help in guiding me how to upgrade from SQL Server 2008 to 2017. We have a Database, SQL Server Reporting Services , SSIS and a Cube . 

How should I proceed with that?  Shall I run the DMA 4.4 first and then go for Side By Side Upgrade. 

Appreciate your help.

Thanks,

Subhadip


Installing & Upgrading multiple instances

$
0
0

Hi , 

I have an situation in which i have to 

1. Install sql 2016 instances in different  machines and same machine , it might be around in 100 machines roughly 

2. Upgrade sql instances from sql 2012 to sql 2016 , it might be for around 75 Machines . 

Adopting a straight farward way of installing the through sql software by storing in the same machine and installing or upgrading will be a tough job and time consuming way as well  

I am seeking the best way where i can achieve the above said job .  Can you please guide me  with the best method. 

thank you 

hemadribabu


hemadri

SQL Server not working since the JET change

$
0
0

Hi All,

After not having used SQL Server for a while, I went in today, tried to perform the task of importing Excel via Jet, and I encountered the same error as many users have experienced over the past 12 days of:

“Unexpected error from external database driver (1). (Microsoft JET Database Engine)”

I subsequently downloaded and installed the following:

Microsoft Access Database Engine 2016 Redistributable

AccessDatabaseEngine.exe 12.0.4518.1014 which I gather is for 32 bit

AccessDatabaseEngine_x64.exe  16.0.4519.1000 which I gather is for 64 bit

On my old machine which was 32 bit, I happily used ACE over Jet, and never had any issues.

I am now experiencing the following error messages:

The 'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machineThe 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

When I ran the following query, I got the following results:

EXECUTE MASTER.dbo.xp_enum_oledb_providers

Microsoft.ACE.OLEDB.12.0{3BE786A0-0366-4F5C-9434-25CF162E475E}Microsoft Office 12.0 Access Database Engine OLE DB Provider
Microsoft.ACE.OLEDB.16.0{3BE786A2-0366-4F5C-9434-25CF162E475E}Microsoft Office 16.0 Access Database Engine OLE DB Provider
ADsDSOObject{549365d0-ec26-11cf-8310-00aa00b505db}OLE DB Provider for Microsoft Directory Services
Search.CollatorDSO{9E175B8B-F52A-11D8-B9A5-505054503030}Microsoft OLE DB Provider for Search
SSISOLEDB{AE803C3F-76D3-42EF-A9DC-D90879BDF008}OLE DB Provider for SQL Server Integration Services
MSDASQL{c8b522cb-5cf3-11ce-ade5-00aa0044773d}Microsoft OLE DB Provider for ODBC Drivers
MSOLAP{DBC724B0-DD86-4772-BB5A-FCC6CAB2FC1A}Microsoft OLE DB Provider for Analysis Services 14.0
MSDAOSP{dfc8bdc0-e378-11d0-9b30-0080c7e9fe95}Microsoft OLE DB Simple Provider
SQLOLEDB{0C7FF16C-38E3-11d0-97AB-00C04FC2AD98}Microsoft OLE DB Provider for SQL Server
SQLNCLI11{397C2819-8272-4532-AD3A-FB5E43BEAA39}SQL Server Native Client 11.0

I am dumbfounded as to how my version of SQL Server is no longer able to import excel files.

This error message was returned when I tried to recycle a script:

OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked server "(null)" returned message "Unspecified error".
Msg 7303, Level 16, State 1, Line 2
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.16.0" for linked server "(null)".

Please can someone explain to me, a person of limited knowledge when it comes to system configurations, what has gone wrong. Is there a particular order in which the files should be loaded, so that the OLEDB is registered on the local machine? Are there other files which should have been loaded?

(On a different subject, I am happy to see that as a forum user, my ability to add images and links is now enabled.) 

SQL Server Max Memory Setting - We should leave it alone as "0"

$
0
0

Well, well, well - there was a qualifier ….  Memory does not grow on trees. Memory Costs Money!!!

 

Meaning.... if you have a 5000 sq ft house, do you reserve and luck up 1-2 rooms just in case, you don't run out of usable space? No!  …. when you reserve "some" memory to the O/S (more memory than it actually uses), that means SQL server is deprived from unused memory that can be used all the time.

 

I can guarantee, 75% of the instances around the world is has 0 as setting, because it is "default". Do you think Microsoft would allow such wide-spread performance problem exist?

 

If you reserve X amount of memory generously, what percentage of the (even Prod) servers were monitored closely as O/S requires a bit more memory over time.... (ie. new services, security and monitoring toss added over time).

 

When people say, there will be Perf issues.... what does that even mean? 1%, 99%, temporary, forever until a reboot?  Imagine all servers with Memory Setting = 0, has to be restarted once a week, every day. Just does not make sense for so many reasons!

 

Do we really think, Microsoft would be so stupid to allow O/S starve for Memory? 

 

Additionally, regardless of the memory settings (generous or otherwise), when you look at each server's trace logs (regardless how much memory is reserved for Windows) you will see plenty of events happening "all the time"... RESOURCE_MEM_STEADY, RESOURCE_MEMPHYSICAL_LOW, RESOURCE_MEMPHYSICAL_LOW

What do you think, Microsoft is not capable of setting the memory-starvation threshold to ahead of what the Server needs?

 

I think, this idea of O/S starving for memory is an outdated myth (from NT days) that is no longer valid since Microsoft had years to perfect this memory exchange and I believe it is working perfectly for the last 15 years at least.


migration 2012 to 2017 need check list / any chalange

$
0
0

hi,

I want migration MS SQL Sever 2012 to MS SQL Sever 2017

Migration 2012 to 2017 need check list / any challenge.

Please suggest Us.

Thanks

ajitkumar.

"Setup is unable to create database on SQL Server instance" error in new database installation

$
0
0

I have a new SCOM 2012 R2 installation on a Windows Server & SQL Sp1 2012 cluster. I'm logged in with the SCOM account and at the "Configure the operational database window" I add the new instance, specify the new database name, and upon clicking Next I get the following error:

Setup is unable to create database on SQL server instance ''. Please make sure the current user has permissions to create database on the SQL Server instance specified.

According to the SQL DBA the account has been granted SA rights on the instance which supposedly has login permission into the sql server including owner for master database. In spite of this I continue to get this error.

I've made sure that the SCOM account being used to create the database has local admin access on the SCOm and both sql nodes.

In addition I've confirmed my ability to access the SQL shares via UNC from the SCOM server:
\\sqlserver\data
\\sqlserver\log

I've also gone so far as to try installing the database using the IP address of the server. Per the firewall guy there are no rules restricting access to any of the nodes.

All servers are on the same domain.

All of the above produces the same error. So at this point I'm reaching out for assistance of a resolution to this annoying issue which is either a SQL issue or something I'm overlooking. Therefore any assistance is appreciated.

Specified cast is not valid. (SqlManagerUI)

$
0
0

hi

I want restore database backup file but I get error..Sql server 2008r2 restore same version Sql server 2008r2

Specified cast is not valid. (SqlManagerUI)

I don't have mdf & ldf file. this is old backup store in hard disk but now I stored not store its giving error.

Pls suggest me if any solutions.

ajit kumar


ajitkumar

CUs and Security Updates - Their relationship

$
0
0

I have mostly SQL 2014 and SQL 2017 installations. We manually update without using WSUS nor windows update.

Unfortunately when reading the documentation on particular CUs, they do not explicitly describe that they also includeprevious released Security Updates. This causes me to question if they are included.

Example, let's say that I am at CU2 and I would like to update to CU13. Now, after CU4 there was one Security Update. I would like to update to CU13 directly. Can I update to CU13 and assume that the security update that was released after CU4 is included?

I've read documentation that describes CUs but they do not explicitly say they include previously released Security Updates.

I need help finding documentation that explicitly says that Cumulative Updates (CUs) include previous released Security Updates. If not such documentation available and you know the answer anyway, please help.


Paulino

Unable to install SQL Server (setup.exe). Exit code (Decimal) -2147467259

$
0
0

Hi,

I am Sujit.I've been attempting to install SQL Server Express 2017 on a Windows 10.When running the installer, it runs all the way through, then at the end I get the following error.I've tried reinstalling it multiple times but it hasn't worked.I would be very grateful if anybody helps me to resolve this issue.

Unable to install SQL Server(setup.exe)

Exit code (Decimal): -2147467259 Error Description: The system  cannot find the specified path

SQL SERVER INSTALLATION LOG FOLDER C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20190818_213314

SQL Server doesn't use all available memory

$
0
0

Hi,

We noticed lately our web server has frequent SQL timeout from the application.
When we check the memory usage, the SQL Server is only using 1GB RAM instead of 7GB RAM we assigned in the option.

Before this, the SQL Server did use up all the available memory we allocated and we do not have this timeout issue.

Below is the screencap.

Is there any setting that may be changed or this behaviour is new from latest patch?

Thanks.


HSLaw

Is SQL Server 2008

$
0
0

Is SQL Server 2008 is compatible with Windows Server 2012 Standard edition. I wish to upgrade from Windows Server 2008 Standard Edition to Windows 2012 Server Standard Edition. 

please guide, on upgrade will the already running SQL Server 2008 on Windows 2008 will work on upgraded OS version of Windows 2012 Server Standard Edition.

 

SQL Server Service pack support end of life

$
0
0

Hi Guys,

I am trying to understand how long a service pack is supported by Microsoft.  As per this link, looks like its supported 12 months  after the release of the next services pack.



But when I look at life cycle page , it looks like Microsoft has released security patch for SQL Server 2016 SP1 well past the 12 months end of life period after the release of the next SP.

SQL Server 2016 SP1 Release date - 2016-11-16
SQL Server 2016 SP2 Release date - 2018-04-24 

2016 SP1 end of life should have been 12 months after SP2 was released which would put the end of life an 2019-4-24, but it looks like Microsoft has released security patch after 24 April 2019 as per https://sqlserverbuilds.blogspot.com/

 

Is that normal?  

SQL Server 2014: Missing System Adminstrator

$
0
0

Hi,

I am using windows 8 and I have only one user in laptop. While installing SQL 2014, I am getting an error (Missing System Administrator). Under SQL Server Agent and SQL Server Database I have select the system user and gave the password but still I am getting the error.

Can anyone please help me how to resolve this.

Thanks in advance.


NRC

Upgrade Engine and OS

$
0
0

Hi all,

I have several servers running : Windows Server 2008 R2 OS + SQL Server 2008 R2 , Express and Standard Edition.
Now I want to in-place upgrade these servers cause End of Mainstream support.
I have prepare SQL Server 2012 , 2014 , 2016 Standard Edition license and Windows Server 2012 R2 , 2016 OS license.
What latest version I can upgrade my server ? Should I upgrade OS first then SQL Server or vice versa ?

I assume steps:

- Backup all databases.
- Insert Windows Server OS cd into my servers, run setup.exe to upgrade OS version first.
- Run new SQL server setup file , choose upgrade.

Please give me some advice or document, thank you very much.

cant install

$
0
0
i whant to install obs but i get an error and obs team sead to contact you

SQL Server (2014 Standard Edition) - Transfer to Another VM

$
0
0

Hello SQL Experts,

I have a client that wants to migrate their SQL Server (2014 Standard Edition) from one VM to another under same Physical Server.

The problem is I do not have any idea about their License and they cant find also the License Agreement that was sent by Microsoft before.

I can pull out the Product Key from the Registry but my question is, Can I use the same License on the new VM? 

Currently the new VM is running Evaluation Edition while they running through some System Test for few weeks.

Thank you very much!

Viewing all 7701 articles
Browse latest View live