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

SQL Server 2008 setup error: Attempted to perform an unauthorized operation

$
0
0
I'm trying to install SQL Server 2008 on a virtual machine with Windows 2008 R2.

Setup fails with the error "Attempted to perform an unauthorized operation".

Looking at the installation log, I see these details:

2009-09-29 08:24:49 SQLBrowser: sRegLocation = 'SOFTWARE\Microsoft\Microsoft SQL Server', regView = 'Wow6432', sSddl = '(A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])', bOptional = 'False'.
2009-09-29 08:24:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey
2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
2009-09-29 08:24:49 Slp: Sco: Account name to be translated into SID: SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Attempting to get account sid for user account SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Attempting to get sid for user account SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: GetSidForAccount normalized accountName SQLServer2005SQLBrowserUser$ITISFIM parameter to SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Account name is translated into: S-1-5-21-3278988706-2344661944-1675463508-1000
2009-09-29 08:24:49 Slp: Sco: Final security descriptor:  (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to set security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Adding 'D:' DACL identifier to the input security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Prompting user if they want to retry this action due to the following failure:
2009-09-29 08:24:49 Slp: ----------------------------------------
2009-09-29 08:24:49 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2009-09-29 08:24:49 Slp: Inner exceptions are being indented
2009-09-29 08:24:49 Slp:
2009-09-29 08:24:49 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
2009-09-29 08:24:49 Slp:     Message:
2009-09-29 08:24:49 Slp:         Attempted to perform an unauthorized operation.
2009-09-29 08:24:49 Slp:     Data:
2009-09-29 08:24:49 Slp:       WatsonData = Microsoft SQL Server
2009-09-29 08:24:49 Slp:       DisableRetry = true
2009-09-29 08:24:49 Slp:     Inner exception type: System.UnauthorizedAccessException
2009-09-29 08:24:49 Slp:         Message:
2009-09-29 08:24:49 Slp:                 Attempted to perform an unauthorized operation.
2009-09-29 08:24:49 Slp:         Stack:
2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
2009-09-29 08:24:49 Slp: ----------------------------------------
Any suggestions on how to fix this error?
Thanks, Paolo

sql server 2008 r2 installation failed 0x80070002

$
0
0

when I tried to install MS sql server 2008 r2 an ms-dos window flashed and nothing happend 
I have .net framework 2 and 3.5 installed on my windows server 2003 machine 
and the windows installer is working properly  in other installations
and the sqlsetup.log file show me the code below 
11/28/2014 13:55:56.046 ======================================================================
11/28/2014 13:55:56.265 Setup launched
11/28/2014 13:55:56.406 Attempting to determine media source
11/28/2014 13:55:56.531 Media source value not specified on command line argument.
11/28/2014 13:55:56.687 Setup is launched from media directly so default the value to the current folder.
11/28/2014 13:55:56.812 Media source: D:\11\
11/28/2014 13:55:57.031 Attempt to determine media layout based on file 'D:\11\mediainfo.xml'.
11/28/2014 13:55:57.171 Media layout is detected as: Full
11/28/2014 13:55:57.281 Not a slip stream media, so continuing to run setup.exe from media.
11/28/2014 13:55:57.453 /? or /HELP or /ACTION=HELP specified: false
11/28/2014 13:55:57.578 Help display: false
11/28/2014 13:55:57.718 Checking to see if we need to install .Net version 3.5
11/28/2014 13:55:57.859 Determining the cluster status of the local machine.
11/28/2014 13:55:57.937 The local machine is not configured as a cluster node.
11/28/2014 13:55:58.031 Attempting to find media for .Net version 3.5
11/28/2014 13:55:58.250 .Net version 3.5 is installed
11/28/2014 13:55:58.406 RedistMSI::GetExpectedBuildRevision - Setup expects MSI 4.5.6001.22159 at the minimum
11/28/2014 13:55:58.578 Attempting to get Windows Installer version
11/28/2014 13:55:58.828 Windows Installer version detected: 4.5.6001.22159
11/28/2014 13:55:58.937 RedistMSI::IsVistaRTM - Not Vista RTM build
11/28/2014 13:55:59.109 Required version of Windows Installer is already installed
11/28/2014 13:55:59.281 Attempting to get Windows Installer version
11/28/2014 13:55:59.406 Windows Installer version detected: 4.5.6001.22159
11/28/2014 13:55:59.593 RedistMSI::IsVistaRTM - Not Vista RTM build
11/28/2014 13:55:59.734 Required version of Windows Installer is already installed
11/28/2014 13:55:59.875 Local setup.exe not found, so continuing to run setup.exe from media.
11/28/2014 13:56:00.000 Attempt to initialize SQL setup code group
11/28/2014 13:56:00.125 Attempting to determine security.config file path
11/28/2014 13:56:00.296 Checking to see if policy file exists
11/28/2014 13:56:00.375 .Net security policy file does not exist
11/28/2014 13:56:00.468 Attempting to create .Net security policy file
11/28/2014 13:56:00.593 Error: InitializeSqlSetupCodeGroupCore(32bit) failed
11/28/2014 13:56:00.687 Error: InitializeSqlSetupCodeGroup failed: 0x80070002
 Setup closed with exit code: 0x80070002
11/28/2014 13:56:00.937 ======================================================================
I was trying for more than 1 day to solve the problem and I searched every place to the network and nothing did help me 
can you help please

unable to add data connection

$
0
0

Peace be upon you,

I use visual studio 2013 and sql server 2014,and when I want to make a connection from visual studio with sql server 2014

it doesn't work and a massage appear: (unable to add data connection.could not loud file or assembly'microsoft.sql.server.Sdk.Sfc, version=11.0.0.0,culture=neutral, publickeyToken=89845dcd8080cc91' or one of its dependencies.the system cannot find the file specified.)

Setup "attempted to perform an unauthorized operation" when trying to install SQL Server 2008 R2 x64 on Windows 7 Enterprise x64

$
0
0

I've been trying to install SQL Server 2008 R2 x64 Developer Edition on Windows 7 x64 Enterprise edition since shortly after R2 was released.  Initially I was blocked by the ENU localization problem (http://connect.microsoft.com/SQLServer/feedback/details/557556/sql-server-2008-r2-setup-has-encountered-an-error), but I recently revisited this and overwriting the setup.rll with the Evaluation edition version worked around it.

Now I am getting stopped by the above error (setup "attempted to perform an unauthorized operation") roughly halfway through the setup process.  The setup log Details.txt indicates that the issue is Inner exception type: System.UnauthorizedAccessException during a ReplaceAccountWithSidInSddl (Attempting to replace account with sid in security descriptor) operation at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor, apparently in or around the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server subkey.  This error is occurring during a fresh install, but I've also tried installing SQL Server 2008 (installed with no problem) and then upgrading to R2, with the same error.  I've been running Setup as administrator, and Data Execution Prevention is turned off except for essential Windows components.  I've tried using Process Monitor to see which subkeys are being accessed, but all the ones I see seem to have full control assigned to administrators, which should allow setup to do what it needs to do.

Any help would be greatly appreciated, as this has now taken up multiple days of working time and there doesn't seem to be anything on the Web matching this issue.

Thanks in advance,

Brian


BC

SQL Server 2008 Developer install failed - Attempted to perform an unauthorized operation

$
0
0

I'm trying to install SQL Server 2008 Developer edition on my laptop running Windows XP Professional SP2.  I ran the installer as a domain user with admin rights to the local box.  The installation advisor program certified that my system was ready for the install, but nevertheless I had to uninstall SQL Server 2005 Express edition and install .NET framework 3.5 SP1 first.  Once that was done, the installer finished, having successfully installed all the components of SQL Server 2008 except for the core database engine.  It failed with this error message: Attempted to perform an unauthorized operation.

 

I uninstalled SQL Server 2008 and reinstalled with the same results.

 

Below is a snippet from my C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20081014_203925\Detail.txt which seems like it may be relevant.

 

Can anyone offer any assistance?  Would be greatly appreciated.

 

2008-10-14 20:50:15 SQLEngine: --EtwSetup: Updating WMI Security
2008-10-14 20:50:15 SQLEngine: --EtwSetup: WMI sddlBig SmileSadA;;0x120fff;;;SY)(A;;0x120fff;;;BA)
2008-10-14 20:50:15 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2008-10-14 20:50:15 Slp: Sco: Attempting to open registry subkey SYSTEM\CurrentControlSet\Control\WMI\Security
2008-10-14 20:50:15 Slp: Prompting user if they want to retry this action due to the following failure:
2008-10-14 20:50:15 Slp: ----------------------------------------
2008-10-14 20:50:15 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2008-10-14 20:50:15 Slp: Inner exceptions are being indented
2008-10-14 20:50:15 Slp:
2008-10-14 20:50:15 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
2008-10-14 20:50:15 Slp:     Message:
2008-10-14 20:50:15 Slp:         Attempted to perform an unauthorized operation.
2008-10-14 20:50:15 Slp:     Data:
2008-10-14 20:50:15 Slp:       WatsonData = HKEY_LOCAL_MACHINE@SYSTEM\CurrentControlSet\Control\WMI\Security
2008-10-14 20:50:15 Slp:       DisableRetry = true
2008-10-14 20:50:15 Slp:     Inner exception type: System.UnauthorizedAccessException
2008-10-14 20:50:15 Slp:         Message:
2008-10-14 20:50:15 Slp:                 Attempted to perform an unauthorized operation.
2008-10-14 20:50:15 Slp:         Stack:
2008-10-14 20:50:15 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.OpenSubKey(String subkey, RegistryAccess requestedAccess)
2008-10-14 20:50:15 Slp: ----------------------------------------
2008-10-14 20:50:31 Slp: User has chosen to cancel this action

SQL Server 2008 R2 Installation Media Folder

$
0
0
I've been trying to get this SQL Server Installed and it keeps asking for the  SQL Server 2008 Installation Media file that was run directly from the MS download and I've looked everywhere for it. I'm running Windows 8 can anyone help me locate this file so I can complete this SQL install?

SQL server Maximum memory allocation on a clustered server

$
0
0
What is the recommended Maximum memory allocation for a SQL server on a windows cluster? Should it be 50% or less of the server memory to allow failover server to use the other 50%?

Best way to Restore Database to create a new Database having different dependent objects like linked server names in the procedures

$
0
0

Hi All,

Am creating a new test server by cloning the production server. Creating Dbs by restoring the production backup but wondering is there any best way to update the linked server names in open query of few SPs other than manual checking and updating.

Thanks,


Swapna


SQL Logs filling up disk space

$
0
0

Hi there,

On my DEV SQL Server - suddenly the logs have been filling up space so quickly - this morning I increased 10 GIGs and now it is full again just in a few hours.

What action should I take?
- Is it okay to switch Recovery Model from Full to Simple? (It is DEV server)
- Anything else?

Thanks.

SQL Server upgrade

$
0
0

I installed visual Studio as a student in a visual basic course. SQL Server 2008 was included with this install. I did not name this instance at the time of install. I have another version of sql server 2008 R2 and I am trying to include all of the latest packages for this edition. I downloaded all necessary upgrades from the Microsoft site, but the version that shows in the management studio does not reflect the most recent version. How do I make sure the downloads apply to the 2008 r2 version and reflect the most recent edition in management studio?

SQL Installation on single machine or cluster machines

$
0
0

Can we install SQL server 2012 Enterprise Edition 64 Bit and Standard Edition 64 Bit on Same machine - Standalone

Can we install SQL server 2012 Enterprise Edition 64 Bit and Standard Edition 64 Bit on Same 2 node Clustered machines

 

Upgrading from SQL Server 2012 Standard to SQL Server 2014 Standard Failover Cluster

$
0
0

Goal: To upgrade my default instance from SQL Server 2012 to SQL Server 2014 in a failover cluster.

Given:

1) Operating System Windows 2012 R2

2) 2 Virtual Machines in a cluster with SQL Server as a Guest Cluster resource.  The two VMS are called APPS08 and APPS09.  They are our development environment that is setup similar to our production environment.

Problem:  When running the SQL Server 2014 upgrade, I started on the VM that was not running the instance.  I then moved onto upgrading on the node that was running the instance.  As soon as the install attempt to failover the running instance an install error occurred that it could not failover.  After many install attempts I consistently received the errorThe SQL Server Failover cluster instance name 'Dev01'
already exists as a cluster resource.  Opening Failover cluster manager there is no record of a DEV01.

New Strategy:  Create a SQLCluster called DEV07.  At the end of the Install I get 'Resource for instance 'MSSQLSERVER' should not exists.  Neither I nor my Windows 2012 guy understand what Resource the install may be referring to.   We do not see anything out of the ordinary.

Any suggestions as to what Resource may be seeing the default instance would be greatly appreciated.

Microsoft sqlserver 2012 License and Edition

$
0
0

Folks,

I am planning to use sqlserver 2012 Enterprise edition software and  i am in the process of procuring the per core License for the same.I would take 1 to 2 monts for quote ,discussions,License ,delivery of the product .

Now i am in need to Install the sqlserver 2012 software urgently,and i am thinking of to download Evaluation Edition and once i received the Licensed product key i will upgrade to Enterprise edition.Does this a Valid Approach.

If this is not ,please suggest how i can download and use the sqlserver 2012 Enterprise edition with AlwaysOn avaialbility Groups software.

Thanks

Surendra

Windows Authentication not working with SSMS non admin

$
0
0

Hi,

I installed my first 2012 SP2 sql server very early this morning. And in the admin user section of the setup, I told it to use the user group domain admins for the moment for the administrators. Installation does not complain at all, proceeds on its merry way and installs perfectly.

Now, launch SSMS in normal mode, try to authenticate with windows creds. It refuses to connect. You need to launch it into admin mode, use the same creds and it works.

So... I must have missed something in how to setup SQL Server or I am missing something on how it does the authentication. Anyone could point me to the associated resource ?

Thanks

Where is the query window in SSMSE 2008 Express?

$
0
0

I have been trying to find the query window in SQL Server 2008 Express.  I've been using SSMSE 2005 Express from a Start Menu button called "SQL Server Management Studio Express."  So far I have installed Microsoft SQL Server 2008 R2 RTM - Express with Management Tools, and also Microsoft® SQL Server® 2008 Management Studio Express, and finally SQL Server 2008 Express Service Pack 3.  These are all the "86" installs for Windows 7, 32-bit, for example "SQLManagementStudio_x86_ENU.exe."  However I still can't find a button to open an application that will allow me to run queries.  All the Start Menu buttons I have now are Microsoft SQL Server 2008 - Configuration Tools, Microsoft SQL Server 2008 R2 - Import and Export Data (32-bit), andMicrosoft SQL Server 2008 R2 - Configuration Tools.  The "Installed SQL Server features discovery report" shows nothing installed, but I've seen others say the same thing, so I'm not sure that's even working properly. 

All I'm really trying to do is connect to a pre-existing SQL Server 2008 database on another server from my computer, and bounce SQL queries off of it.  Also it would be nice if there were an "Enterprise Manager" application such as I used to have with SQL Server 2000 that would actually graphically help write the queries. 

Can somebody help me unwind this?  Thank you.

 

im no IT Guy but i really need your help

$
0
0

i recently had SQL Management studio 2012. i dont often need to use the software but when i did i realised it stopped opening. i needed it to run because my password expired. anyway, it refused to open. i thought re-installing it would help. it didnt. once i tried to install it again this message popped up.

TITLE: Microsoft SQL Server 2014 Setup
------------------------------

The following error has occurred:

Could not write value  to key \SOFTWARE.   Verify that you have sufficient access to that key, or contact your support personnel.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xDF039760%25401201%25401

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

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

I now ran out of options and i was hoping anyone can help me? 

please keep the lingo simple, i do not work in the IT Industry. 

Thanks

Problems installing Client tools and BOL

$
0
0
I have tried several times to install SQL Server 2005 Enterprise Edition on a cluster. SQL Server, SQL browser and SQL Agent installs ok but when the installer start to setup Books on line and client tools (BIDS) and SS Management Studio the installer stops and end the installation.
 
I get this error (from SQLSetup0021_WBOGSQL01_Core(Local).log)
 
Remote setup(s) are ready
Notify package to begin: 29539
Notify package to commit: 29539
Waiting for remote setup(s) to get ready to end
Remote setup(s) are ready
Notify package to end: 29539
Error: Action "UninstallForRS2000Action" failed during execution.  Error information reported during run:
Action: "UninstallForRS2000Action" will be marked as failed due to the following condition:
Condition "rs was successfully upgraded." returned false.
Installation of package: "patchRS2000"  failed due to a precondition.
Waiting for actions from remote setup(s)
Remote setup(s) are ready
Notify package action is determined: 0
Running: InstallToolsAction.10 at: 2006/6/23 2:3:42
Error: Action "InstallToolsAction.10" threw an exception during execution.  Error information reported during run:
Target collection includes the local machine.
Fatal Exception caught while installing package: "10"
        Error Code: 0x80070002 (2)
Windows Error Text: The system cannot find the file specified.
  Source File Name: sqlchaining\sqlprereqpackagemutator.cpp
Compiler Timestamp: Tue Aug  9 01:14:20 2005
     Function Name: sqls::SqlPreReqPackageMutator::modifyRequest
Source Line Number: 196
---- Context -----------------------------------------------
sqls::InstallPackageAction::perform
sqls::InstallPackageAction::getReferringPackageId
ch::installA
WinException caught while installing package. : 1603
        Error Code: 0x80070643 (1603)
Windows Error Text: Fatal error during installation.
  Source File Name: packageengine\installpackageaction.cpp
Compiler Timestamp: Fri Jul  1 01:28:25 2005
     Function Name: sqls::InstallPackageAction::perform
Source Line Number: 167
---- Context -----------------------------------------------
sqls::InstallPackageAction::perform
sqls::InstallPackageAction::getReferringPackageId
ch::installA
Cancelling setup due to failure on remote machine: 1603
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework 2.0.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework 2.0 LangPack.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework Upgrade Advisor.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework Upgrade Advisor LangPack.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework Windows Installer.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Error: Failed to add file :"C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Files\SQLSetup0021_WBOGSQL01_.NET Framework Windows Installer LangPack.log" to cab file : "C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\SqlSetup0021.cab" Error Code : 2
Running: UploadDrWatsonLogAction at: 2006/6/23 2:6:2
Message pump returning: 1603
Why does the installation process stop there and what can I do next?
 
Best regards
 
Andres

Overlapped I/O error installing SQL Server Express 2014 on Win 8.1

$
0
0

Hi,

I'm attempting to install SQL2014 on a SurfacePro3 running Win 8.1.  Despite much searching I've not found anything that gets me past this problem.

I've tried:

  • Uninstalling a update KB2918614 which was highlighted as a potential issue
  • The login is the only account on the machine (not networked)
  • Used "Run as Administrator"
  • Even tried setting up a new User Account not linked to MS
  • Run from the SETUP.EXE in the extracted files (with "Run As Admin")

The Summary log is below:

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2068053019
  Start time:                    2014-12-03 10:40:32
  End time:                      2014-12-03 10:59:53
  Requested action:              Install

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for Adv_SSMS:        Use the following information to resolve the error, and then try the setup process again.
  Next step for Conn:            Use the following information to resolve the error, and then try the setup process again.
  Next step for SDK:             Use the following information to resolve the error, and then try the setup process again.
  Next step for BC:              Use the following information to resolve the error, and then try the setup process again.
  Next step for SSMS:            Use the following information to resolve the error, and then try the setup process again.
  Next step for SQLEngine:       Use the following information to resolve the error, and then try the setup process again.
  Next step for Browser:         Use the following information to resolve the error, and then try the setup process again.
  Next step for ComponentUpdate: Use the following information to resolve the error, and then try the setup process again.


Machine Properties:
  Machine name:                  JASONSURFACE
  Machine processor count:       4
  OS version:                    Windows 8
  OS service pack:               
  OS region:                     United States
  OS language:                   English (United Kingdom)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered  Configured

Package properties:
  Description:                   Microsoft SQL Server 2014 
  ProductName:                   SQL Server 2014
  Type:                          RTM
  Version:                       12
  SPLevel:                       0
  Installation location:         C:\Temp\SQL2014\x64\setup\
  Installation edition:          Express

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Disabled
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Automatic
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    true
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, CONN, BC, SDK, SSMS, ADV_SSMS, SNAC_SDK
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             C:\MSSQL
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
  INSTANCEID:                    SQLEXPRESS2014
  INSTANCENAME:                  SQLEXPRESS2014
  ISSVCACCOUNT:                  NT AUTHORITY\Network Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultSharePointMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  SQL
  SQLBACKUPDIR:                  C:\MSSQL\BackUp
  SQLCOLLATION:                  Latin1_General_CI_AS
  SQLSVCACCOUNT:                 NT Service\MSSQL$SQLEXPRESS2014
  SQLSVCPASSWORD:                <empty>
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           JASONSURFACE\Jason, JasonSurface\Administrator, BUILTIN\Administrators, Jason, NT AUTHORITY\Local account, NT AUTHORITY\LOCAL SERVICE, NT AUTHORITY\NETWORK SERVICE, NT AUTHORITY\SERVICE, NT AUTHORITY\SYSTEM
  SQLTEMPDBDIR:                  C:\MSSQL\Temp
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  C:\MSSQL\Data
  SQLUSERDBLOGDIR:               C:\MSSQL\Logs
  SQMREPORTING:                  false
  TCPENABLED:                    0
  UIMODE:                        AutoAdvance
  UpdateEnabled:                 true
  UpdateSource:                  MU
  USEMICROSOFTUPDATE:            false
  X86:                           false

  Configuration file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\ConfigurationFile.ini

Detailed results:
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       Client Tools Connectivity
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       Client Tools SDK
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       Client Tools Backwards Compatibility
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       Database Engine Services
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       SQL Browser
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

  Feature:                       Setup Support Files
  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 Redistributables
  Component error code:          997
  Component log file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\VC10Redist_Cpu64_1.log
  Error description:             Error 997.Overlapped I/O operation is in progress.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=vc_red.msi%40ProcessComponents%40997

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20141203_104031\SystemConfigurationCheck_Report.htm

Upgade sql database 2008 R2 naar 2012 express edities

$
0
0

Hallo,

Weet iemand hoe ik mijn database upgrade van 2008 naar 2012?

SQL Express 2008 R2 Error:15209 - An error occurred during encryption

$
0
0

I am trying to install SQL Server Express 2008 R2 but it keeps failing .

The computer is Windows 7 x64, all the latest service packs and updates installed. The application is by Greatland, called Yearli (formerly called WinFiler). Last year’s WinFiler, which was installed on this PC, used SQL 2008 Express (x86). This year’s version is using R2 and attempted to install a new database. I have since uninstalled last year’s database.

When I run the Yearli install, it first attempts to install SQL Express 2008 R2, but the install fails with this error at the end of ERRORLOG:

Error: 15209, Severity: 16, State: 1. "An error occurred during encryption."

I have been researching this for days.  What I have done so far, based on MSKB and other user posts, is the following:

-      Changed the account for the SQL service from Local System to NETWORK SERVICE. 

-      Add NETWORK SERVICE to the “Protect” folder with Full permission added.

Neither of these have worked.  SQL appears to be installed, but the service will not start.

In the Windows System log I get this message:

The SQL Server (WFP_SS8E) service terminated with service-specific error The specified resource name cannot be found in the image file..

In the Windows Application log I get this message:

FileMgr::StartLogFiles: Operating system error 2(The system cannot find the file specified.) occurred while creating or opening file 'e:\sql10_main_t.obj.x86fre\sql\mkmastr\databases\objfre\i386\MSDBLog.ldf'. Diagnose and correct the operating system error, and retry the operation.

The App log error is interesting because there is no E: drive on the system.

SFC /Scannow came up clean.

I don’t have any other ideas, so if anyone else does, I’d appreciate it.

Viewing all 8133 articles
Browse latest View live


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