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

Unable to install SQL Server 2012 Developer

$
0
0

I have a problem with installing SQL Server 2012 (no matter which edition I choose). Installation usually runs well, but near the end shows up an error:

TITLE: Microsoft SQL Server 2012 Service Pack 1 Setup
------------------------------

The following error has occurred:

Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%25400x4BDAF9BA%25401306%254026

------------------------------
BUTTONS:

OK
------------------------------

The help link points to not-existing article on MSDN page. After I click OK button, the installation reaches it's end and shows up another, which tells, that Database Engine Services, Reporting Services - Native, Data Quality Services, Full-Text and Semantic Extractions for Search and SQL Server Replication failed to install.

After that I am able to start, for example SQL Management Studio, but cannot connect to database. Also services of SQL Server (Server, Server Agent, Full-text Filter, Reporting Services) are stopped and I am not able to start them manually (any try throws an error: "The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details").

I tried complete reinstalling of SQL Server, cleaning registry entries, different editions of that software - none method helped. Also, I tried the .iso images of installation media on other computers - it worked well and installed without any errors. My OS is Windows 8.1 x64.


"CreateAdventureWorksForSQLAzure.cmd is not recognised as an internal or external command, operable program or batch file"

$
0
0

Recently I've been trying to install AdventureWorks on my Azure account, following all the directions in this post:

http://blogs.msdn.com/b/kaevans/archive/2015/03/06/adventure-works-for-azure-sql-database.aspx

However, I keep getting the message "CreateAdventureWorksForSQLAzure.cmd is not recognised as an internal or external command, operable program or batch file", so I'm not sure what is going on here. Can anyone help me on this?

Erreur 0x80071a9a when installing sql serveur 2012 on windows 10

$
0
0
TITLE: Microsoft SQL Server 2012  Setup
------------------------------
The following error has occurred:
SQL Server Setup has encountered an error when running a Windows Installer file.
Windows Installer error message: An error occurred during the installation of assembly 'Microsoft.VC80.ATL,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processorArchitecture="x86",type="win32"'. Please refer to Help and Support for more information. HRESULT: 0x80071A91.
Windows Installer file: C:\bc4c21546be05b503ad8f59843\PCUSOURCE\1033_ENU_LP\x64\setup\sqlsupport_msi\SqlSupport.msi
Windows Installer log file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20150909_135810\SqlSupport_Cpu64_1_ComponentUpdate.log
Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0xDC80C325
------------------------------
BUTTONS:
&Retry
Cancel
------------------------------

SQL Mirroring

$
0
0
What are the traces of mirroring and how to use ?

j.kumar

SQL Server Memory

$
0
0

Hello Folks,

I have a question with SQL Server RAM consumption, I have a customer who is running Microsoft Dynamics GP with too many users and too many applications, they had 32 GB RAM on the server and the SQL was consuming the full memory, I started the investigation and below what we did:

1. We have increased the RAM of the server to be 128 GB, their SQL Memory consumption was the same, it took all the available memory.

2. We have segregated the SQL databases into 2 clustered servers and implemented ACTIVE/ACTIVE clustering by having two instances of SQL on each server, kept the major "database" on one server and  moved all other databases to the second server, the second server memory is good and stable, but the first server is still consuming the full memory of the server.

3. We started investigating the database itself, we found major consumption of SQL Memory from custom reports the users been running with un-optimized queries, we have resolved this by creating a "Log Shipping" setup for the database to a new server and moved all the reporting connections to the new server, performance of the server was enhanced a bit, but it still consuming high memory of the server and sometimes by end of the day it reaches the full server memory.

4. Upgraded from SQL Server 2005 to SQL Server 2012 with SP2!

All the above left the SQL for this database that is being used by Microsoft Dynamics GP only and for around 70 concurrent users, which we normally estimate to require 70-80 GB of memory with other customers, but here it is consuming 120 GB and sometimes users reporting slowness and "hangs" during transactions processing, and the only way to reduce the memory usage is by restarting the SQL Server service after working hours.

My questions are the following:

1. Is there a way to get a list of processes and queries that are currently consuming the SQL Server memory? I need to know what is really consuming the memory to take actions accordingly, I tried the "Processes" tab of the "Activity Monitor", but the "Memory Use" column is always between 16 and 24 KB for each query, is there a way to get a break down for all queries that is consuming the memory, so the summation of these will represent the actual memory usage? I found too many scripts over the internet but none returned what I am looking for.

2. Lets say the a big process was initiated and caused the SQL to consume the server memory, is there a way to release this memory usage after the disposal of the process? So the SQL memory usage returns back to the normal situation?

Regards,

Mohammad R. Daoud - Dynamics GP MVP


Regards, Mohammad R. Daoud MVP, MCP, MCBMSP, MCTS, MCBMSS Mob: +962 - 79 -999 65 85 mohdaoud@gmail.com http://mohdaoud.blogspot.com/


Setup failed - no package

$
0
0

I tried to install a sql 2005 desktop engine. This fails with the error:Tongue Tied

An installaton package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package ‘sqlncli.msi’

 

I used a fresh, new download SQLEXPR.EXE.

What shall I do?

 

SQL Edition upgrade

$
0
0

I installed SQL 2012 sp1 enterprise evaluation because at the time of the start of the project the licenses was not available.

The SQL eval has expired and now I have to do an edition upgrade. I have looked in to it and it should go smoothly just want to check if there is anything i have missed .

https://technet.microsoft.com/en-us/...ql.110%29.aspx

Based on this I can change edition from sql 2012 sp1 enterprise evaluation to sql 2012 sp1 standard.

I am still waiting to find out whether we have the per core license or the server cal from my boss who failed to send through the license information on time, even though i asked him many times for it.

I have downloaded the ISO from the eopen that includes the license key and run the setup from that and gone to change edition and it comes prepopulated with a key.

So i think i should be ok, I will have to restart the sql server and thus stop all the applications connected to the service.

I read that some people said after changing editions they had problems with the service accounts being reset and changed. Has anyone done this before and have any advice to prevent any issues?


Another question, under the eopen it states there that there is two different license version of the same ISO. ie SQL Server 2012 Standard Edition with SP1 – Per Core and SQL Server 2012 Standard Edition SP1 – Server/CAL.

Both ISO look 100% identical in file name and size. Will i have to find out from my boss which license type he went with when installing the ISO or will it not matter? Just seems odd taht they would have two identiical ISO with different names. There is also a confusing message, "Special Instructions Please Note: SQL Server Standard 2012 with SP1 and SQL Server Standard Core 2012 with SP1 contain the same software."

Installation of SQL Express 2014 blocked by Framework 4.0

$
0
0

Hello,

I have a very strange problem when I try to install SQL Express 2014 on 1 PC on my network.

The setup is blocking on the step "rules of functionnality" (I hope it is the good translation ...).

I ha ve a message that indicates that there is a problem the following checking : "It exists a Internet connection with the download center for Microsoft Framework 4.0". At the beginning I had Framework 3.5 and 4.5 installed on the PC.

When I tried to install manually Framework 4.0 I had a message that indicated that the setup was not possible because there was a Superior version. So I uninstall v4.5 and install v4.0 normally.

I run again SQL 2014 Express setup but I have always the same error. I take a look on Internet to look for the same problem but I found nothing.

Does someone can help me ?

Thanks in advance.

Anthony


Microsoft SQL Server Management Studio: Index was outside the bounds of the array. (Microsoft.SqlServer.Smo)

$
0
0

I am getting this error "Index was outside the bounds of the array. (Microsoft.SQLServer.Smo)"


I have downloaded a hotfix, but when I tried running the patch, I was told the expected version is 10.2.4000.0, I am running 10.0.1600.22.


I can not locate the correct patch for my version.


Here is more information that may help.


Microsoft SQL Server Management Studio10.0.1600.22 ((SQL_PreRelease).080709-1414 )
Microsoft Data Access Components (MDAC)6.1.7601.17514 (win7sp1_rtm.101119-1850)
Microsoft MSXML3.0 6.0 
Microsoft Internet Explorer9.11.9600.17041
Microsoft .NET Framework2.0.50727.5485
Operating System6.1.7601

Enabling FILESTREAM on SQL Server 2012 (x64) and Windows 8 (x64)

$
0
0

Hi!

I'm trying to activate FILESTREAM on my SQL Server 2012, however i'm not accomplishing it. I've tried to follow this instructions: http://technet.microsoft.com/en-us/library/cc645923.aspx

My SETUP is the following:

  • Windows 8 (64 bit)
  • SQL Server Standard Edition - Service Pack 1 (64 bit)
  • SQL Version: (11.0.3128.0)

When I go to the configuration manager, on the FILESTREAM tab has a message:

"A previous FILESTREAM configuration attempt was incomplete.

FILESTREAM may be in an inconsistent state until re-configured."

If I click Enable FILESTREAM and "Apply", I get the following message:

"There was an unknown error applying the FILESTREAM settings. Check the parameters are valid. (0x80070002)"

I also read somewhere to run "EXEC sp_configure", which produces the result:

"filestream access level - 0 2 2 0"

Running "SELECT SERVERPROPERTY ('FilestreamEffectiveLevel');" returns 0.

What might be the problem?
Thanks.

SQL Instance

$
0
0

How to rename SQL instance ?


j.kumar

Database Backup restore

$
0
0
I want to restore my SQL Server 2000 database backup to SQL Server 2014.

But can't able to do .

SQL migration 2014 tool of SQL Server 2014 on Windows 8.1

$
0
0

I can get the Management Studio to connect to my named and default instances, even the report service and the profiler as well as the configuration tool work fine. But SSMA gives this: Connection to SQL Server failed.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)

Why would the management studio connect but not the migration application?

Kevin

Database Mirroring

$
0
0
What are the DB mirroring trace flags and how to use ?

j.kumar

Can't uninstall/install Visual Studio after hdd failure.

$
0
0

Hello! I recently started using Visual studio Enterprise and I've installed it on one of my secondary internal hard drives. However, yesterday the hard drive which had VS installed on it suddenly stopped working and I had to remove the drive from my computer.

Since then I've been trying to install it again, this time on my primary hard drive but without success. 
This is how it looks like when trying to run the installation file from the primary hdd: http://imgur.com/QwkVROc
Changing path is greyed out, making it impossible to change the location. 
There is no drive on D so it has to do with something in the regeditor.

I have removed every single file that was installed during the day that I got VS (2015-08-21) except for two remaining files/installations. Those two are "Microsoft SQL Server Data Tools - enu (14.0.50616.0) " and "Entity Framework 6.1.3 Tools for Visual Studio 2015". 

When I try to uninstall these files it says "Invalid Drive: D:\"

Any friendly soul that can help me out? I have no idea on how to fix this without format and reinstall windows, which is the last thing I want to do.

P.S I couldn't find a good category to put this post in, please move it if you know where it should belong. 


All MSSQL server updates fail

$
0
0

All the normal windows updates succeed. I did have major troubles installing SQL Server Express.

http://www.sevenforums.com/general-discussion/380691-can-user-have-ownership-c-windows-temp-folder.html

Avast was blocking writes to windows\temp folder.

So could it be related?

Upgrading from SQL Server 2008 R2 SP2 to SQL 2012

$
0
0

Hi,

I have evaluation copy of SQL 2008 R2 SP2 Enterprise edition installed. 

Now I want to upgrade it to SQL 2012 but everytime it fails at Upgrade Rules step: This version cannot be upgraded from the specified edition. I have tried all flavors but no luck.

Please help. 

Is it ok to remove duplicate system PATH entries?

$
0
0

I have a system with many versions of SQL Server installed and I am trying to clean up the PATH (since it is so long).

I noticed I have many (nearly) duplicate entries for SQL Server, varying by only the last slash.   Is it ok to remove either the ones with the slash or the ones without the slash?   For example:

C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\
C:\Program Files\Microsoft SQL Server\100\DTS\Binn
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files\Microsoft SQL Server\100\Tools\Binn
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\110\DTS\Binn
C:\Program Files\Microsoft SQL Server\110\DTS\Binn\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files\Microsoft SQL Server\120\DTS\Binn
C:\Program Files\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files\Microsoft SQL Server\120\Tools\Binn
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\


MSDN premium subscriber

SQL Service Account configuring with Domain Account

$
0
0

I have SQL Server 2014 installed successfully and when I try to chnage the service account to Domain account from the configuration manager I get the error as WMI Provider error could not find the object.

And after that I can see that the domain account is configured with service account and is in stopped state.

When I try to start the service account it says could not start in a timely fashion.

Thanks

Sql 2008: change database(s) owner to "dbo"

$
0
0

We have a number of sql 2008 server with database owners running the gamut from current AD users (in Dev), "sa", dbo,  AD name of past DBA, etc. No rhyme or reason at all that I can detect. I am considering changing all database owners to "dbo". What are the consequences of this?

TIA,

edm2

Viewing all 4282 articles
Browse latest View live


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