Clean up HACK to clean up previous version of Framework and Visual Studio on your mchine.


You MUST visit  the official uninstall instructions found at the Express download site before following the following hack. 



Issue: When Visual Studio Express 2005 Beta products are uninstalled in the order different than the post at http://lab.msdn.microsoft.com/express/uninstall/  For example, .NET Framework was uninstalled before Visual Studio client was uninstalled. The machine is left in a dirty state and future installations of Visual Studio and the .NET Framework may be affected. This is not a Microsoft supported scenario.


.NET Framework needs to be uninstall last. Users can try to install back the Framework before retrying the uninstall of other components in the RIGHT order specified here.


If that also fails, You cant try to perform the following steps to manually clean up the Framework and Visual Studio on the machine. However, this doesn’t clean up the other components installed by Visual Studio Express, such as SQL Express, SQL native client, SQL supporting tool etc. If the previous version of these components are not removed, the future install of Express would fail for these components.


 


Notes: Before proceeding please note these important caveats:




·         These steps do not work for the version of the .NET Framework that is installed as part of non-released OS


·         As long as you intend to install a later build of the .NET Framework 2.0, previously shipped versions of the .NET Framework (1.0 and 1.1) will continue to function properly after performing all of these steps. However, these steps should not be used to manually uninstall and clean up the .NET Framework 2.0 in side-by-side scenarios. If you only intend to use these steps to manually uninstall the .NET Framework 2.0, you must repair the .NET Framework 1.0 and/or 1.1 after manually uninstalling 2.0.  The steps required to repair the .NET Framework 1.0 and 1.1 can be found by locating the .NET Framework 1.0 or 1.1 entry in the Add or Remove Programs Control Panel, clicking the link to view support information and clicking the Readme link in the support information dialog.


 


Steps to clean up Framework on a machine


·                     Using regedit, navigate to HKLM\Software\Microsoft\.NETFramework and delete any keys and values that have 1.2 or 2.0 in it, including keys/values that are in subkeys underneath .NETFramework.


·                     Using regedit, navigate to the sub-hive HKLM\Software\Microsoft\.NETFramework\Policy and delete any key or value that has 1.2 or 2.0 in it.


·                     Using regedit, navigate to HKLM\Software\Microsoft\ASP.NET and delete any key or value that has 1.2 or 2.0 in it, including keys/values that are in subkeys underneath ASP.NET.


·                     Right-click on My Computer and choose Manage. Expand Computer Management (Local), then Local Users and Groups, then click on the Users folder. In the right-hand pane, right-click on the ASPNET user account and choose Delete to remove it.


·                     Go to %windir%\assembly and delete anything with *1.2* or *2.0* in the folder name. Delete the GAC_32 and GAC_MSIL folders as well. Note: You may need to set the registry key at


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]


“DisableCacheViewer”=dword:00000001


in order to be able to view the sub-folders in %windir%\assembly using Windows Explorer. Delete the DisableCacheViewer after completing this step


·                     Go to %windir%\Microsoft.NET\Framework and delete any folders named v1.2.* or v2.0.* along with all of the files and subfolders they contain.


·                     Rename %windir%\system32\mscoree.dll to mscoree.dll.old.


·                     After doing all of this, try to install the previously failing build of the .NET Framework.


 


Steps to clean up the VS client on a machine


Issue: This application has failed to start because the application configuration is incorrect


 


Summary: When the user machine used to have old versions of VS 2005 (e.g Beta1 or CTP), installing a newer version sometimes cause the above error dialog when users launch the IDE. This is caused by old WinSxS assemblies left over in %windir%\WinSxS folder.


 


Cause:
When the user machine used to have old versions of Whidbey, installing a newer version sometimes cause the above error dialog when users launch the IDE. This is caused by old WinSxS assemblies left over in %windir%\WinSxS folder.


 


Resolution:
Steps to resolve the problem is:


·                     Go to the System event log and look for error logs with event source “SideBySide”.


·                     Get the name of assemblies mentioned in the event log.


·                     Go to %windir%\WinSxS and rename the folders with similar names (for example *.VC80.*)


Launch Setup again, and choose to repair the product.



Thanks to Aaron for providing the contents, please refer to his blogs for more details.


Cleaning up .NET 2.0 – http://blogs.msdn.com/astebner/archive/2005/04/16/408856.aspx


VS issues (uninstall ordering and WinSxS assemblies) – http://blogs.msdn.com/astebner/archive/2005/04/16/408860.aspx



 


Comments (84)

  1. Title: MSDN is Live, go get Visual Web Developer 2005 Express Edition Beta 2!!

     

    Body:

     …

  2. Howard says:

    You really saved my day! This helped me to uninstall the beta version without having to reformat my pc… thanks!

  3. Kai says:

    Following the instructions made my windows (XP home edition) not boot now! Panic!

    Trying to undo in safeMode before reinstalling windows ;_(

  4. rape stories says:

    Best of the text i read about a problem.

  5. Very interesting and good point about <a href="http://home-owner.kogaryu.com/bad-credit-guaranteed-loan-personal.html"”>http://home-owner.kogaryu.com/bad-credit-guaranteed-loan-personal.html" title="bad credit guaranteed loan personal">bad credit guaranteed loan personal</a> and [URL=http://home-owner.kogaryu.com/bad-credit-guaranteed-loan-personal.html]bad credit guaranteed loan personal[/URL]

  6. Very many thanks for a good work. Nice and useful. Like it!

  7. Very interesting and good point about <a href="http://cheapmedical.50megs.com/commercial-construction-loan.html"”>http://cheapmedical.50megs.com/commercial-construction-loan.html" title="commercial construction loan">commercial construction loan</a> and [URL=http://cheapmedical.50megs.com/commercial-construction-loan.html]commercial construction loan[/URL]

  8. Very interesting and good point about <a href="http://cheapmedical.50megs.com/commercial-construction-loan.html"”>http://cheapmedical.50megs.com/commercial-construction-loan.html" title="commercial construction loan">commercial construction loan</a> and [URL=http://cheapmedical.50megs.com/commercial-construction-loan.html]commercial construction loan[/URL]

  9. Very interesting and good point about <a href="http://growfinance.bravehost.com/home-interest-mortgage-rate.html"”>http://growfinance.bravehost.com/home-interest-mortgage-rate.html" title="home interest mortgage rate">home interest mortgage rate</a> and [URL=http://growfinance.bravehost.com/home-interest-mortgage-rate.html]home interest mortgage rate[/URL]

  10. Poll Pitt says:

    I am so [url=http://access.2surf.eu]lucky[/url] on having what I have! And good luck in yours [url=http://2access.2surf.eu]search[/url].

    Just visit [url=http://access.122mb.com]my site[/url].

  11. clalis says:

    Thank you so much for this great post  about <a href="http://alisonfame.50megs.com/clalis.html"”>http://alisonfame.50megs.com/clalis.html" title="clalis">clalis</a> and [URL=http://alisonfame.50megs.com/clalis.html]clalis[/URL]

  12. obesity says:

    Thank you so much for this great post  about <a href="http://alisaadams.250free.com/obesity.html"”>http://alisaadams.250free.com/obesity.html" title="obesity">obesity</a> and [URL=http://alisaadams.250free.com/obesity.html]obesity[/URL]

  13. Thank you so much for this great post  about <a href="http://rivasherwin.50megs.com/alliance-leicester.html"”>http://rivasherwin.50megs.com/alliance-leicester.html" title="alliance leicester">alliance leicester</a> and [URL=http://rivasherwin.50megs.com/alliance-leicester.html]alliance leicester[/URL]

  14. You have great site, impressive! Look at mine <a href="http://hometown.aol.com/celebrityseek/paris-hilton.html ">Paris Hilton</a> or [url=http://hometown.aol.com/celebrityseek/paris-hilton.html]Paris Hilton[/url] bye!

  15. You have great site, impressive! Look at mine <a href="http://hometown.aol.com/celebrityseek/paris-hilton.html ">Paris Hilton</a> or [url=http://hometown.aol.com/celebrityseek/paris-hilton.html]Paris Hilton[/url] bye!

  16. Thank you so much for this great post  about <a href="http://winmoney.50megs.com/0-card-credit-interest-rate.html"”>http://winmoney.50megs.com/0-card-credit-interest-rate.html" title="0 card credit interest rate">0 card credit interest rate</a> and [URL=http://winmoney.50megs.com/0-card-credit-interest-rate.html]0 card credit interest rate[/URL]

  17. Thank you for this great post about <a href="http://alisonfame.50megs.com/breast-augmentation.html"”>http://alisonfame.50megs.com/breast-augmentation.html" title="breast augmentation">breast augmentation</a> and [URL=http://alisonfame.50megs.com/breast-augmentation.html]breast augmentation[/URL]

  18. Thank you so much for this great post  about <a href="http://morgantaturn.bravehost.com/cover-critical-illness-uk.html"”>http://morgantaturn.bravehost.com/cover-critical-illness-uk.html" title="cover critical illness uk">cover critical illness uk</a> and [URL=http://morgantaturn.bravehost.com/cover-critical-illness-uk.html]cover critical illness uk[/URL]

  19. Pol Pit says:

    I ‘m so [url=http://access.122mb.com]lucky[/url] on having what I have!

    Just visit [url=http://access.serverheaven.net]my site[/url]. Just see it! And good luck in yours [url=http://access.122mb.com]search[/url].

  20. biox says:

    Thank you so much for this great post  about <a href="http://agathamalcolm.50megs.com/biox.html"”>http://agathamalcolm.50megs.com/biox.html" title="biox">biox</a> and [URL=http://agathamalcolm.50megs.com/biox.html]biox[/URL]

  21. Thanks for the great tips about <a href="http://sarahcadman.50megs.com/best-buy-card-credit.html"”>http://sarahcadman.50megs.com/best-buy-card-credit.html" title="best buy card credit">best buy card credit</a> and [URL=http://sarahcadman.50megs.com/best-buy-card-credit.html]best buy card credit[/URL]

  22. Thank you for your site. I have found here much useful information!Very cool design!Added to favorites!! My site: http://titan-tankless-waterheater.blogspot.com

  23. Wonderful and informative web site.I used information from that site its great.

    My Catalogue site of Biker jacket leather

    http://solisearch.net/bloghoster/?u=siniy

  24. Tytr says:

    Cool project! <a href= http://www.healthinsurance.newoz.info >health insurance</a> <a href= paydayloan.newov.info >payday loan</a>

  25. Besid,Besid says:

    Very good project! <a href= http://www.debtconsolidation.newov.info >debt consolidation</a> <a href= http://www.badcreditloan.newov.info >bad credit loan</a>

  26. Qest,Qest says:

    Very nice resources!<a href= http://www.mortgagerefinancing.newov.info  >mortgage refinancing</a> <a href= http://www.autoinsurancequote.newoz.info >auto insurance quote</a>

  27. Ocis,Ocis says:

    Very nice resources!<a href= http://betting.ggfix.com >betting</a> <a href= http://wagering.ggfix.com >wagering</a>

  28. Chris says:

    Amazing artwork! This is spectacularly done! Visit my sites, please:

    <a href=  ></a> [url=][/url]

  29. Bruce,Bruce says:

    Perfect site, i like it! <a href= http://docs.google.com/View?docid=df2wwh2p_7c7mc89 >Debt Consolidation</a> [url=http://docs.google.com/View?docid=df2wwh2p_7c7mc89]Debt Consolidation[/url]  Thanks, bye!

  30. Dianne says:

    Exelent! Good work! Please visit my site too:

    <a href= http://fm7.biz/0l6t >ephedra</a> [url=http://fm7.biz/0l6t]ephedra[/url]

  31. Linkin park says:

    Best my wishes to Admin. Plz look my site too:

    <a href=http://linkin-park.creablog.com>linkin”>http://linkin-park.creablog.com>linkin park concert ticket</a> | [url=http://linkin-park.creablog.com]linkin park concert ticket[/url] | http://linkin-park.creablog.com – linkin park concert ticket !  Thanks.  p.s. Linkin Park Concert Ticket

  32. Britneyymrfu says:

    Very nice! I have some LJ with news, check this out:

    <a href= http://michelas.livejournal.com >My live journal</a>

    <a href= http://homerius.livejournal.com >Lastest news</a>

    <a href= http://johnyknoxw.livejournal.com >My live journal</a>

  33. Britneywlbex says:

    Very nice! I have some LJ with news, check this out:

    <a href= http://iwantubadlyz.livejournal.com >Newest news</a>

    <a href= http://annakubat.livejournal.com >Check this out</a>

    <a href= http://jackie_simpson.livejournal.com >livejournal</a>

  34. Wried says:

    Very nice! I have some sites with news, check this out:

    <a href= http://nuhost.info >Politics news</a>

    <a href= http://susearch.info >Lastest news</a>

    <a href= yanasearch.info >Lifestyle news</a>

  35. Peni says:

    Your site is best look my site – <a href="http://freecal.brownbearsw.com/Magnarx">Magna rx</a>

  36. Peni says:

    Your site is best look my site – <a href="http://freecal.brownbearsw.com/Magnarx">Magna rx</a>

  37. Wried says:

    Very nice! I have some sites with news, check this out:

    <a href= http://kreolikko.livejournal.com >Politics news</a>

    <a href= http://icefroggg.livejournal.com >Lastest news</a>

    <a href= http://icyiceman.livejournal.com >Lifestyle news</a>

  38. My compliments to a very nice website. I found lots of intresting things here. p.s. If there will not provide documentation in front of the thyroglossal duct

  39. Looks great! I found lots of intresting things here. Many thanks.

  40. bloggerdad says:

    Hello.

    I have problem with enter to this site via GPRS.

    Please, help me.

    Thanks!

    Best regards.

  41. If you listen to the Matrix soundtrack on your Ipod, or perhaps a fun song by an Irish band, your life automatically becomes a movie.

  42. Looks great! I found lots of intresting things here. Many thanks.

  43. Looks great! I found lots of intresting things here. Many thanks.

  44. Papaygt says:

    <a href= http://bewarecfo.pochta.ru >a face in the crowd site myspace.com</a> <a href= http://cogitativedi.pochta.ru >a stateless society as referred by hobbes and locke</a> <a href= http://ambiancepunctuate.pochta.ru >aardvark juicers</a> <a href= http://cutba.pochta.ru >a level biology coursework guide</a> <a href= http://amusedne.pochta.ru >a.eflcorsa.pl d giro italia link</a>

  45. Buy Caverta says:

    What a good site! I think it wasnt easy to post here so much information. Thank you, I will add it to my bookmarks

  46. What a good site! I think it wasnt easy to post here so much information. Thank you, I will add it to my bookmarks

  47. Buy Caverta says:

    Looks great! I found lots of intresting things here. Many thanks.

  48. Buy Caverta says:

    Please, do not delete the given message. Money obtained from spam will go to the help hungry to children Uganda

  49. I’m happy to welcome you.

    I enjoyed talking with you.,I’m happy to welcome you.

    I enjoyed talking with you.,I’m happy to welcome you.

    I enjoyed talking with you.,I’m happy to welcome you.

    I enjoyed talking with you.

  50. At the  <a href=http://groups.google.co.uk/group/caroline3414/web/line-loan-payday>payday loan on line</a> push banco risk carribean crack <a href=http://groups.google.co.uk/group/camryn5774/web/cash-advance-credit-card>free cash advance with credit card</a> war rock under line <a href=http://groups.google.fr/group/niamh5974/web/franaise-des-jeux>fran�aise des jeux</a> queens white vig odds!

  51. Don”t best payday loan advance card cash credit

  52. guest says:

    The [Steps to clean up Framework on a machine] is the only answer I found that solved my VS 2005 installation problem after several of hours searching online. Many thanks to you!

  53. 話題の小向美奈子ストリップを隠し撮り!入念なボディチェックをすり抜けて超小型カメラで撮影した神動画がアップ中!期間限定配信の衝撃的映像を見逃すな