In previous post in the Getting Started section, I discussed problems trying to run queries on multiple databases:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=299240#299240&SiteID=1
Nobody could help with the problem. I eventually got a query to run after several attempts at deleting and recreating databases. Then, I was hit with the following error message:
Class does not support aggregation (or class object is remote) (Exception from HRESULT: 0x80040110 (CLASS_E_NOGGREGATION)) (Microsoft.SqlServer.SqlTools.VSIntegration)
Nobody could help with that either but based on posts with the same message, I tried uninstalling sql server. It wouldn't uninstall nor can I repair or reinstall. Uninstalling thru Add or Remove Programs only resulted in the program listing being removed from Add or Remove Programs. Most of the sql server programs are still installed. They can be run but continue to malfunction. When I try a new installation, I get a message that the programs are already installed.
Is a complete reinstall of windows xp, programs and data the only solution I hate to believe it; but, at this point, I see no other choice.

Can't uninstall or reinstall nonfunctioning sql server
pasand
Marco Dorantes
stuntpope
tatero
Pikechan
Can you forward me the script to completely remove all SQL Server files and registry references There is not also a way to uninstall SQL Express.
My email: jurekba@optusnet.com.au
It's a pity that Microsoft again did not do its job to deliver working uninstall software for SQL Server 2005.
arl_garm
If your machine is of x86, please email me so I can forward a script to you to clean those unwanted SQL Server 2005 Components. What you can do is as follows.
1. In Add/Remove Program, remove all visible SQL Server 2005 components.
2. Run command sc, kill all unwanted SQL Server services such as SQL, OLAP, RS, Agent, ...
3. Run command regedit, remove all of those registry keys related to those unwanted SQL Server 2005 components. Of course, this operation is time-consuming and error-prone. That is why the script is created.
4. Reboot your machine and rerun SQL Server 2005 setup.
tmasboa
I'm having a similar problem and would like to get the script please.
-morten
Ntech
Geoffrey Jacoby
Thanks
rchrismon@patmedia.net
Big--Ben
diavo
this is a problem related to the Windows installer MSI database. It believes that the install is part-finished and gets itself a little screwed up. I'd recommend downloading the Windows Installer CleanUp Utility from here http://support.microsoft.com/default.aspx scid=kb;en-us;290301 and removing the relevant SQL Server database entries.
Following this retry the install, it should go through fine.
Nick752008
thx.
Kijju
Lesley
Hi,
Can you please send me that cleaning script, I'm having the same problem.
thanks
Bob