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

SQL Server 2012 Sp2 CU8 Patch Failed

$
0
0

Hi Team,

We are trying to Patch Our Dev SQL Server Environment. But its Failing with below Issue. Could any please suggest on this.

Overall summary:
  Final result:                  The patch installer has failed to update the following instance: POWERPIVOT. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2057043967
  Start time:                    2015-11-16 04:26:42
  End time:                      2015-11-16 04:30:49
  Requested action:              Patch

Instance POWERPIVOT overall summary:
  Final result:                  The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2057043967
  Exit facility code:            1380
  Exit error code:               1
  Exit message:                  There was a failure to calculate the default value of setting SSRSSHAREPOINTMODECHECK.
  Start time:                    2015-11-16 04:27:37
  End time:                      2015-11-16 04:30:48
  Requested action:              Patch
  Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5634.1&EvtType=0x197F18B0%400x42810649&EvtType=0x197F18B0%400x42810649

Regards,

Revathi


How to install SQL Server Express without account service password

$
0
0

Hello people,

I'm attempting to install SQL Server 2012 Express from command line with silent mode, this installation is embedded with a console application:

static void Main(string[] args)
{
    Console.WriteLine("Old instances count: " + Tools.GetLocalSqlServerInstanceNames().Count);
    string SetupDirectory = System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
    string sqlSetupFileName ="SQLEXPR_x86_ENU.exe";

    if (System.IO.File.Exists(SetupDirectory + @"\" + sqlSetupFileName))
    {
        string command = "SQLEXPR_x86_ENU";
        string argument = string.Format("/X: \"{0}\\SQLEXPRESSSTUP\", SetupDirectory);
        int resu = Tools.ExecuteCommand(command, argument);

        if (resu == 0)
        {
            argument = "";
            argument += " " + "/ACTION=Install";
            argument += " " + "/FEATURES=SQLEngine";
            argument += " " + "/INSTANCENAME=SQLEXPRESS";
            argument += " " + "/Q";
            argument += " " + "/HIDECONSOLE";
            argument += " " + "/SECURITYMODE=SQL";
            argument += " " + "/SAPWD=dotsquare";
            //argument += " " + "/SQLSVCACCOUNT=" + System.Security.Principal.WindowsIdentity.GetCurrent().Name;Environment.UserDomainName
            argument += " " + "/SQLSVCACCOUNT=" + Environment.UserDomainName + @"\" + "LocalSystem";
            //argument += " " + "/SQLSVCPASSWORD=\"StrongPassword\"";
            argument += " " + "/AddCurrentUserAsSQLAdmin";
            argument += " " + "/IACCEPTSQLSERVERLICENSETERMS=True";

            try
            {
                System.Diagnostics.Process processObj = System.Diagnostics.Process.Start(SetupDirectory + @"\SQLEXPRESSSTUP\Setup.exe", argument);
                do
                {
                    //refresh the process
                    processObj.Refresh();
                } while (!processObj.WaitForExit(1000));

                Console.WriteLine("Process exited with {0}!", processObj.ExitCode);
            }
            catch
            {
                Console.WriteLine("An error has occured!");
            }
        }
        else
        {
            Console.WriteLine("Extraction failed, please try again !");
        }
    }
    else
    {
        Console.WriteLine("SQL Setup is not found !");
    }

    Console.ReadKey();
}

This program extracts and fires up the SQL Server Express setup but it fails when it reaches the service accounts step. I want to use any other account to pass the step and complete the setup.

Please help.

SQL Server Cluster installation failing with error message "sesecurityprivilege" missing.

$
0
0

I'm attempting to install a two-node SQL cluster over a Windows Cluster. The windows cluster is up and running and all set. When I run the SQL Server installation wizard, on the Data Directory screen, when using an SMB share, I type \\FS\BBDB, I get the error message reading that the setup account needs to SESECURITY privilege in the target file server.

Now, simple enough, right? Problem is, the setup account DOES have sesecurity privilege already. Not only that, but, the setup account is also:

-A domain admin

-An enterprise admin

-A local admin in both the source and the target machines

-Has full rights to both the share, as well as the NTFS folder

-It also has all the following rights per accesschk sys internals utility:

SeSecurityPrivilege
SeBackupPrivilege
SeRestorePrivilege
SeSystemtimePrivilege
SeShutdownPrivilege
SeRemoteShutdownPrivilege
SeTakeOwnershipPrivilege
SeDebugPrivilege
SeSystemEnvironmentPrivilege
SeSystemProfilePrivilege
SeProfileSingleProcessPrivilege
SeIncreaseBasePriorityPrivilege
SeLoadDriverPrivilege
SeCreatePagefilePrivilege
SeIncreaseQuotaPrivilege
SeUndockPrivilege
SeManageVolumePrivilege
SeImpersonatePrivilege
SeCreateGlobalPrivilege
SeTimeZonePrivilege
SeCreateSymbolicLinkPrivilege
SeChangeNotifyPrivilege
SeInteractiveLogonRight
SeNetworkLogonRight
SeBatchLogonRight
SeRemoteInteractiveLogonRight
SeIncreaseWorkingSetPrivilege

-UAC is deactivated in the target file server. Not only I brought the lever down all the way, but also I edited the registry to actually disable it.

So, what gives??? Help much appreciated. I'm stumped here.

The whole environment is running on Windows Server 2012 R2 Datacenter servers, all fully patched. Attempting to install SQL Server 2012 Enterprise, and yes, I do accept the updates to install setup files when asked.


rferreira


Error 1911 while Installing SQL Server 2012 client tools on Windows Server 2008 Service Pack 2

$
0
0

The setup for SQL Server 2012 Management Tools - Complete and SQL Server Data Tools on a Windows 2008 Service Pack 2 fails with the error below.
Anyone familiar with this kind of error?

 Feature:                       Management Tools - Complete
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                Microsoft Visual Studio 2010 Shell
  Component error code:          1911
  Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151008_155332\VSShell_Cpu32_1.log
  Error description:             Error 1911.Could not register type library for file C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\dte90.olb.  Contact your support personnel.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=vs_setup.msi%40RegisterTypeLibraries%401911

  Feature:                       Management Tools - Basic
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                Microsoft Visual Studio 2010 Shell
  Component error code:          1911
  Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151008_155332\VSShell_Cpu32_1.log
  Error description:             Error 1911.Could not register type library for file C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\dte90.olb.  Contact your support personnel.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=vs_setup.msi%40RegisterTypeLibraries%401911

  Feature:                       SQL Server Data Tools
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                Microsoft Visual Studio 2010 Shell
  Component error code:          1911
  Component log file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20151008_155332\VSIntShell_Cpu32_1.log
  Error description:             Error 1911.Could not register type library for file C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\dte90.olb.  Contact your support personnel.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=vs_setup.msi%40RegisterTypeLibraries%401911

Do pre-pidded SQL SPLA and Volume License media all contain the same key?

$
0
0

We are a hosting company that sells SQL under SPLA to our customers on dedicated servers.

It is also possible for a customer to install SQL from their own media using their Volume License agreement.

I am writing a script that runs across our entire install base and tries to determine if the SQL installation was done using our SPLA media or the customers own media.

I was thinking the pre-pidded key on the key would be different ie. a different key for each different customer agreement with Microsoft.

However, now I believe the above may not be case. It appears as though the pre-pidded keys might be the same globally (irrespective of customer)? If this is the case, is there any other registry attribute or other I could query to determine if the installation was done using our media?

Thanks in advance

Downgrade SQL Server 2008 Enterprise Edition to 2008 Standard Edition

$
0
0

Hi.. my query is around SQL server 2008 edition .. 
My organization is under enterprise agreement and we have SA for all SQL server licenses bought. 

My query is - can i use my SQL 2008 enterprise licenses to deploy SQL Standard 2008 server.

I have found out from licensing reference guide that the step down of editions is allowed in 2012 and later editions. I wanted to confirm if the same is applicable to 2008 or earlier editions.

help !

$
0
0

  i have accidently activated " tool developer " and it has screwed up my yahoo email editing. i am not tech savvy. can someone tell me how to de-activate this sombitch ?

Installation of Microsoft SQL server 2014 to a Windows server 2012 R2 Std (Eng 64 bit environment)

$
0
0

I'm about to install Microsoft SQL server 2014 on my Windows 2012 R2 server.

The network consist of three site offices, all connected through VPN tunnels.

There are one server at each office, all servers promoted to domain controllers. (Two of the servers are running Windows 2012 R2 server Std, the first domain controller is running on Windows 2008 R2 server.) 

The setup allows me have single logon at any of the site networks and get access to my server storage.

I'm experiencing some challenges when installing Microsoft SQL server 2014. It seems like the service will not start.

I'm installing the SQL server using the domain administrator, as the local administrator account is removed due to the promoted DC functionality. The installations is made from the server that shall have the SQL service running.  

Best practice or settings prior to installation very much appreciated.


SQL SERVER 2012 Connecting Error

$
0
0

when i open my computer and want to use SQL SERVER and when iam connecting it this error will occur  "A network related or instance specific Error...... in SQL SERVER 2012" Then aim going to Services and Find SQLSERVER and start the services and it will connect...... My Question is that why every time iam going to Start the services....I want to connect Automatically when i click on connect button in sql server its very rediculous to go evrytime in Services....

Remember i update my window 8.1 to windows 10 

before it will connect automatically no need to go in services to start the SQLSERVER any help Please 

Upgrade SQL Standard 2008R2 to SQL Standard 2012

$
0
0
I am trying to test the in place upgrade procedure for upgrading SQL Standard 2008R2 to SQL Standard 2012 using the SQL 2012 evaluation product found on the Microsoft web site.  The upgrade wizard is failing stating "featureupgradematrixcheck" failed. I believe this may be failing because I am using the evaluation version of SQL 2012.  Can anyone confirm that would cause it and if so does anyone know if Microsoft has test or demo product keys that I could use to complete the test?

Install SQL Server 2014 Std Edition on a Remote VM

$
0
0

It has been some time (sql server 2005) since I have done a sql server install. I have a development VM and need to install ss2014 standard edition on the VM ... I seem to remember with 2005, I was either allowed to download an exe or I could copy 2 directories to the server to act as cd1 and cd2 ...

how do I install ss2014 on a remote VM?

thanks in advance for your help.

Jeff

SQL SERVER 2012 Express 64 full - A MOF syntax Error occured

$
0
0

I am trying to find a simple portable database (localdb) to use with my .Net apps so I am trying to install SQL Server 2012 express.

I get a MOF and WMI errors when installing SQL Server 2012 Express. I am not a database/windows person so not sure how to solve this complex problem. I have spent 2 days googling, tried many things already posted on this error in 2012 and 2008 with no results.

The history is the machine is Win 7 64 bit.  I had SQL Server 2005 installed sucessfully for years running with .Net until in 2013 a windows update suddenly trashed the instance and I was unable to connect to the database anymore. (Same exact thing happened on my laptop at the exact same time thus for sure it was a windows update). 

So I have uninstalled 2005 and tried to install 2012.

On the install it errors out twice:

1. Slp_Config_Install_Core_WMI_Provider_Cpu64

A MOF syntax Error occured

2.  RS_RunInstallScriptsAction_Cpu_64

Error call to RS WMI native function to retrieve database scripts. Error Code -2147220975

I have tried running mofcomp sqlmgmproviderxpsp2up.mof  manually and I get an error

mofcomp C:\Program Files (x86)\Microsoft SQL Server\110\Shared\sqlmgmproviderxpsp2up.mof

Storing data in the repository…

An Error occurred while processing item 10 defined on lines 73 – 79 in file sqlmgmproviderxpsp2up.mof:

Error number: 0x80070005, Facility: Win32

Description: Access is denied.

The 73 to 79 lines in the file are:

Instance of RegServices

{

  LName = "msftesql$";

  Name = "msftesql";

  ServiceType = "Full Text";

  Type = 3;

};

I have also tried

Winmgmt /verifyrepository 

And it comes back WMI repository is consistant.

I am also running all commands as administrator.

Like I said I really have no clue what I am doing soI may not even be looking in the right place.

Any insight appreciated.  If you need more details just tell me what to get.

thanks, rick

SSMS Fails with "Cannot find one or more components. Please reinstall the application."

$
0
0

I've got SQL Server 2014 Developer installed, and working.  After rebooting, the event log looks like it's working fine.  However, ever since I uninstalled Visual Studio 2013 Premier and installed Visual Studio 2015 Professional, both with SQL Server Data Tools, whenever I try to start SQL Server 2014 Management Studio, I get "Cannot find one or more components. Please reinstall the application."

Is there any way I can avoid uninstalling SQL Server?

Thanks


Uncaged

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

Viewing all 8133 articles
Browse latest View live


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