During the weekend, I upgraded my version from vista to windows 7. The reason why I chose to upgrade my version was that I didn't want to re-install the driver, vs, SQL, and other software, so I chose to upgrade it, the upgrade time can still be tolerated. During the upgrade process, windows 7 Self-checks some incompatible programs, such as several built-in Thinkpad programs and iTunes. What you don't want to see most is SQL Server 2008. If it doesn't matter, upgrade the service first. After the upgrade, find a solution.
In this way, after a night of hard work (the computer is on and you are sleeping), you get up in the morning and look at the computer. After some simple system configurations, you can access the system interface, there are no other errors. At this time, I tried various software. There were no problems with Office, SQL Server 2008, Chrome, Maxthon, Firefox, Fireworks, and so on. However, when I open VS2008, the following error message is displayed, as shown in the figure:
I guess this error occurs because I deleted some files in Program Data from drive C due to insufficient disk space during the upgrade, there is no way. Who makes my hard disk split small? 40 Gb partition is not enough. There is no way. I can only search google for any results. I am very lucky. I have found a solution. Here, I would like to thank google and the overseas cool people again. 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 8 \ Common7 \ IDE \ devenv.exe"/setup
After this sentence is executed, the problem is solved. The purpose of this article is:
1. the flagship version of Vista can be upgraded to the flagship version of Windows 7;
2. After the upgrade, VS cannot be opened due to the lack of Application Data Folder. You can use the above sentence to solve the problem.