You are currently offline, waiting for your internet to reconnect

FIX: "Installer terminated prematurely" error when you install SQL Server 2008 SP3 or SQL Server 2008 R2 SP2


Symptoms
When you try to install Microsoft SQL Server 2008 Service Pack 3 (SP3) or SQL Server 2008 R2 Service Pack 2 (SP2), the following error message may appear:
Error result: -2068643839 Result facility code: 1203 Result error code: 1 In the detail logs, such as <Log file Name>.log, there is these messages: Internal Exception during install operation: 0xc0000005 at 0x000007FEFEB435E1. Internal MSI error. Installer terminated prematurely. MainEngineThread is returning 1603

Additionally, you receive the following error message in the Detail.txt file:
<Date><Time> Slp: Running Action: Install_<Action Name>_Action
<Date><Time> Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
<Date><Time> Slp: Sco: Attempting to open registry subkey
<Date><Time> Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\9.0
<Date><Time> Slp: Sco: Attempting to get registry value InstallDir
<Date><Time> Slp: Target package: "<Installation File Name>.msi"
<Date><Time> Slp: Error: Action "Install_<Action Name>_Action" threw an exception during execution.
<Date><Time> Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
<Data><Time> Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethods.MsiOpenPackageEx(String szPackagePath, UInt32 dwOptions, UInt32& hProduct)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.SetCommonProperties()
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiCore(String commandLine)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiWithRetry(String commandline)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsi(IEnumerable`1 commandLineProps)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: --- End of inner exception stack trace ---
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()Error: Action "MsiTimingAction" threw an exception during execution.
<Date><Time> Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
<Date><Time> Slp: at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethods.MsiOpenPackageEx(String szPackagePath, UInt32 dwOptions, UInt32& hProduct)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.SetCommonProperties()
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiCore(String commandLine)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsiWithRetry(String commandline)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.InstallPackage.RunMsi(IEnumerable`1 commandLineProps)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.SetupExtension.MSIInstallerEngine.InstallPackage(PackageId pkg, InstallAction pkgAction)
<Date><Time> Slp: at Microsoft.SqlServer.Configuration.MsiExtension.PackageInstallAction.Execute(String actionId, TextWriter errorStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: --- End of inner exception stack trace ---
<Date><Time> Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
<Date><Time> Slp: Received request to add the following file to Watson reporting: C:\Users\k024048\AppData\Local\Temp\2\tmp8A25.tmp
<Date><Time> Slp: The following is an exception stack listing the exceptions in outermost to innermost order
<Date><Time> Slp: Inner exceptions are being indented
<Date><Time> Slp:
<Date><Time> Slp: Exception type: System.AccessViolationException
<Date><Time> Slp: Message:
<Date><Time> Slp: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Note
This issue typically occurs when you use slipstream installation.
Resolution
The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 11 for SQL Server 2008 R2 SP2

Cumulative Update 15 for SQL Server 2008 SP3

About cumulative updates for SQL Server

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Properties

Article ID: 2919611 - Last Review: 02/18/2014 21:39:00 - Revision: 2.0

Microsoft SQL Server 2008 Service Pack 3, Microsoft SQL Server 2008 R2 Service Pack 2

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB2919611
Feedback
ml>