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

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

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

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

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!

SQL Snapshot restoration - Monitoring the % completed

$
0
0

We are a product based company and using SQL Server as backend. Whenever there is a new version of OUR product released, we will upgrade the product for all our SaaS customers  and upgrading the product across all the SaaS Customers have been automated.

As a pre-upgrade process, we will take DB Snapshot and if any issues with the Product Upgrade, we will revert the DB using the DB Snapshot.

Many times , we will be handling high volume databases (>500gigs). While reverting the snapshot on these kind of bigger databases, we are not able to find the restoring % completed. Is there any way we can identify the percentage of restoring completion while doing it from the snapshot (we are NOT restoring the FULL backup where we can identify the %completed using percent_complete column in sys.dm_exec_requests table)

I got this error message while trying WITH STATS = 5 --"The revert command is incorrectly specified. The RESTORE statement must be of the form: RESTORE DATABASE <x> FROM DATABASE_SNAPSHOT = <y>."

'percent_complete' column in dm_exec_requests DMV shows 0% till the end of the restoration.

Any solution for monitoring the snapshot restoration?

SQL Server 2008 or 2008R2 Upgrade to SQL 2016 or 2017

$
0
0

Hi Experts,

Can we upgrade the SQL server which is running on SQL Server 2008 /2008R2 editions to 2016/17 directly, I am not looking for how to dobut i am looking from license perspective under SA or do we need to procure new license.

Under SA we can upgrade to 2012 of same edition but i looking for 2016/2017. As per the license information he mentioned lower versions and also its mentioned 2012 so bit confused.

Regards,

Pradyothana DP


Regards, Pradyothana DP. Please Mark This As Helpful if it helps to solve your issue. ========================================================== https://social.technet.microsoft.com/Profile/pradyothanadp http://www.dbainhouse.blogspot.in/

SQL Server Service will not start - a recent development!

$
0
0

SQL Server Service
(2014) is set to "Automatic" and should therefore be automatically started when I boot up my computer. As viewed from Services it is in a "Stopped" state after reboot. I believe this is due to a recent service pack or cumulative update(?)

From the command prompt I am able to start the SQL Server Service by bypassing the Cumulative Update or Service Pack option with the option switch "/T902" :

NET START MSSQL$MSSQLSERVER2014 /T902 after which everything behaves normally.

The Service "Logon" is currently set to "LocalSystem" and I have changed this to both "NT Authority\System" and "NT
AUTHORITY\NETWORKSERVICE" in an attempt to resolve the problem.

Each time the Windows Event log records :

"The SQL Server (MSSQLSERVER2014) service terminated with the following service-specific error:

WARNING: You have until SQL Server (MSSQLSERVER2014) to logoff. If you have not logged off at this time, your session will be disconnected, and any open files or devices you have open may lose data."

By itself the message is pretty useless but I get similar messages when I attempt to change the service logon. Thus, my suspicion is that this is a "permission" type issue such that some script has insufficient "rights" in order to carry out what it is attempting to do.

If I knew where these scripts were located I might try running the scripts manually to identify which one(s) are causing the problem. Running the script manually might be more informative and pinpoint exactly what is causing this. Unfortunately, the next step in resolving this eludes me.  

Can you help?



Kev

Connection Issues

$
0
0
I'm just starting out. In a class to certify for MTA 98-364. The book refers to SQL Server 2008 R2. I downloaded express edition SP1. When trying to connect to server book say to put a "." in server name section as default. After trying to connect I get a error message of Failure To Connect Server not found or not accessible. any suggestions would be appreciated
Viewing all 7696 articles
Browse latest View live


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