Click here to Skip to main content
15,893,190 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have developed a win form application with .NET 3.5 and C# in Visual Studio 2008. This application using Microsoft Access 2003 file as database. My development machine have Windows XP installed.

When I've completed the development of the application, I've created setup project for this, which is keeping the database in windows Common Application Data folder (in xp: C:\Documents and Settings\All Users\Application Data, and in vista: C:\ProgramData).

I've installed the application in Vista and XP machine. Its working as desired except few small bugs. Then I've un-installed the program and installed it again in XP and Vista machine. And here comes the BIG issue. In XP it s working nicely. But in Vista the program displaying an error which saying some data file path is missing (I am saving some file path in DB field.) After some research I found that this error actually raised for some files which was created after previous install. My question is, I HAVE UN-INSTALLED THE PROGRAM SUCCESSFULLY, SO THE DATABASE I USED IS ALSO DELETED PHYSICALLY, THEN HOW THE NEWLY INSTALLED APPLICATION FIND DATA FROM PREVIOUSLY INSTALLED APPLICATION???????

This is only happening in Vista (don't know about Win 7). Please let me know if anyone solved this problem.
Posted

1 solution

Your application data is not cleared when you uninstall an application. I'd have thought that was obvious from what you're seeing, but it is, in any case, true.
 
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