none
Can't get SQL 2008 Express installed RRS feed

  • Question

  • Hope some one can help me. I am trying to install 2008 Express version and I constantly get the following error. I have tried pretty much all flavors of express and get the same thing. I uninstalled several time and reinstall but keep getting the same exception error. Can someone help me out. Here is the error:

    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: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Documents and Settings\Jocelyn\Local Settings\Application Data\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
    File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
       at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory..ctor(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
       at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

       --- End of inner exception stack trace ---
       at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
       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, Boolean getLkg, Boolean checkPermission)
       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.Properties.Settings.get_WindowPlacement()
       at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       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.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.3603 (GDR.050727-3600)
        CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    LandingPage
        Assembly Version: 10.0.0.0
        Win32 Version: 10.0.2531.0 ((Katmai_PCU_Main).090329-1015 )
        CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Setup%20Bootstrap/Release/x86/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.2531.0 ((Katmai_PCU_Main).090329-1015 )
        CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Setup%20Bootstrap/Release/x86/Microsoft.SqlServer.Configuration.Sco.DLL
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3082 (QFE.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.2531.0 ((Katmai_PCU_Main).090329-1015 )
        CodeBase: file:///C:/Program%20Files/Microsoft%20SQL%20Server/100/Setup%20Bootstrap/Release/x86/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.

    Thanks,
    Jocs

    Tuesday, February 9, 2010 3:37 AM

Answers

All replies

  • Have you installed .net 3.5 SP1 on your system?


    According to following link you only need .net Framework 2.0 SP2 but I will still recommend installing above package before installing. http://msdn.microsoft.com/en-us/library/ms143506.aspx

    Tuesday, February 9, 2010 2:42 PM
  • Prior to Vista, .NET Framework 2.0 SP2 should be fine. However for Vista or later version OS, SQL Server 2008 Express also requires .NET Framework 3.5 SP1. You can find the following description from this page http://www.microsoft.com/downloads/details.aspx?familyid=58CE885D-508B-45C8-9FD3-118EDD8E6FFF&displaylang=en.
    <quote>
    Step 1: Download and install Microsoft .Net Framework 3.5 SP1.

    Step 2: Download and install Windows Installer 4.5.

    Step 3: Download SQL Server 2008 Express by clicking the appropriate link later on this page. To start the installation immediately, click Run. To install SQL Server Express at a later time, click Save.
    </quote>


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Thursday, February 11, 2010 8:44 AM
    Moderator
  • From the error message provided it looks like the .NET 4 version of the System assembly is being incorrectly loaded.  I'm currently seeing the same error trying to install SQL 2008 Developer and I have .NET 3.5 SP1 installed already as well as the Visual Studio 2010/.NET 4 Release Candidate.
    Monday, March 29, 2010 8:58 PM
  • Hi. I am also seeing this error when installing SQL Developer after installing VS 2010 Ultimate (not the beta or RC). Has anyone found a solution? I should add that I am running Windows 7 Enterprise x64. I've also tried installing using the 'slipstream' method. It still fails. But the error above is generated before anything. If I ignore it, I can continue, but it eventually fails.

    Thursday, April 22, 2010 9:29 PM
  • Any solution I am runninginto same issue?
    Thursday, April 29, 2010 12:03 AM
    • Proposed as answer by Jeff Wight Friday, September 24, 2010 4:31 AM
    • Marked as answer by Naomi NModerator Tuesday, January 31, 2012 12:21 AM
    Thursday, April 29, 2010 10:48 PM
  • I was also facing the same error and deletion of the AppData\Local\Microsoft_Corporation folder resolved the issue.

    Thanks,

     

    Tuesday, November 9, 2010 1:06 PM
  • My fix was to rename the user.config file located at C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0 TO USER.CONFIG.BAK

    • Proposed as answer by fadime sener Wednesday, December 29, 2010 9:36 PM
    • Marked as answer by Naomi NModerator Tuesday, January 31, 2012 12:21 AM
    Friday, November 19, 2010 4:00 AM
  • I have faced this error  and renaming user.config solved my problem.

    Thanks
    • Proposed as answer by swathim Friday, January 14, 2011 10:18 PM
    • Marked as answer by Naomi NModerator Tuesday, January 31, 2012 12:20 AM
    Wednesday, December 29, 2010 9:37 PM
  • I had this error after uninstalling SQL Server 2008 express, when I was trying to install 2008 R2 Developer Edition

    Delete ...AppData\Local\Microsoft_Corporation and install SQL Server2008

    It solved problem

    Wednesday, February 2, 2011 6:34 AM
  • Delete ...AppData\Local\Microsoft_Corporation and install SQL Server2008

    http://blogs.msdn.com/vsnetsetup/archive/2009/10/29/sql-server-2008-setup-fails-with-a-microsoft-net-framework-exception.aspx

     

     

    This is it!


    sam witwiki
    Wednesday, March 30, 2011 1:19 AM
  • Dear Charles!

    Am trying to install SQL Server 2008 on Windows server 2008 R2 for the last five days but getting errors continuously like:

    1. SQL Server Setup has encountered the following error:

    Invoke or BeginInvoke cannot be called on a control until the window handle has been created..

    2. MicroSoft Net framework: unhandled exception occurred in your application. 

    An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly ‘System, Version=4.0.0.0, ............

     

    As you suggested

    I tried to install  Microsoft .Net Framework 3.5 SP1 but it doesnt run on it, then I installed  Microsoft .Net Framework 4.0.30319.1 it is installed on it.

     

    Then I installed Windows Installer 4.5 too

     

    But my problem is not solved, kindly help me asap.

     

    Ques: I am a user as “administrator” in the system, is it enough or have I to log in as a main administrator of the system.

     

    Monday, May 2, 2011 7:24 AM
  • Its RIGHT answer:

     

    Rename the user.config file located at C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0 TO USER.CONFIG.BAK

    Monday, May 2, 2011 7:50 AM
  • Thanks for posting right answer it really helped and worked for me.
    Monday, October 24, 2011 6:47 PM
  • This resolved the error message on a colleagues PC so in my experience appears to be the solution to this problem
    • Proposed as answer by yulayko Monday, January 23, 2012 2:30 PM
    Wednesday, December 28, 2011 1:16 PM
  • I cannot find AppData folder under my C:\Users\UserName path. I also encounter same problem when installing mssql sever 2008.
    Monday, January 23, 2012 2:32 PM
  • I too had that problem where I could not find it. I opened Command Mode, right-click and run as administrator, and typed in the information. The one directory is hidden (AppData), all others you can see. So type this exactly (not case sensitive): cd C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0 [enter]. That should get you to the directory. Then type the next command: ren USER.CONFIG USER.CONFIG.BAK [enter]. That will do it for you.
    • Edited by SSLCOOK2 Tuesday, January 31, 2012 12:19 AM
    Tuesday, January 31, 2012 12:18 AM
  • My fix was to rename the user.config file located at C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0 TO USER.CONFIG.BAK

    I had the same exact problem as the OP.  This particular fix worked for me.  Thank you.
    • Proposed as answer by Ankur Parikh Monday, September 24, 2012 9:39 PM
    Wednesday, April 18, 2012 10:30 AM
  • Deleting the **user.config** file mentioned in the error message resolves this. 

    Full path:

    %USERPROFILE%\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config

    Note: I am using Windows 7 Ultimate (64 bit) .
    First I have uninstalled Visual Studio 2010, then I deleted user.config from the above path.
    Monday, September 24, 2012 9:40 PM
  • I'm having the same issue installing SQL2008 full version on 2008 x64 Server but there doesn't seem to be a C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation directory????? There is a C:\Users\[USER_NAME]\AppData\Local\Microsoft directory but there is no user.config file there so this workaround only seems to work if installing on Win7.

    Has anyone solved this on win2008 Server?

    Thanks

    • Proposed as answer by TimidWriter Monday, March 18, 2013 3:45 PM
    • Unproposed as answer by TimidWriter Monday, March 18, 2013 3:45 PM
    Monday, February 25, 2013 10:03 PM
  • I'm having the same issue installing SQL2008 full version on 2008 x64 Server but there doesn't seem to be a C:\Users\[USER_NAME]\AppData\Local\Microsoft_Corporation directory????? There is a C:\Users\[USER_NAME]\AppData\Local\Microsoft directory but there is no user.config file there so this workaround only seems to work if installing on Win7.

    Has anyone solved this on win2008 Server?

    Thanks

    Delete the directory "\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\"

    The "LandingPage...." is the directory that you need to delete. The suffix part of the name is random I believe.

    • Proposed as answer by TimidWriter Monday, March 18, 2013 3:45 PM
    Monday, March 18, 2013 3:45 PM
  • Thanks a lot; you saved my time..
    Friday, August 9, 2013 9:16 PM
  • One hint is that the LandingPage.exe_strongName... is not visible, so you have to paste the link into windows explorer to get to the proper directory.
    Saturday, November 2, 2013 5:00 AM
  • Thank you! Woo-Hoo.... silly fix but I updated .Net, as a VM made sure I logged into console - *Poof* working.
    Wednesday, January 21, 2015 11:53 PM