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

Add New Node to SQL Server 2008 x64 Cluster ..Element not found. (Exception from HRESULT: 0x80070490)


MSSQL 2012 How to update to SP3

$
0
0

i use MSSQL 2012 no service pack (sharepoint database) ,

 i have proprem error rbs 211 ,

so i want to update to sp3 ( Error when you run RBS Maintainer in SQL Server 2012 or SQL Server 2014   https://support.microsoft.com/en-us/kb/2979304)

can i update to 2012-->sp3  or update 2012-->sp1->sp2->sp3

best regards



chatchai-netd

The specified value for setting 'SAPWD' is invalid. The expected value type is SqlSecureString.

$
0
0

 

when using this command to do a silent install of SQL Server Express 2008 on my XP machine,

 

setup100.exe /quiet /ACTION=install /FEATURES=SQL /INSTANCENAME=REMOTEVIEW2

/SECURITYMODE=SQL /SAPWD="sensor123$" SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM"

 

04/17/2008 12:17:00 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
04/17/2008 12:17:00 Slp: Inner exceptions are being indented
04/17/2008 12:17:00 Slp:
04/17/2008 12:17:00 Slp: Exception type: Microsoft.SqlServer.Chainer.Infrastructure.InputSettingValidationException
04/17/2008 12:17:00 Slp:     Message:
04/17/2008 12:17:00 Slp:         The specified value for setting 'SAPWD' is invalid. The expected value type is SqlSecureString.
04/17/2008 12:17:00 Slp:     Stack:
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.SaveInputSettingValueToObjectSqlSecureString(String settingName, Object hostingObject, PropertyInfo propertyInfo, Type propertyType, String[] stringValues)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.SaveInputSettingValueToObject(InputSettingInfo inputSettingInfo, List`1 values)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.SaveParsedArgumentsIntoInputSettingStore(InputSettingSource source, Dictionary`2 parsedArguments, Boolean chainerSetting)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.ProcessCommandLineArguments(String[] commandLineArguments, Boolean chainerSetting)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Configuration.BootstrapExtension.ProcessFeatureCommandLineArgumentsAction.ExecuteAction(String actionId)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
04/17/2008 12:17:00 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

 

I have searched this forum and my SQL SERVER 2005 book by Wrox and have not found the information to get around this issue.

 

D2D2

Opening port 1433 between 2 clustered instances

$
0
0

We have 2 clustered SQL instances (2 physical servers in each cluster). Instance2 needs to be setup as a linked server on Instance1.

At this time port 1433 between them is not open. I am referring to the port on the network switch, not in the Windows Firewall (ports in Windows Firewall are already open).

Is opening the port between virtual IP-s sufficient? Or does port need to be open between all physical source/destination IP-s as well?



Upgrading from 2005 to 2008R2, how to move encryption

$
0
0

Hello All,

     I have a sql 2005 database on 2003, we are migrating this server over to 2008R2 as a clean install rather then an upgrade. I backuped up and moved over the databases as well as the logins and passwords. Everything works except one database that uses symmetric keys. I tried to create a master key for the database but it said one already existed. The symetic key already exists in the database, I can see it in SSMS. My question is how do I get the encryption working again. I have an ASP.NET application written on top of the database. It uses stored procedures in the database, they open the key as follows:

open

symmetrickey CP_Login_Keydecryptionbypassword='password'

my question is how do I get the encryption working again?

NetFx3 in SQL installation

$
0
0
I am getting error while installing SQL Express about NetFx3. What should I do?

Windows server recommendations for SQL Server 2012?

$
0
0

Hi,

I'm about to setup a new virtual machine, VMware, to run a SQL server 2012 installation.  My question is about setting up the underlying Windows server. 

I'm planning on using Windows server 2012 R2 and wondering what do I need to include in the server installation? 

What roles or features should I install or configure? 

Should I plan to install SQL server on the C: drive or a separate drive?

Should I plan to create the databases on the same drive as the SQL installation?  I am thinking of separating the database files from the log files on separate drives, which will be on separate LUNs in the storage array, if I can.  But would it be better to have the three components on separate drives, the SQL instance, the database files and the log files?

What else should I be considering that I haven't mentioned above?

Thanks in advance,

Linn

SQL 2012 update to Sp1 error

$
0
0

012-12-04 10:16:11.54 spid5s      Starting u_Tables.SQL at  04 Dec 2012 10:16:11:543
2012-12-04 10:16:11.54 spid5s      This file creates all the system tables in master.
2012-12-04 10:16:11.55 spid5s      drop view spt_values ....
2012-12-04 10:16:11.58 spid5s      Creating view 'spt_values'.
2012-12-04 10:16:11.69 spid5s      drop table spt_monitor ....
2012-12-04 10:16:11.70 spid5s      Creating 'spt_monitor'.
2012-12-04 10:16:11.72 spid5s      Grant Select on spt_monitor
2012-12-04 10:16:11.73 spid5s      Insert into spt_monitor ....
2012-12-04 10:16:11.75 spid5s      Error: 25641, Severity: 16, State: 0.
2012-12-04 10:16:11.75 spid5s      For target, "package0.event_file", the parameter "filename" passed is invalid. Target parameter at index 0 is invalid
2012-12-04 10:16:11.75 spid5s      Error: 912, Severity: 21, State: 2.
2012-12-04 10:16:11.75 spid5s      Script level upgrade for database 'master' failed because upgrade step 'u_tables.sql' encountered error 25641, state 0, 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.
2012-12-04 10:16:11.76 spid5s      Error: 3417, Severity: 21, State: 3.
2012-12-04 10:16:11.76 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.

Any suggestions what can be done? - Im am able to start the service with net start mssql$sql2012 /t902 and when starting it without /t902, i get 3547 Error.



SQL Server 2008 Installation Hangs on Install_sql_tools_Cpu64_Action: Write_NativeImage64. Generating Native Images

$
0
0
Hi, I have been trying to Install Sql Server 2008 on my 64 bit Vista Ultimate machine.  It gets about 70% through the installation and hangs on the part that says "Install_sql_tools_Cpu64_Action: Write_NativeImage64. Generating Native Images"  I have tried for the last 3 days with no luck.  I have tried un-installing and deleting directories but no luck.  I have scene several posts about the same problem but no solutions except one guy who uninstalled every thing but SQL Server 2008 and re-installed.  I have tried that but it did not help.

Product Key with SQL Server 2008r2 - 2012 Upgrade

$
0
0

Hello there,

Please forgive my ignorance, this is the first time I have performed this procedure.

Essentially I am upgrading SQL Server Standard 2008 r2 to SQL Server Standard 2012, however I have a question concerning the licensing. Do I use the 2008r2 Product Key for the 2012 upgrade? Will I need to get a brand new SQL Server 2012 Standard Product Key? I believe that 2012 licensing now deals with logical cores and the VM that is hosting SQL Server 2012 Standard has 4 logical cores.

Someone told me that I shouldn't have to worry about spending money on additional licences because we have everything we need already, but I wanted to be reassured from the professionals.

Any help is obviously greatly appreciated.

Thanks,

Tom

SQL

$
0
0

 IN E.T.L ,MY QUERY IS GOING VERY LONG TIME , SO TABLE IS TRUNCATED EVERY DAY, I THINK SO TABLE DONT HAVE FREGNENTATION , SO HOW CAN SOLVE MY PROBLEM, I NEED TO INSERT DATA ORDER BY ?

  PLZ GIVE ME SOME ADVICE

THANK U

 

Error installing SQL 2014 on Windows 10

$
0
0

When trying to install SQL 2014 express on my W10 PC I get the error " Value cannot be Null. Parameter name: value". This seems to be during HKPerfCountersConfigAction_Repair_postmsi_Engine_Cpu64.  I can't see any way past this.  I have all Firewalls etc turned off.

Does anyone know what this issue might be?

SQL 2008R2 installs okay, but I can't use that on W10.

Need my license # or product key

$
0
0

I have SQL Server 2008 R2 installed on Computer A. I want to remove it from Computer A and install it on Computer B. I have misplaced the original disk which I purchased for the install.

I presume I can download this product for the install on Computer B. I want it to be legitimate & licensed, though. Therefore, I want to locate the license or product key within the installed software or obtain it from Microsoft.

Error Adding Node to SQL 2008 R2 Cluster

$
0
0

Windows Server 2008 R2 64bit. SQL 2008 R2 64bit.

The Windows Failover cluster is installed with 2 nodes. SQL Cluster was installed successfully on node 1. Ran SQL setup to add a SQL node 2. Made it to the service accounts screen. The SQL Server Agent service account name box is grayed out and nothing can be entered. If I hit next I get the following error. I can't get past this. I looked for any cumulitive updates for R2, but there aren't any. Does anyone have a work around? If not I will have to scrap the install and go back to the non R2 version of SQL.

[Error Message]
The credentials you provided for the SQL Server Agent service are invalid. To continue, provide a valid account and password for the SQL Server Agent service.

[Details]
Microsoft.SqlServer.Configuration.Agent.InputValidationException: The credentials you provided for the SQL Server Agent service are invalid. To continue, provide a valid account and password for the SQL Server Agent service.
================================================================================

 

How to test Hyper threading and turbo boost

$
0
0
Can someone tell me how I can test the performance if hyper threading or turbo boost increases performance?

Alan


Could I "Mask" a named instance?

$
0
0

Hy,

some year ago, as a total newbie, I installed a server with a named instance. At that time I used a physical server, and moreover I probably  thought that SQL 2005 was the last version name for SQL server, so I named my instance with something like"hpserver\sql2005"...

Today I have a virtualized system, and I need to migrate SQL2005 to SQL 2014 (or 2016) and I would like to "rename" that instance.

The matter is that in last years more and more programs both with ODBC and ADO.NET connect to my server, and it's impossible to change all this programs in short time to connect to a new server.

My answer so is: it is possible to install a new server, named for example "ALPHA", and find some way to "redirect" all requests for older server to newest? I made some test and my matter is not (obviously) computer name, that I can mask with DNS, but instance name...

Hoping someone can help to correct my youth errors...

thanks

Mauro

Will installing another instance restart other instances?

$
0
0

Will installing another instance restart other instances?

Server is Windows Server 2012 R2, SQL Server is 2012.

Kind regards.

install sql server 2008 r2 .. help me

$
0
0

I recieved this error while installing sql server r2 :

An error occurred during the installation of assembly 'microsoft.vc80.CRT', Public Key Token="1fc8b3b9a1e18e3b", Type="Win32", Version="8.0.50727.762" HRESULT: 0x8007054F



SQL 2014 Install after install fail

$
0
0

I was attempting to Install SQL 2014 on my Windows 10 (Pro) machine. The installation failed to install the engine, reporting services, analysis services.. it reported an "Invalid Driver" error as the cause... Going back to retry adding those features failed to work, as the setup tool reported them as installed..  So I went through the control panel and Uninstalled all the SQL server components ... now when I attempt to re-install SQL Server, I get to the step to specify the Instance name.. I'd prefer to continue to use the default "MSSQLSERVER" instance name, however the install fails, telling me that the instance name is already in use..

How can I remove the instance name ?  I uninstalled SQL Server already... ? how is the instance still registered as in use?


Jeff

A MOF syntax error occured, installing SQL Server 2012 Advanced Express 64 bit edition

$
0
0

I'm trying to install SQL server on my windows 7 workstation and got this error:

A MOF syntax error occured.

I looked in the SQL setup bootstrap folder and found the detail.txt. It says:

(01) 2015-11-29 19:23:58 Slp: Installing WMI Provider
(01) 2015-11-29 19:23:58 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2015-11-29 19:23:58 Slp: Sco: Attempting to open registry subkey
(01) 2015-11-29 19:23:58 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\110
(01) 2015-11-29 19:23:58 Slp: Sco: Attempting to get registry value SharedCode
(01) 2015-11-29 19:23:58 Slp: SharedDirPath is C:\Program Files (x86)\Microsoft SQL Server\110\Shared\
(01) 2015-11-29 19:23:58 Slp: Attempting to install MOF/MFL file for WMI Provider C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof
(01) 2015-11-29 19:23:58 Slp: Sco: Attempting to install MOF file
(01) 2015-11-29 19:23:58 Slp: Running: C:\Windows\system32\WBEM\mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof"
(10) 2015-11-29 19:23:59 Slp: Microsoft (R) MOF Compiler Version 6.1.7600.16385
(10) 2015-11-29 19:23:59 Slp: Copyright (c) Microsoft Corp. 1997-2006. All rights reserved.
(10) 2015-11-29 19:24:00 Slp: Parsing MOF file: C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof
(10) 2015-11-29 19:24:00 Slp: MOF file has been successfully parsed
(10) 2015-11-29 19:24:00 Slp: Storing data in the repository...
(10) 2015-11-29 19:24:03 Slp: An error occurred while processing item 10 defined on lines 73 - 79 in file C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof:
(10) 2015-11-29 19:24:03 Slp: Compiler returned error 0x80070005Error Number: 0x80070005, Facility: Win32
(10) 2015-11-29 19:24:03 Slp: Description: Access is denied.
(10) 2015-11-29 19:24:03 Slp:
(01) 2015-11-29 19:24:03 Slp: Sco: Compile operation for mof file C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof failed. Exit code 3
(01) 2015-11-29 19:24:03 Slp: Configuration action failed for feature CommonFiles during timing ConfigNonRC and scenario ConfigNonRC.
(01) 2015-11-29 19:24:03 Slp: A MOF syntax error occurred.
(01) 2015-11-29 19:24:03 Slp: The configuration failure category of current exception is ConfigurationFailure
(01) 2015-11-29 19:24:03 Slp: Configuration action failed for feature CommonFiles during timing ConfigNonRC and scenario ConfigNonRC.
(01) 2015-11-29 19:24:04 Slp: Microsoft.SqlServer.Configuration.Sco.ScoException: A MOF syntax error occurred.
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof()
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_ConfigWMIProvider(Dictionary`2 actionData)
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_PostMSI(Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.InstallImpl(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2015-11-29 19:24:04 Slp:    at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2015-11-29 19:24:04 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2015-11-29 19:24:04 Slp: Inner exceptions are being indented
(01) 2015-11-29 19:24:04 Slp:
(01) 2015-11-29 19:24:04 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2015-11-29 19:24:04 Slp:     Message:
(01) 2015-11-29 19:24:04 Slp:         A MOF syntax error occurred.
(01) 2015-11-29 19:24:04 Slp:     HResult : 0x84bb0001
(01) 2015-11-29 19:24:04 Slp:         FacilityCode : 1211 (4bb)
(01) 2015-11-29 19:24:04 Slp:         ErrorCode : 1 (0001)
(01) 2015-11-29 19:24:04 Slp:     Data:
(01) 2015-11-29 19:24:04 Slp:       SQL.Setup.FailureCategory = ConfigurationFailure
(01) 2015-11-29 19:24:04 Slp:       WatsonConfigActionData = INSTALL@CONFIGNONRC@COMMONFILES
(01) 2015-11-29 19:24:04 Slp:       WatsonExceptionFeatureIdsActionData = System.String[]
(01) 2015-11-29 19:24:04 Slp:     Stack:
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof()
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_ConfigWMIProvider(Dictionary`2 actionData)
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.Install_PostMSI(Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.Slp.SlpConfigurationPrivate.InstallImpl(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
(01) 2015-11-29 19:24:04 Slp:         at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
(01) 2015-11-29 19:24:04 Slp: Watson Bucket 1
 Original Parameter Values

(01) 2015-11-29 19:24:04 Slp: Parameter 0 : SQL Server 2012@RTM@

(01) 2015-11-29 19:24:04 Slp: Parameter 1 : Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof

(01) 2015-11-29 19:24:04 Slp: Parameter 2 : Microsoft.SqlServer.Configuration.Sco.WmiProvider.InstallMof

(01) 2015-11-29 19:24:04 Slp: Parameter 3 : Microsoft.SqlServer.Configuration.Sco.ScoException@1211@1

(01) 2015-11-29 19:24:04 Slp: Parameter 4 : Microsoft.SqlServer.Configuration.Sco.ScoException@1211@1

(01) 2015-11-29 19:24:04 Slp: Parameter 5 : Slp_Config_Install_Core_WMI_Provider

(01) 2015-11-29 19:24:04 Slp: Parameter 6 : INSTALL@CONFIGNONRC@COMMONFILES

(01) 2015-11-29 19:24:04 Slp:
 Final Parameter Values

(01) 2015-11-29 19:24:04 Slp: Parameter 0 : SQL Server 2012@RTM@

(01) 2015-11-29 19:24:04 Slp: Parameter 1 : 0xA60E3551

(01) 2015-11-29 19:24:04 Slp: Parameter 2 : 0xA60E3551

(01) 2015-11-29 19:24:04 Slp: Parameter 3 : 0xD3BEBD98@1211@1

(01) 2015-11-29 19:24:04 Slp: Parameter 4 : 0xD3BEBD98@1211@1

(01) 2015-11-29 19:24:04 Slp: Parameter 5 : Slp_Config_Install_Core_WMI_Provider

(01) 2015-11-29 19:24:04 Slp: Parameter 6 : 0x4E91350D

(01) 2015-11-29 19:24:06 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Microsoft_Microsoft SQL Server.reg_
(01) 2015-11-29 19:24:12 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2015-11-29 19:24:13 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
(01) 2015-11-29 19:24:13 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft SQL Server.reg_
(01) 2015-11-29 19:24:13 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2015-11-29 19:24:13 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151129_184406\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
(01) 2015-11-29 19:24:50 Slp: A MOF syntax error occurred.
(01) 2015-11-29 19:24:50 Slp: Watson bucket for exception based failure has been created
(01) 2015-11-29 19:38:42 Slp: Error: Action "Slp_Config_Install_Core_WMI_Provider_Cpu64" failed during execution.
(01) 2015-11-29 19:38:42 Slp: Completed Action: Slp_Config_Install_Core_WMI_Provider_Cpu64, returned False

How do I rectify this? Grateful for your advice.

Viewing all 7696 articles
Browse latest View live