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

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

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

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."

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


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 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

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.

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.

Issues uninstalling SQL Server 2008R2 instance - nothing in Select Features

$
0
0

I have a server running Windows 2008 R2 SP1.  It is a large server with lots of memory and hard drives.
On this server there are 11 SQL Server 2008R2 Instances installed.  Versions: (9) 10.50.1600.1, (1) 10.51.2500.0, (1) 10.51.2769.0, and the <Shared Components> are 10.51.2769.0.

I want to uninstalled 1 of the 10.50.1600.1 SQL Server Instances.
Open[Control Panel], right click on [Microsoft SQL Server 2008 R2 (64-bit)] and pick "Uninstall/Change".
The [Setup Support Rules] opens and passes all tests, click [OK].
The [Remove SQL Server 2008R2] window opens.
The "Select Instance" page displays.  I select the Instance I want to delete, click [OK].

The "Select Features" page displays, however, it does NOT list the Instance information for me to check to uninstall.  The only thing listed on the screen is the "shared Features".

I have seen posts that say to uninstall the SP, but this instance has NOT had any SPs applied.
I find it hard to beleive that I need to uninstall the SP from the shared features.

Does anyone have any idea how to get this instance deleted??

I tried to select the 10.51.2769.0 Instance and got the same results.

Thanks in advance,
Randy

Move SQL from one server to antoher

$
0
0
I currently have SQL on an SBS 2011 Premier server. There is a conflict with the primary app and Exchange. I need to completely move SQL onto a different dedicated app server. How can I do this and how would licensing be impacted?

Process is Running on the Taskbar instead of coming on the Forground

$
0
0

Hi Team,

Recently i have used the ProcesStartInfo Class to launch one exe through the UI. It is opening currently in the Debug mode but when i am trying from the UI. The process is opening  the Exe in the Taskbar. It should run the Exe in the Forground so anybody can see on the Monitor not on the Taskbar.

Thanks in Advance.

Sumit

SQL server 2014 and Sql 2012 installation on VMWare machine

$
0
0

Hi ,

Please let me know Can we Install SQL Server 2014 RTM version and SQL Server 2012 SP1 On Vmare machine version 9.

Does it Supports on VMware 9 . If yes please give me the links .

Thanks a lot

Viewing all 7696 articles
Browse latest View live


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