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

SQL Upgrade Advisor

$
0
0

Hi All,

I am running SQL Server 2014 upgrade advisor locally on SQL 2005 instance, I keep getting the following time out errors.

Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

COLONUSE

The database is >1TB.

Any help appreciated.

Thank You,

KR


can non-sysadmin upgrade SQL server?

$
0
0

I wonder if non-sysadmin (SQL) can actually upgrade SQL server (database engine, SSIS and SSRS).  Can this be possible.

Thanks much!

SQL Server 2008 R2 & 2008 R2 SP1 installation fails in Windows server 2012

$
0
0

Hi All,

I have a strange issue here. I have a Windows server 2012 VM where i want to deploy SQL 2008 R2 Enterprise edition.

When i Run the setup every thing goes fine and during the installation wizard i get this error " The Folder path Program files contains  invalid characteristics. I get this error 3 - 4 times during the installation wizard and the installation fails. Below is the screenshot for the same.

So i checked few articles regarding the compatibility issue and found the below article and upgraded my setup to SQL 2008 R2 SP1 using the below article.

http://blogs.msdn.com/b/petersad/archive/2011/07/13/how-to-slipstream-sql-server-2008-r2-and-a-sql-server-2008-r2-service-pack-1-sp1.aspx

Again i still see the same above errors and with that a new error related to a MOF File.

Below are the contents of the error logs. Can some one assist on this issue.

======================================================

Overall summary:
  Final result:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
  Exit code (Decimal):           -2068052692
  Exit facility code:            1212
  Exit error code:               1324
  Exit message:                  SQL Server installation failed. To continue, investigate the reason for the failure, correct the problem, uninstall SQL Server, and then rerun SQL Server Setup.
  Start time:                    2015-01-15 13:53:03
  End time:                      2015-01-15 14:04:29
  Requested action:              Install
  Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\Detail.txt
  Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0xA60E3551%400xD3BEBD98%401211%401

Machine Properties:
  Machine name:                  ALPCLDSCOM01
  Machine processor count:       4
  OS version:                    Future Windows Version
  OS service pack:               
  OS region:                     United States
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered 

Package properties:
  Description:                   SQL Server Database Services 2008 R2
  ProductName:                   SQL Server 2008 R2
  Type:                          RTM
  Version:                       10
  Installation location:         D:\SQLServer2008R2_SP1\x64\setup\
  Installation edition:          ENTERPRISE

  Slipstream:                    True
  SP Level                       1

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      False
  AGTSVCACCOUNT:                 E2KLAB\SCOMAC
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Automatic
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASDOMAINGROUP:                 <empty>
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 *****
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Automatic
  CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\ConfigurationFile.ini
  CUSOURCE:                      
  ENABLERANU:                    False
  ENU:                           True
  ERRORREPORTING:                False
  FARMACCOUNT:                   <empty>
  FARMADMINPORT:                 0
  FARMPASSWORD:                  *****
  FEATURES:                      SQLENGINE,FULLTEXT,RS,SSMS,ADV_SSMS
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
  FTSVCPASSWORD:                 *****
  HELP:                          False
  INDICATEPROGRESS:              False
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
  INSTANCEID:                    MSSQLSERVER
  INSTANCENAME:                  MSSQLSERVER
  ISSVCACCOUNT:                  NT AUTHORITY\NetworkService
  ISSVCPASSWORD:                 *****
  ISSVCSTARTUPTYPE:              Automatic
  NPENABLED:                     0
  PASSPHRASE:                    *****
  PCUSOURCE:                     D:\SQLServer2008R2_SP1\SP
  PID:                           *****
  QUIET:                         False
  QUIETSIMPLE:                   False
  ROLE:                          <empty>
  RSINSTALLMODE:                 DefaultNativeMode
  RSSVCACCOUNT:                  E2KLAB\SCOMAC
  RSSVCPASSWORD:                 *****
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  <empty>
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 E2KLAB\SCOMAC
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           E2KLAB\Gautamr,E2KLAB\SCOMAC,E2KLAB\SCOM Admins
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  False
  TCPENABLED:                    1
  UIMODE:                        Normal
  X86:                           False

  Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\ConfigurationFile.ini

Detailed results:
  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  MSI status:                    Failed: see details below
  MSI error code:                1324
  MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\BestPracticesPolicies_Cpu32_1.log
  MSI error description:         The folder path 'Program Files (x86)' contains an invalid character.
  Configuration status:          Passed

  Feature:                       Full-Text Search
  Status:                        Failed: see logs for details
  MSI status:                    Passed
  Configuration status:          Passed

  Feature:                       Reporting Services
  Status:                        Failed: see logs for details
  MSI status:                    Passed
  Configuration status:          Passed

  Feature:                       Management Tools - Complete
  Status:                        Failed: see logs for details
  MSI status:                    Passed
  Configuration status:          Passed

  Feature:                       Management Tools - Basic
  Status:                        Failed: see logs for details
  MSI status:                    Failed: see details below
  MSI error code:                1324
  MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\BestPracticesPolicies_Cpu32_1.log
  MSI error description:         The folder path 'Program Files (x86)' contains an invalid character.
  MSI status:                    Failed: see details below
  MSI error code:                1324
  MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\sql_common_core_loc_Cpu64_1033_1.log
  MSI error description:         The folder path 'Program Files' contains an invalid character.
  Configuration status:          Passed

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150115_135043\SystemConfigurationCheck_Report.htm


Gautam.75801

Collation Change

$
0
0

Hi Everyone,

I am trying to change the collation for my SQL servver 2012 rebuilding the Master Database but not matter how many time I try is not changing at all. This the command I am using which I got it from MSDN:

Setup /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=Myinstancename /SQLSYSADMINACCOUNTS=sa /SAPWD=mypass /SQLCOLLATION=SQL_Latin1_General_CP1_CI_AS

Any reason why this is not working?

Thanks

Regards

Federico

Good device to put Instance root directory on a SQL Server 2012 Always On Failover Cluster ?

$
0
0

Hello, I'm currently testing SQL Server 2012 AlwaysOn Failover Cluster.

I wonder if I installed it correctly : I installed the software on both server with the instance root directory set to a directory on a cluster shared module.

The reason why I'm not sure is because, when I wanted to upgrade from SP1 to SP2, I wanted to do it first on the passive node, but it failed for most of the components it had to upgrade. So I first upgraded the active node then failover and upgraded the newly active node.

I installed SQL Server this way because our system admins don't like us to install in on C:\ for their own reasons (maybe backup, or something ...)

I'm pretty sure there is something wrong. What's your point ?

Thanks in advance.

SQL Server 2012 Infrastructure Best Practice

$
0
0

Hi,

I would welcome some pointers (direct advice or pointers to good web sites) on setting up a hosted infrastructure for SQL Server 2012. I am limited to using VMs on a hosted site. I currently have a single 2012 instance with DB, SSIS, SSAS on the same server. I currently RDP onto another server which holds the BI Tools (VS2012, SSMS, TFS etc), and from here I can create projects and connect to SQL Server.

Up to now, I have been heavily restricted by the (shared tenancy) host environment due to security issues, and have had to use various local accounts on each server. I need to put forward a preferred environment that we can strive towards, which is relatively scalable and allows me to separate Dev/Test/Live operations and utilise Windows Authentication throughout.

Any help in creating a straw man would be appreciated.

Some of the things I have been thinking through are:

1. Separate server for Live Database, and another server for Dev/Test databases

2. Separate server for SSIS (for all 3 environments)

3. Separate server for SSAS (not currently using cubes, but this is a future requirement. Perhaps do not need dedicated server?)

4. Separate server for Development (holding VS2012, TFS2012,SSMS etc). Is it worth having local SQL Server DB on this machine. I was unsure where SQL Server Agent Jobs are best run from i.e. from Live Db  only, from another SQL Server Instance, or to utilise SQL ServerAgent  on all (Live, Test and Dev) SQL Server DB instances. Running from one place would allow me to have everything executable from one place, with centralised package reporting etc. I would also benefit from some license cost reductions (Kingsway tools)

5. Separate server to hold SSRS, Tableau Server and SharePoint?

6. Separate Terminal Server or integrated onto Development Server?

7. I need server to hold file (import and extract) folders for use by SSIS packages which will be accessible by different users

I know (and apologise that) I have given little info about the requirement. I have an opportunity to put forward my requirement for x months into the future, and there is a mass of info out there which is not distilled in a way I can utilise. It would be helpful to know what I should aim for, in terms of separate servers for the different services and/or environments (Live/Test/Live), and specifically best practice for where SQL Server Agent jobs should be run from , and perhaps a little info on how to best control deployment/change control . (Note my main interest is not in application development, it is in setting up packages to load/refresh data marts fro reporting purposes).

Many thanks,

Ken

Need to clean up an improperly Uninstalled SQL server 2008 R2

$
0
0

Hi Experts,

I have a issue here. I had SQL Server 2008 R2 installed in a Windows server 2012 machine. It failed to install several times and i clearly uninstalled it from Add and remove programs.

Now i installed SQL Server 2008 in that same machine and it was successful. I wanted to try upgrading it to SQL 2008 R2. Seems that when i run the setup to upgrade it to SQL Server 2008 R2, The old failed instance of SQL Server 2008 R2 still remains and the up gradation from SQL Server 2008 to SQL Server 2008 R2 is not happening.

Can any one guide me in how to completely remove the failed SQL Server 2008 R2 instance so i can upgrade to SQL Server 2008 R2 ?

The Instance MSSQLSERVER1 is the old failed SQL 2008 R2 instance and the MSSQLSERVER is the working SQL 2008 SP3 installation.


Gautam.75801


Cannot uninstall SQL Server 2012 Express Edition 32-bit in a Windows 7 Professional SP 1 64-bit

$
0
0

Hi,

I want to upgrtade an existing SQL Server 2012 (Express Edition 32-bit) instance to SQL Server 2012 Standard Edition 64-bit.

I try to uninstall it from my PC, but it prompt a message saying that 

The Operating system on this computer does not meet the minimum requirements for SQL Server 2012. ...  For Windows 7 or ..., Service Pack 1 or later is required.

I checked my OS, it is Windows 7 Professional SP 1, and should meet the requirement.

May I know how can I solve this problem?


Thanks,

Chong Khong Yew


CU5 update SQL Server 2012

$
0
0

I have recently updated the SQL2012 server with the CU5 update due to an error.

The description for Event ID 17053 from source MSSQLSERVER

System Health Monitor Thread

Exception 0x1

The CU5 update was supposed to top this error appearing in the event logs however it is still there after the update.

I have rebooted the server and still receive the error?

Custom Condition for Policy Based Management

$
0
0

Hopefully this is the correct forum please move if not..

I'm trying to write a custom condition to use in policy based management that will be executed against several servers and report back those that have SQL agent jobs where 'sa' is not the owner.

ExecuteSql('string', 'SELECT
    sv.name AS [Name],
    sv.job_id AS [JobID],
    l.name AS UserName
    FROM
    msdb.dbo.sysjobs_view AS sv
    INNER JOIN [master].[sys].[syslogins] l ON sv.owner_sid = l.sid
WHERE L.name <> ''sa''
    ORDER BY
    sv.[Name] ASC')

I enter the above in the Field with an Operator of = and Value 1 under the Server Facet and it complains that the input string is incorrect.  I also get an error of "Make sure string constants are enclosed in single quotes and facet properties are prefixed with '@' sign."

SQL Server 2008 R2 Service Packs

$
0
0

Hi,

What's the benefit of upgrading my SQL Server 2008R2 with the service packs that are available for it?

Cheers

Paul

Migrate SQL Server 2005 database to 2008r2

$
0
0

Hi

We have SQL Server 2005 in 32 bit machine, We are planning to move to SQL Server 2008r2 in 64 bit machine(Virtual Environment) . Planning to do side by side migration. I was wondering what approach would be best way to copy user db, login information ,jobs and maintenance plan to New environment.

thanks for help.

Download Problem On Microsoft Website

$
0
0

I have tried repeatedly to download SQL Server Express 2014 but keep getting the error:

An unknown error occurred while processing your request. This is most likely due to a connection failure. Please try again.        
B01OWX-120bb4a7-757f-487a-92b3-cd80e123ba2e

        

Where is the file now?

How do I get it?

Agent Job failing all Jobs Since some issue happend to Service Account

$
0
0

Hi,

We recently build a new server and deployed our DBs and setuped our environment successfully. Our SQL Server and Agent job serivices are running under ServiceADAccount1 (for example). But we have setup our proxy account using different ServiceADAccount2. Initially It was running fine. But something happed at server level our DB was down one day. then our server resource restarted Services by entering the same password of ServiceADAccount1 at windows services level.

DBs started working from then But Agent job stopped working. We are getting an error like below,

Environment is SQL Server 2008 R2

Executed as user: domain\ServiceADAccount2. The process could not be created for step 1 of job xxxxxxx (reason: 1314).  The step failed.

To fix this I have tried below steps but nothing helped me to fix:

1. I have recreated Credential and proxy account by recreating jobs. It didn't help.

2. I have restarted services by changing running account to Serviceaccount and back to ServiceADAccount1 at SQL Server manager level (Not at windows Services.). But it still didn't help.

3. I have given sysadmin access to ServiceADAccount2 just to make sure it got enough permissions. It didn't help.

Could you please help me fixing this issue.


Data types not compatible with Sql Server 2012

$
0
0

HI All,

I need to know what are data types which were present in sql server 2005 but are not in sql server 2012.

Regards

Rahul


SQL Server Setup Error

$
0
0

Good Evening,

I've been having an issue today whilst trying to install SQL Server 2012 to a newly built server running Windows Server 2012 R2. Whilst going through the 'Database Engine Configuration' where you assign parts of the installation to different directories.

We are trying a new method of installing each part of SQL to an SMB file share on our Netapp. After pointing each part of installation to a specific directory and pressing next I receive the error attached

I can see that it says that you need to give the SQL Server setup account the  Manage Auditing and Security Log policy on the local policy console. I've gone to this policy and added myself (Local Administrator), The server itself, the SQL Server Agent account and also the database engine account. I have rebooted the server and tried again running the installation both as myself and Administrator but still get the same error. Please could someone help me with this issue.

Regards,

How can I uninstall SQL Server 2012 SP2

$
0
0
I have installed the SQL Server 2012 RTM and then SQL Server 2012 SP2 on top. I was under the impression that the "Programs and features" would allow me to uninstall the SP2 if necessary. There, I couldn't see any SQL Server 2012 SP2 but all the components at the 11.2.5058 level, i.e. Microsoft SQL Server 2012 Setup? So, does it mean that I have to uninstall all components on the list from 11.2.5058 levels and presume that everything will rollback to 11.2.2100...? Thanks.

SQL 2008 R2 In-Place Upgrade or Fresh Install to SQL2104

$
0
0

We have a server running Windows 2008 R2 and SQL 2008 R2 currently.  We will call it SQL01.  This houses databases for about 8 different applications and also has the name hard coded into a lot,  I repeat, a lot of various things.

We are at the point where one of our applications needs to be upgraded and it only works with SQL 2014.  So we need to either do an in-place upgrade or fresh install.

The obvious choice to me as a system admin is to do a fresh install, but the development side of the department knows how many places the name "SQL01" is hard coded and they want to do an in-place upgrade to avoid all the issues that would show up if we changed names.

I have several questions, and I'd appreciate that the answers address them all if possible.

1.  What are people's experiences with in-place upgrades from SQL 2008 R2 to SQL 2014?

2.  To avoid this naming and coding issue, do companies use a permanent alias for their SQL servers?  Like with exchange, we have an alias or A record pointing "mail" to the current Exchange server.  As we do upgrades and the Exchange server names change, the "mail" entry will always be pointed to the current one.  Do people do this for SQL as well to avoid our issue of hard coding names?

3.  I've head that you can also have both SQL 2008 R2 and SQL 2014 on the same server running together.  This really doesn't help though if the SQL 2014 instance would need to be something other than the default which everything is currently pointed to correct?

4.  Is there any advice about a better way to go about this?  Or a better way to do this moving forward?  Other than not hard coding which I can't change now?

Thanks!

SQL Server 2008 R2 Express with SP2: 'SQLEXPRESS'-instance installation fails while any other instance name installation succeeds.

$
0
0

We supply our software package that also includes the unattended installation (with /QS and so on) of SQL Server R2 Express (with SP2).
The setup works good in about 99.9% cases, but one customer complained that after the "successful SQL Sever installation (at least, it looked so!) he could not open the supplied database getting some strange error messages...

After some months of trial-n-error attempts we are now able to reproduce the problems this custumer had. But we cannot find the reason of the problem.

So the test computer is a virtual machine with Windows 7 + sp1 32-bit.
Among the programs/tools installed on this machine there were (in the following order):
SQL Server 2008 Express - the default SQLEXPRESS instance
SSMS
VS 2010 Pro (German)
SQL Server 2008 Express R2 (with SP 1 or SP2 - ?) - the default SQLEXPRESS instance
Then some of them were uninstalled in the following order:
SQL Server 2008 Express
SSMS
SQL Server 2008 Express R2 

Now we tried to install (in normal mode with UI) the SQL Server 2008 Express R2 with SP2.
When we chose the default SQLEXPRESS instance - it failed with the following info:

Configuration status: Failed: see details below
Configuration error code: 0x7FCCE689
Configuration error description: External component has thrown an exception.

and the Detail.txt file contained the following:

2015-01-20 10:44:09 Slp: External component has thrown an exception.
2015-01-20 10:44:09 Slp: The configuration failure category of current exception is	ConfigurationValidationFailure
2015-01-20 10:44:09 Slp: Configuration action failed for feature	SQL_Engine_Core_Inst during timing Validation and scenario Validation.
2015-01-20 10:44:09 Slp: System.Runtime.InteropServices.SEHException	(0x80004005): External component has thrown an exception.
2015-01-20 10:44:09 Slp: at SSisDefaultInstance(UInt16* , Int32* )
2015-01-20 10:44:09 Slp: at	Microsoft.SqlServer.Configuration.SniServer.NLRegSWrapper.NLregSNativeMethod	Wrapper.SSIsDefaultInstanceName(String sInstanceName, Boolean&	pfIsDefaultInstance)
....
2015-01-20 10:44:09 Slp: Exception:	System.Runtime.InteropServices.SEHException.
2015-01-20 10:44:09 Slp: Source:	Microsoft.SqlServer.Configuration.SniServerConfigExt.
2015-01-20 10:44:09 Slp: Message: External component has thrown an exception..
2015-01-20 10:44:09 Slp: Watson Bucket 1	Original Parameter Values
2015-01-20 10:44:09 Slp: Parameter 0 : SQL Server 2008 R2@RTM@
2015-01-20 10:44:09 Slp: Parameter 1 : SSisDefaultInstance
2015-01-20 10:44:09 Slp: Parameter 2 : SSisDefaultInstance
2015-01-20 10:44:09 Slp: Parameter 3 :	System.Runtime.InteropServices.SEHException@-2147467259
2015-01-20 10:44:09 Slp: Parameter 4 :	System.Runtime.InteropServices.SEHException@-2147467259
2015-01-20 10:44:09 Slp: Parameter 5 : SniServerConfigAction_Install_atValidation
2015-01-20 10:44:09 Slp: Parameter 6 :	INSTALL@VALIDATION@SQL_ENGINE_CORE_INST

When we chose some other instance name then the installation has completed successfully.

So the questions are:

  1. What could be the reason of the problem (and only for SQLEXPRESS instance that was earlier installed and then uninstalled)? I will provide the complete Detail.txt file if needed. 
  2. How could we check (if we could) the conditions so some name would be allowed as an instance name for SQL Server installer to success?

With the best regards,

Victor


Victor Nijegorodov

Installing .NetFramework 3.5 SP1 fails during SQL Installation

$
0
0

Good Afternoon,

I have  a SQL DBA who was attempting to install SQL Reporting services.

Windows 2008R2 Standard 64 bit
The ISO file is titled: en_sql_server_2008_standard_x86_x64_dvd_x14-89155
ISO has been mounted using both Virtual Clone and Daemon tools

He is receiving the following error:

Microsoft .NetFramework 3.5 SP1 install has failed

SQL Server 2008 Setup requires .Net Framework 3.5SP1 to be installed.

SQL Database Engine is already installed on this server.
Visual Studio 2008 is installed also. If I open VS and choose Help, About it shows that 3.5SP1 is installed.

Tried downloading it and installing it manually, but the installer does not start.
.Net Framework is installed as a Windows Feature in Server Manager.  Removed it from there, tried to rerun the downloaded installer and received message that it had to be loaded through Roles Management tool.

Needless to say this is frustrating as I have been looking at various sites and have not found a solid resolution.

Thank You

Brian D.

Viewing all 7701 articles
Browse latest View live


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