Answered Unhandled exception when installing SQL Server 2008 R2

  • 1 สิงหาคม 2553 18:21
     
     
    I tried to download SQL Server 2008 R2 Express it ran for about 30 minutes and then gave a Net Framework error stating that "an Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue....." Once I clicked Continue and it did continue to run and then brought up an info screen with no semblance of the download having worked. I had successfully installed SQL Server 2005 Express previously. I uninstalled it along with the Studio Manager. Do I need to uninstall .NET Framework 3.5 SP1 and  .NET Framework 4 Client Profile which are still currently installed before I can install 2008? 

ตอบทั้งหมด

  • 1 สิงหาคม 2553 20:23
     
     คำตอบ

    Hi GMCdb,

    "Installing .NET Framework 2.0 SP2: .NET Framework 2.0 SP2 is not available as a separate download. You will need to install .NET Framework 3.5 SP1 which includes .NET Framework 2.0 SP2."

    I would uninstall them and reinstall .NET framework and try again, mainly .NET Framework 3.5 SP1 is needed for SQL Server 2008 R2.

    For more info please refer to the link below:

    http://msdn.microsoft.com/en-us/library/ms143506.aspx

    Hope this helps! 


    Thanks, Michael Mei
    • ทำเครื่องหมายเป็นคำตอบโดย Tom Li - MSFTModerator 9 สิงหาคม 2553 2:06
    •  
  • 2 สิงหาคม 2553 1:02
     
     

    Hi Michael,

    Thanks for responding.  Would I need to uninstall .NET Framework 4 Client Profile too?

    Also, I'm concerned that uninstalling .NET Framework 3.5 SP1 may cause other problems on my computer. Is it used by anything else besides SQL? By the way I forgot to mention I'm running on Vista.

    Thanks,

    GMCdb

  • 2 สิงหาคม 2553 3:14
     
     

    Hi GMCdb,

    Please refer to the link I showed you previously.

    I would double check to see if I have all the required components then try again.

    If you still experience issues then I would "reinstall" .NET Framework 3.5 SP1 , or .NET Framework 4 Client Profile.

    There is no special requirement for Vista, but in general you should install SQL Server Express that match with your OS (64-bit vs. 32-bit)

    Hope this helps!

    "2SQL Server Setup will not install the following required components for SQL Server Express ,SQL Server Express with Tools, and SQL Server Express with Advanced Services. You must install these components manually before you run SQL Server Setup:

    • SQL Server Express — .NET Framework 2.0 SP2 and Windows installer 4.5. On Windows Vista SP2, use .NET Framework 3.5 SP1.

    • SQL Server Express with Advanced Services — .NET Framework 3.5 SP1, Windows Installer 4.5, and Windows PowerShell 1.0.

    • SQL Server Express with Tools — .NET Framework 3.5 SP1, Windows Installer 4.5, and Windows PowerShell 1.0."


    Thanks, Michael Mei
  • 27 กุมภาพันธ์ 2554 15:40
     
     

    Sorry I have to reopen this. But I have a similar, but not the same problem.

    I have Windows 7 64bit Ultimate, with VS 2010 professional on my notebook, quad core processor with 8gb of ram and plenty of disk space. I am trying to install SQL Server 2008 R2 Developer edition on my computer. .Net 4.0 was installed, as was .Net 3.5.1 (from the "Turn Windows Features On/Off" of Programs and Features Control Panel applet).

    When I try to install, I get a Dialog labelled "Microsoft .NET Framework", then the error is "Unhandled exception has occurred in your application. If you click on Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately. <p> An error occurred create 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. PublicKey Token-b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\users\myname\AppData\Local\Microsoft_Corporation\Landing Page.exe_StrongName_rspccglaxmt4nhlj5z3thycltsvyyx\10.0.0.0\user. config

    I have removed .Net 4, I have removed .Net 3.5.1 and readded it, rebooting after each step.

    any help on this would be appreciated.

    Thanks

  • 10 เมษายน 2554 14:40
     
     
    I have the same problem. Have you gotten any help on this?
  • 10 เมษายน 2554 20:42
     
     

    I have Windows 7 PRO - wasted a weekend so far.   I haven't used MS products in a while.  I was hoping this would be a point and click.  After wasting many hours in MSDN, I assume .NET 3.5 SP1 is part of the OS and .NET 4.0 = .NET 4 Client Profile+.NET 4 Extended and therefore I have all of the required sw installed.

    What I've found is that if I install SQL SERVER EXPRESS by itself, it installs and runs w/o the Browser by default.  whatever the browser does? 

    If I try to install WT (with tools) or ADV (everything) I get the unhandled exception above.  I started with the WEB Stack and just wanted the Management Tool so I could create some tables. 

    If you install without the Tools and then try to install Management Studio Express, it says there's a compatibility issue and says I need SP1 installed.  If you continue, it relaunches the SQL Server Express installation?

    I'm not familiar with MS so this could be my problem....but I don't think so.  stinky

     

  • 10 เมษายน 2554 21:31
     
     

    I'm running.   I uninstalled everything.  I installed the ADV (everything)...I ignored the unhandled exception.  During the configuration, I made it where I could manually start the SQL Browser (important!).   When I brought up the studio, I could not connect/log in.   I set it up so mixed mode so I could try sa too.  I turned off all my firewalls.  I enabled the TCP/IP and Named Pipes and restarted the service...still no worky.   I tried to browse for servers, none showed up until I started the SQL Browser.  

     

     

  • 22 กรกฎาคม 2554 17:57
     
     คำตอบ
    The solution that I found for this problem was to delete the preexisting user.config file listed in the error and rerun setup. It then installed without incident.
  • 31 กรกฎาคม 2554 10:34
     
     

    Thanks to Ray: total time wasted.. 15 seconds.

  • 10 ตุลาคม 2554 8:07
     
     

    Yes.. I had the same problem, and wound up here on this thread. and actually, I have an HP Probook (notebook computer) , with a fresh copy of Visual Studio 2010 and sp1 just installed on it.. I went through 2 different sql server disks and same result..

     

    What worked, was what Ray had said.. DELETE the User.Config file, located under the path the exception shows you under users\appData

     

    Thanks.

     

     

  • 16 ตุลาคม 2554 18:40
     
     
    Same as Byte - But I took 30 seconds.
  • 22 ธันวาคม 2554 23:56
     
     

    That was easy ;)  Don't you wish they all were!!!

  • 10 มกราคม 2555 8:56
     
     
    The solution that I found for this problem was to delete the preexisting user.config file listed in the error and rerun setup. It then installed without incident.
    Perfect fast and simple solution, worked perfectly for me!
  • 27 กุมภาพันธ์ 2555 18:35
     
     
    I want to kiss Ray!  That was it :o)
  • 21 มีนาคม 2555 14:27
     
     
    J'ai fais cela et ça fonctionne très bien...
  • 28 มีนาคม 2555 20:34
     
     
    Thanks Ray.
  • 18 กรกฎาคม 2555 21:18
     
     
     I had the same problem and deleted the user.config file and now it's saying the "configuration system failed to initialize" now SQL express and SQL Management system won't work...
    • เสนอเป็นคำตอบโดย yaminikosaraju 7 พฤศจิกายน 2555 5:48
    • ยกเลิกการนำเสนอเป็นคำตอบโดย yaminikosaraju 7 พฤศจิกายน 2555 5:48
    •  
  • 11 มกราคม 2556 21:02
     
     
    Wonderful solution, thank you.  Worked with my SQL 2012 install as well.
  • 11 มกราคม 2556 21:02
     
     
    Wonderful solution, thank you.  Worked with my SQL 2012 install as well.
  • 12 กุมภาพันธ์ 2556 7:53
     
     
    Can someone please tell me were I ca find the user.config file. I have the same problem with SQL 2008. Thanks.
  • 19 กุมภาพันธ์ 2556 21:43
     
     
    Thanks Ray.