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

Cannot restore my ms-sql db locally

$
0
0

I have the same ms-sql db on 3 different ISP's (call them db1, db2, db3) and they all work fine on the 3 different e-commerce sites.

I am able to restore my db1 locally in SQL Express and run it from my local installation, however if I try to restore from db2 or db3 they error out, even though db2 and db3 are testing  installations of the same db only with different data.

Before I try to restore db2 or db3 I delete db1 and db1_LOG from the SLQ Express DATA folder. Is there anything else I should be doing?

Thanks,

Allen Cunningham


Life is hard, but it's harder when you're stupid! John 'Duke' Wayne


Not able to Install SQl server 2012 Express Edition

$
0
0

I tried to Install SQl server 2012 Express edition at my system but it is stuck at first step( Install Setup Files) from yesterday it is on same place. Can you pls help me to install SQL server 2012

Regards

Sandeep Thakur


Regards Sandeep

One laptop, two projects, one with SqlServer 2012 and the other with SqlServer 2012 Express

$
0
0

Hello,

   I have two projects I need to put on one laptop  - one which requires Sql Server 2012 R1, and the other which requires Sql Server 2012 Express. I have never used Express, and don't know if I need to download both Sql products? Or will Sql Server 2012 R1 contain all of the functionality needed to deploy a project that requires Sql Express 2012 running on a server on a network? I have MSDN licenses for Sql Server 2012 R1.  Will I need to create an instance for 2012 R1 and an instance for SqlExpress?  

Also, I am rebuilding the laptop from scratch.  I just installed Windows 7.  I also need VS2010 (for which I also have an MSDN license.)  Which should I install first? Sql Server or Visual Studio?

Any advice is greatly appreciated.

Thanks

setup disappears/fails when installing Setup Support files

$
0
0

I am trying to install SQL Server 2008 Express with advanced services but when i get to the support files installation, the window close and the next one does not appear.

Help me please.

KB2463332 fails to install on XP machine

$
0
0

I've been poking around these forums for a while now, trying to figure out why I cannot get this to install on one of our machines.  I have tried all the suggestions microsoft has to offer.  I ran the standalone installer, that did not work.  I tried to start up in a clean boot mode with limited services running, that didn't work.  Here is a copy of the summary text.

Time: 12/13/2012 09:56:01.045

KB Number: KB2463332

OS Version: Microsoft Windows XP Professional Service Pack 3 (Build 2600)

Package Language: 1033 ENU; Package Platform: x86; Package SP Level: 4; Package Version: 5000

****************************************************************************************

Prerequisites Check & Status

SQLSupport: Passed

****************************************************************************************

Products Detected                                                                Language     Level       Patch Level

Platform Edition

Express Database Services (MSSMLBIZ)                               ENU               SP2        2005.090.3042.00 x86

   Express

Express Database Services (SQLEXPRESS)                           ENU               SP4        2005.090.5000.00 x86

   Express

****************************************************************************************

Products Disqualified & Reason

****************************************************************************************

Process Locking Files

Process Name            Feature                                         Type                      User Name

PID

****************************************************************************************

Product Installation Status

Product                             :  Express Database Services (MSSMLBIZ)

Product Version(Previous):  3042

Product Version (Final)     :

Status                              :  Failure

Log File                            :  C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9Express_Hotfix_KB2463332_SQLEXPR.EXE

SQL Express Features     :  SQL_Data_Files, SQL_Engine, SQL_SharedTools

Error Number                   :  3417

Error Description              :  Unable to install Windows Installer MSI file

---------------------------------------------------------------------------------------------------------------------------------------------

So anyhow, you can see the summary.txt of what is going on.  Does anyone have any ideas on how to move forward with this.  In the meantime I hid the update because I didn't want the computer to keep trying to reinstall the file.  

Thanks 

How to SQL Server icons in start menu (Win Server 2012 R2)

$
0
0

Hi Folk's,

I have an installation of SQL Server 2012 Developer Edition on Windows Server 2012 R2.  The installation was successful with the exception I have no SQL icons in the start menu - so I can't run the SQL Server Management Studio without going and looking for the executable.

Does anyone know how I can re-generate the icons. I have tried doing a repair but this did not work.

Regards

Andy

Should I use Distributed Replay Utility?

$
0
0

I'm planning an update from SQL 2008 to 2012. I have a very heavy workload where most of the work is done using automatic processes (99.5%), and I would like to test all automatic processes before upgrading. I wanted to replay traces on TEST. when I upgraded from SQL 2000 to SQL 2008 I tried to use Profiler replay but it had so many issues that I just had to put a lot of effort in it in order to make it run, and eventually it didn't give me any usable results as it failed on many things (first on wrong DB_ID, then I had to recreate the whole environment (50 databases) back to the original point to time in order to run the traces on the right state) and so on.

I wonder if any body has experience with the Distribution Replay utility, and if it is a recommended tool to use.

Service Not Starting after upgrade of Sql Server 2012 to SP1

$
0
0
We recently upgraded out Sql Server 2012 RTM instance to SP1 base configuration. After the upgrade, the Sql Server Service fails to start up clean.
I checked the log, the failure is when Sql Server runs the final upgrade script. I added the trace flag -T902 to the startup parameters to prevent it from running the scripts and the service started. The Sql Server is now showing version Sp1 but it does not start if I remove the trace floa -T902. I also added trace flag -T3601 to print out the batch details in the log and noticed that the error "The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction." is created when running the below statement. If I run the below query seperately it runs fine. No sure how to get this fixed and service restarted without using the -T902 flag. 

EXEC sp_dbcmptlevel @dbname = 'msdb', @new_cmptlevel = '100'


Below is the last entries on the Error Log. 

----------------------------------
2013-11-19 10:42:17.74 spid5s Starting execution of PRE_MSDB.SQL
2013-11-19 10:42:17.74 spid5s ----------------------------------
2013-11-19 10:42:17.84 spid5s Error: 3930, Severity: 16, State: 1.
2013-11-19 10:42:17.84 spid5s The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction.
2013-11-19 10:42:17.84 spid5s Error: 912, Severity: 21, State: 2.
2013-11-19 10:42:17.84 spid5s Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 3930, state 1, severity 16. This is a serious error condition which might interfere with regular operation and the database will be taken offline. If the error happened during upgrade of the 'master' database, it will prevent the entire SQL Server instance from starting. Examine the previous errorlog entries for errors, take the appropriate corrective actions and re-start the database so that the script upgrade steps run to completion.
2013-11-19 10:42:17.84 spid5s Error: 3417, Severity: 21, State: 3.
2013-11-19 10:42:17.84 spid5s Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
2013-11-19 10:42:17.84 spid5s SQL Trace was stopped due to server shutdown. Trace ID = '1'. This is an informational message only; no user action is required.

Upgrade SQL server 2008 R2 Enterprise to SQL server 2008 SP1 Standard x64 - issue

$
0
0

Hello,

I had a trial SQL server database running SQL Server 2008 R2 enterprise edition. The trial expired and I have a SQL server 2008 SP1 standard edition with a key. So, I wanted to upgrade from the trial product to the new one: it's working and into the SQL installation logs, there is no error or failed status.

But I'm unable to recover the database of Dynamics CRM 2011 (not a productive environment, it's just for testing purposes). I cannot browse this database with Management Studio and get this error into logs: Database 'xxx'_MSCRM' cannot be started because some of the database functionality is not available in the current edition of SQL Server.

What should I do? Could it be a Dynamics CRM 2011 related error as this edition of SQL server should be compatible with Dynamics CRM 2011 or is it related to the edition I upgraded to?

Thank you

SQL Server 2008 Install (Standard) - Error "Restart Computer" requirement

$
0
0
what do I do now.  The SQL 2008 install fails every time.  I restarted my PC but the installation keeps telling me the Restart Computer requirement still has not been done.

Error


RebootRequiredCheckChecks if a pending computer restart is required. A pending restart can cause Setup to fail.FailedA computer restart is required. You must restart this computer before installing SQL Server.

SQL Server 2012 Standalone Setup

$
0
0

Hi,

I'm setting up two new SQL 2012 SP1 Standart Edition on two brand new VM's.

Setup goes smoothly until I select all the components and then I press Next.  The setup seems freezes showing "Please Wait":

Looking at the setup log I'm finding a error that never seen before and that I'm not able to find any valid references on the internet:

(05) 2013-11-19 03:42:03 Slp: Running Action: SetMultiInstanceTransformAction

(05) 2013-11-19 03:42:03 Slp: Error: Action "Microsoft.SqlServer.Configuration.SetupExtension.SetMultiInstanceTransformAction" threw an exception during execution.

(05) 2013-11-19 03:42:03 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Value cannot be null.

(05) 2013-11-19 03:42:03 Slp: Parameter name: Cannot find SqlDiscoveryData in Datastore ---> System.ArgumentNullException: Value cannot be null.

(05) 2013-11-19 03:42:03 Slp: Parameter name: Cannot find SqlDiscoveryData in Datastore

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Configuration.SetupExtension.QueryPackageTransforms.set_DatastoreDiscoveryData(XmlDocument value)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Configuration.SetupExtension.SetMultiInstanceTransformAction.ExecuteAction(String actionId)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)

(05) 2013-11-19 03:42:03 Slp:    --- End of inner exception stack trace ---

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

(05) 2013-11-19 03:42:03 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()

Can anyone give me any hint on this ?

Thanks

Eduardo Barbosa


SQL 2012 on Windows 2012 R2

$
0
0

Can we install sql 2012 on the new windows 2012 R2 server?

Where can we find black on white that is supported?

Upgrade and Merge Different SSRS Server Editions

$
0
0

Hi,

I have two report servers [serverA and serverB].Both got reports server installed...
2005 SSRS on serverA
2008 R2 SSRS on serverB

I want to move both SSRS servers to a completely new server which will run SSRS 2008 R2.

Is it possible to merge both servers together onto a new server?

Thanks

Deploy SQL Management Studio 2012 through SCCM

$
0
0

Hello,

Has anyone successfully deployed SQL Management Studio 2012 with SCCM?

A couple of specific questions:

- Which folder from the SQL Media is required to ensure that only Management Studio deploys (we would like to limit the size of the deployment Package)?

- What command line options do we need to use to install the Advanced version of Management Studio with all of the Tools and Books Online.  I have found the following but there is not a clear distinction about what is required and what is optional: http://msdn.microsoft.com/en-us/library/ms144259.aspx

- Can someone confirm the following command line options for machine that has 2008 R2 Management Studio on it?
Setup.exe /q /ACTION=upgrade /IACCEPTSQLSERVERLICENSETERMS /FEATURES=Tools

- Can someone confirm the following command line options for a new installation of 2012 Management Studio?
Setup.exe /q /ACTION=Install /IACCEPTSQLSERVERLICENSETERMS /FEATURES=Tools

- Do I need to use /PID for the product key if I am only installing Management Studio?

Thank you,

Matt

WMI Config Error Installing SQL2k5 Standard Edition

$
0
0

This is (some of) the output from the Core(Local)log:

If possible, determine action
Machine = DJONES-XP, Article = WMIServiceWin32OSWorking, Result = 2147500034 (0x80004002)
Machine = DJONES-XP, Article = WMIServiceWin32CompSystemWorking, Result = 2147500034 (0x80004002)
Machine = DJONES-XP, Article = WMIServiceWin32ProcessorWorking, Result = 2147500034 (0x80004002)
Machine = DJONES-XP, Article = WMIServiceReadRegWorking, Result = 0 (0x0)
Machine = DJONES-XP, Article = WMIServiceWin32DirectoryWorking, Result = 70347 (0x112cb)
Machine = DJONES-XP, Article = WMIServiceCIMDataWorking, Result = 70347 (0x112cb)
Machine = DJONES-XP, Article = XMLDomDocument, Result = 0 (0x0)
*******************************************
Setup Consistency Check Report for Machine: DJONES-XP
*******************************************
Article: WMI Service Requirement, Result: Error
Description: Windows Management Instrumentation (WMI) is not functioning properly. Further checks cannot be performed. Action: Please make sure Windows Management Instrumentation (WMI) is functioning properly.
The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine DJONES-XP Error:2147500034 (0x80004002).
The checkResult returned is 2147500034
The checkResult for local machine returned by CheckSCCResult is 70036
Setup is unable to proceed because one of scc articles failed. Please address those errors before continuing the setup.

Thanks DeWayne

 


Licensing Question

$
0
0

We will soon be upgrading a vendor's application which is currently running on SQL 2000.  At present, the application is only supported on SQL server 2008 R2.  I'm assuming that SQL 2008 R2 volume licensing is no longer available, and that we will need to purchase SQL 2012 and then use downgrade rights.

Our scenario:  Currently we have a single SQL 2000 server on a single network serving an application to about 40 workstations. In addition, there is a public facing website that connects to the database back end. Thus we are using the SQL per processor licensing. Nice and simple.

Upgrade scenario:  Small Business Server 2011 with premium add on (PAO) license gives us a license to use SQL 2008 R2, but with the public facing website in the mix, I believe the existing PAO license will not work - unknown number of CALs required. The version of SQL 2008 R2 included in the PAO is "Microsoft SQL Server 2008 R2 for Small Business" which is actually "Microsoft SQL Server 2008 R2 Standard".  We plan on running the SQL server (2008 r2) inside an Intel based Hyper-v host.

Here is what makes sense to me: (Assuming that I must follow the 2012 licensing even though downgrading to 2008)

Server with dual quad core Intel Xeons running Hyper-v 2012:

1) Production SQL Server VM with 4 virtual cores - Running SQL 2008 R2 standard - single instance, under an open license SQL 2012 4 core license.

2) Test and other uses SQL Server VM - Running the PAO license of 2008 R2 - no connection to the public facing web server.

3) Another standby Hyper-v server with similar processors setup for migrating VMs when needed.

Under this scenario I would only need to purchase 4 core license. (Two core packs)

Does this seem a workable solution?  Would I be legal?

Thanks for reading this lengthy post


Buddy G.

Filegroups and Storage

$
0
0

Hi,

I have upto 10 databases running on a single SQL Server instance on a single server.

I have read about best practice for storage and concluded the following...

1) Transaction Log on own RAID array (Raid 10) or at least on own physical disk
2) Data files(secondary filegroup) on own disk array (Raid 10 or 5)
3) Indexes on own filegroup (Raid 5)
4) Primary on Raid 1 or 5 (only system dbs)
5) Tempdb on Raid 5 or 10

So each of the above will be on separate physical disks?

Should I then have a separate disk for each secondary filegroup of each database? Or can they reside on the same disk?
How would this impact on performance?

And similar again with each Primary filegroup - should each one be on its own disk? In this case 10 separate disks for each primary filegroup?

Thanks!

Need link and compatibility check

$
0
0
I need a link to the evaluation edition of sql server 2008 R2 Standard edition. We currently use SQL server 2008 r2 express, but need to know if upgrading editions will solve our issues the way we need them to be. If so, then we will buy it! For now though we'd like to try the evaluation of the sql server 2008 r2 standard edition. I can't find a link for this download anywhere, maybe you could provide me with a 180 day serial or so? Then we could just buy the product from you if it works? I found this, but this is not what I need, for one, I need 2008 R2 not just 2008 and I also dont need enterprise, I just need the standard. Please don't refer me to 2012 editions, because I can't afford those types of prices at the moment even if we loved them, now 2008 r2 standard edition I will have enough for if the trial fairs well. Someone please help!

How to copy Restore database in new server and new domain.

$
0
0

Hai all,

I'm trying to backup a database from one SQL server and restore it to another (both are SQL2008 R2) but diff domain. 

when I try run few query, the output is empty. Please advise.


noor hafizah

Install 2008 R2 on Windows Server 2012

$
0
0

Hi,

I am trying to install SQL Server 2008 R2 SP1 on Windows Server 2012 Datacenter.

However, I get below warning when running setup.exe:

"your version of microsoft sql server (2008 and 2008 r2) isn't compatible with this version of windows"

How do I find what prerequisite I need?

Thanks


Viewing all 7701 articles
Browse latest View live


Latest Images