Over the weekend, I upgraded my laptop from Vista to Windows 7. The reason I chose to upgrade was because I didn’t want to reinstall drivers, vs, sql and other software, so I was lazy and chose to upgrade. The upgrade time was actually bearable. During the upgrade process, Windows 7 self-checked some programs that were incompatible with it, such as several programs that came with Thinkpad and iTunes. The last thing I wanted to see was that Sql Server 2008 was among them. Anyway, no matter what, upgrade first and then find a solution after the upgrade is completed.
After a night of tossing (the computer was on and I went to bed), I looked at the computer in the morning and after some simple system configurations, I entered the system interface. It was pretty good and there were no other errors. At this time, I tried various software Suddenly, there were no problems with Office, Sql Server 2008, Chrome, Maxthon, Firefox, Fireworks, etc., and I was secretly happy. But when I opened VS2008, the following error message popped up, please see the picture:
I guess this error occurred because during the upgrade, the hard disk space was insufficient and I deleted some files in Program Data in the C drive. There was no way. Who made my hard disk partition smaller? The 40G partition was not enough. Use it. I have no choice but to search on Google to see if there are any results. I'm pretty lucky and I really found a solution. I would like to thank Google again and the talented people abroad. You only need to enter one sentence in the command line. Of course, you need to enter the command line program as an administrator and execute the following statement:
Run "%programfiles%Microsoft Visual Studio 8Common7IDEdevenv.exe" /setup
After executing this sentence, the problem is solved.
The purpose of writing this article is actually twofold:
1. Vista Ultimate can be upgraded to Windows 7 Ultimate;
2. If after upgrading, VS cannot be opened due to the lack of Application Data Folder, you can use the above sentence to solve the problem.
-