Click here to Skip to main content
15,908,115 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using SqlDataSourceEnumerator.Instance.GetDataSources() to find if sql instance is installed in my machine or not.

I have installed sql server 2008 in my machine,then uninstalled completely,and it didn't show any error.

SqlDataSourceEnumerator.Instance.GetDataSources() works perfectly in windows 7 or xp to check if sql installed or not.

But when I install and then uninstall sql in windows 8,the code all time returning the instance what was previously installed.
I've checked registry as well as programfiles.Sql is nowhere.

Where is the problem?
Posted
Updated 14-Oct-14 21:06pm
v2
Comments
[no name] 15-Oct-14 7:07am    
This has nothing to with programming. You can get support for SQL Server issues from Microsoft, http://support2.microsoft.com/ph/1044/hr

Uninstallation failed.
Please read this: How to: Uninstall an Existing Instance of SQL Server (Setup)[^]. Go to the bottom of page and read the "See also" section and the comments to the article.
 
Share this answer
 
Comments
souvikcode 11-Oct-14 7:39am    
I have uninstalled in correct way.It has no problem with xp and windows 7.So why is it creating problem in win 8?
Maciej Los 11-Oct-14 8:33am    
No. Uninstallation failed. Follow the links and find out.
souvikcode 15-Oct-14 3:07am    
No uninstallation succeed.If it didn't show any error then how to know uninstallation failed.I removed sqlserver folder from program files as well as in registry sql server is not listed.So how did you say uninstallation failed?
It is solved.The answer is same as another question I have created on this topic.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900