This is the write-up I did for the North Texas SQL Server User Group, wherein I laid out how I resolved this particular problem and others in regard to getting a clean installation of SQL Server 2008 R2 on my work laptop:
No one promised you a ROSE GARDEN, right? Microsoft does have great software. Unfortunately, when you uninstall Microsoft's SQL Server and/or Visual Studio, and then reinstall them, you may face some harsh realities, which may take many hours to resolve. Or, you could reformat your hard drive and start over, still costing you many hours of work.
I am posting this for anyone who may run into the same situation(s) as I did.
After uninstalling SQL Server 2008 R2 and Visual Studio 2008, and then reinstalling them both (try not to do this), when I attempted to open an existing SSIS project in the SQL Server Business Intelligence Development Studio (SQL Server 2008 R2 in the VS 2008 Shell), I would see the following error:
an error prevented the view from loading <---(Great error definition Microsoft!)
That is not a very good description to start finding out what happened and why your SSIS won't view, open, or create new SSIS projects. So, I resorted to Googling repeatedly. However, if you do not phrase your error or problem in the exact way that someone else does, you may never find the solution. Luckily today, I phrased the problem in a way that led me to this HEADLINE and link:
uninstalled vs 2008 now i can't use SSIS
This person says to register the 5 dll's in the following folders:C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\ folder, so I tired that, but the files would not register. I assumed that the files were somehow corrupted, so I copied the same files from another machine into the folder shown below and successfully opened a new SSIS project. No more errors!!!
What led me to the conclusion that the files might be corrupted was this posting:
[cannot edit data flow tasks in BIDS 2008. keep getting the error "an error prevented the view from loading. Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (msddsp)]
If you think you may have this problem, just replace your files with a copy from another SQL Server 2008R2/Visual Studio 2008 Installation, that is working, as follows:
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslm.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msdds.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsf.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddslmp.dll
C:\Program Files (x86)\Common Files\microsoft shared\MSDesigners8\msddsp.dll
I have used several tools to clean up the registry and fix uninstall and install problems:
(1) WISE Registry Cleaner (Free Download): http://www.snapfiles.com/downloads/wiseregistry/dlwiseregistry.html
(2) Manually deleted all references to "SQL" Server, which is not so easy, as there must have been hundreds of references. Stopped doing this and used registry cleaners. You need to be very careful, because some of the registry cleaners can cause some of your programs to no longer work.
(3) Microsoft's FixIt area: http://support.microsoft.com/fixit/
(4) Revo Uninstaller Pro (Free Download): http://www.revouninstaller.com/revo_uninstaller_free_download.html
(5) Fix problems with programs that can't be installed or uninstalled (Free Download): http://support.microsoft.com/mats/Program_Install_and_Uninstall
(6) Clean Registry For SQL Server (FREE) software: http://clean.software.informer.com/download-clean-registry-for-sql-server/
Last but not least:
(7) North Texas SQL Server User Group (NTSSUG). Everyone who responded gave me many good suggestions over the past few days, which ultimately helped in one way or another. http://northtexas.sqlpass.org/