Unhandled Exception in SQL Server 2008 Express install process - by Ryan Markel

Status : 

 


0
0
Sign in
to vote
ID 377871 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 10/27/2008 5:51:05 AM
Access Restriction Public

Description

When installing SQL Server 2008 Express in either a bootstrapper or non-bootstrapper situation, on certain machines the Installer fails with an unhandled exception. This exception will always happen during the installation process on computers affected, and there doesn't seem to be an obvious workaround.

Bootstrappers will fail with an unknown error during installation; the SQL Server 2008 redistributable will report an unhandled exception and then close.

All machines on which this error has occurred have been running Win XP SP3 in a domain-controlled environment. Each user has been a designated local administrator.
Sign in to post a comment.
Posted by gareth_alexander on 10/20/2010 at 2:58 AM
Similar Problem
Install log file attached:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.3 {version}
Running checks for package 'Microsoft adCenter Desktop System Checker', phase BuildList
Running external check with command 'C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\EnzoSystemChecker\Microsoft.adCenter.Desktop.SystemChecker.exe' and parameters ''
Process exited with code 0
Setting value '0 {int}' for property 'SystemCheckResult'
The following properties have been set for package 'Microsoft adCenter Desktop System Checker':
Property: [SystemCheckResult] = 0 {int}
Running checks for command 'EnzoSystemChecker\Microsoft.adCenter.Desktop.SystemChecker.exe'
Result of running operator 'ValueNotExists' on property 'SystemCheckResult': false
Result of running operator 'ValueNotEqualTo' on property 'SystemCheckResult' and value '0': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueEqualTo' on property 'SystemCheckResult' and value '0': true
Result of checks for command 'EnzoSystemChecker\Microsoft.adCenter.Desktop.SystemChecker.exe' is 'Bypass'
'Microsoft adCenter Desktop System Checker' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 3.1', phase BuildList
The following properties have been set for package 'Windows Installer 3.1':
Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true
Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
'Windows Installer 3.1' RunCheck result: No Install Needed
Running checks for package '.NET Framework 3.5 SP1', phase BuildList
Reading value 'SP' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v3.5'
Read integer value 1
Setting value '1 {int}' for property 'DotNet35SP'
The following properties have been set for package '.NET Framework 3.5 SP1':
Property: [DotNet35SP] = 1 {int}
Running checks for command 'DotNetFX35SP1\dotNetFx35setup.exe'
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet35SP' and value '1': true
Result of checks for command 'DotNetFX35SP1\dotNetFx35setup.exe' is 'Bypass'
'.NET Framework 3.5 SP1' RunCheck result: No Install Needed
Running checks for package 'Windows Installer 4.5', phase BuildList
The following properties have been set for package 'Windows Installer 4.5':
Running checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-x86.MSU'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-x86.MSU' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsXP-KB942288-v3-x86.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x86.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-x64.MSU'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-x64.MSU' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-x64.exe' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-ia64.MSU'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\Windows6.0-KB942288-v2-ia64.MSU' is 'Bypass'
Running checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-ia64.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '4.5': true
Result of checks for command 'WindowsInstaller4_5\WindowsServer2003-KB942288-v4-ia64.exe' is 'Bypass'
'Windows Installer 4.5' RunCheck result: No Install Needed
Running checks for package 'SQL Server 2008 Express', phase BuildList
Reading value 'CurrentVersion' of registry key 'HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\ADCENTERDESKTOP\MSSQLServer\CurrentVersion'
Unable to read registry value
Not setting value for property 'SQLVersion'
The following properties have been set for package 'SQL Server 2008 Express':
Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueExists' on property 'SQLVersion': false
Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueNotExists' on property 'SQLVersion': true
Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Bypass'
Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': true
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Bypass'
Running checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'amd64': true
Result of checks for command 'SqlExpress2008\SQLEXPR_x64_ENU.EXE' is 'Bypass'
'SQL Server 2008 Express' RunCheck result: Install Needed
Running checks for package 'Microsoft adCenter Desktop Upgrader', phase BuildList
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v2.0.50727'
Read string value '2.2.30729'
Setting value '2.2.30729 {string}' for property 'DotNet20'
Reading value 'DisplayVersion' of registry key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\7ab25f4a8bac63b7'
Unable to read registry value
Not setting value for property 'ProdInstalled'
Reading value 'DisplayVersion' of registry key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\5eed2b459de52b78'
Unable to read registry value
Not setting value for property 'InternalInstalled'
The following properties have been set for package 'Microsoft adCenter Desktop Upgrader':
Property: [DotNet20] = 2.2.30729 {string}
Running checks for command 'Enzo2_5Uninstaller\Microsoft.adCenter.Desktop.Upgrader.exe'
Result of running operator 'ValueNotExists' on property 'DotNet20': false
Result of running operator 'ValueNotExists' on property 'ProdInstalled': true
Result of checks for command 'Enzo2_5Uninstaller\Microsoft.adCenter.Desktop.Upgrader.exe' is 'Bypass'
Running checks for command 'Enzo2_5Uninstaller\Microsoft.adCenter.Desktop.Upgrader.exe'
Result of running operator 'ValueNotExists' on property 'DotNet20': false
Result of running operator 'ValueNotExists' on property 'InternalInstalled': true
Result of checks for command 'Enzo2_5Uninstaller\Microsoft.adCenter.Desktop.Upgrader.exe' is 'Bypass'
'Microsoft adCenter Desktop Upgrader' RunCheck result: No Install Needed
EULA for components 'SQL Server 2008 Express' was accepted.
Copying files to temporary directory "C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\"
Downloading files to "C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\"
(20/10/2010 10:40:16) Downloading 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' from 'http://download.microsoft.com/download/8/E/5/8E53FAA8-1129-4621-903F-3F8DB6D066AC/SQLEXPR32_x86_ENU.exe' to 'C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\'
Download completed at 20/10/2010 10:40:40
Verifying file integrity of C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
WinVerifyTrust returned 0
File trusted
Running checks for package 'SQL Server 2008 Express', phase BeforePackage
Reading value 'CurrentVersion' of registry key 'HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\ADCENTERDESKTOP\MSSQLServer\CurrentVersion'
Unable to read registry value
Not setting value for property 'SQLVersion'
The following properties have been set for package 'SQL Server 2008 Express':
Running checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE'
Result of running operator 'ValueNotExists' on property 'VersionNT': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.0': false
Result of running operator 'VersionEqualTo' on property 'VersionNT' and value '5.2.1': false
Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false
Result of running operator 'ValueNotEqualTo' on property 'ProcessorArchitecture' and value 'Intel': false
Result of running operator 'ValueExists' on property 'SQLVersion': false
Result of checks for command 'SqlExpress2008\SQLEXPR32_x86_ENU.EXE' is 'Install'
'SQL Server 2008 Express' RunCheck result: Install Needed
Verifying file integrity of C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE
WinVerifyTrust returned 0
File trusted
Installing using command 'C:\DOCUME~1\gkennedy\LOCALS~1\Temp\VSDDC.tmp\SqlExpress2008\SQLEXPR32_x86_ENU.EXE' and parameters '/q /hideconsole /action=Install /features=SQL /instancename=ADCENTERDESKTOP /enableranu=1 /sqlsvcaccount="NT Authority\Network Service" /AddCurrentUserAsSqlAdmin /skiprules=RebootRequiredCheck'
Process exited with code 677421808
Status of package 'SQL Server 2008 Express' after install is 'InstallFailed'
Posted by Microsoft on 1/19/2009 at 11:53 AM
Thanks for contacting us. We have determine this problem occurs when the SQL Server 2000 tools registry key is not correct on the machine. We will be looking at making the code handle this situation in a service pack or future release. In the mean time, you can try the following: Uninstall the SQL Server 2000 tools and reinstall if you still need them.

Thanks,
Peter Saddow [Microsoft]
Posted by d.tarczynski on 12/12/2008 at 3:43 PM
Hello I have the same problem

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Invalid character in the given encoding. Line 1, position 1. (C:\Documents and Settings\dtarczyński\Local Settings\Application Data\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 1) ---> System.Xml.XmlException: Invalid character in the given encoding. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.SwitchEncoding(Encoding newEncoding)
at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration(Boolean isTextDecl)
at System.Xml.XmlTextReaderImpl.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
--- End of inner exception stack trace ---
at System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
at System.Configuration.Internal.InternalConfigRoot.RemoveConfigImpl(String configPath, BaseConfigurationRecord configRecord)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
at System.Configuration.SettingsBase.get_Item(String propertyName)
at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
LandingPage
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    CodeBase: file:///c:/cedab9a3bb927fb880bd75423add0b/x64/LandingPage.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.SqlServer.Configuration.Sco
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    CodeBase: file:///c:/cedab9a3bb927fb880bd75423add0b/x64/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    CodeBase: file:///c:/cedab9a3bb927fb880bd75423add0b/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.SqlServer.Management.Controls
    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.1600.22 ((SQL_PreRelease).080709-1414 )
    CodeBase: file:///c:/cedab9a3bb927fb880bd75423add0b/x64/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Posted by Ryan Markel on 11/12/2008 at 1:57 PM
I'm attaching the file I was handed below.
Posted by Microsoft on 11/4/2008 at 1:58 PM
Thanks for contacting us. For us to figure this issue out, we need the full log files. It appears SQL Server 2005 Express is installed and when the product is accessed setup ends up failing. In the newest log folder, there should be a *.CAB file. Can you provide us this file?

Thanks,
Peter Saddow [Microsoft]