Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Error: One or more projects in the solution were not loaded correctly" particularly for Windows7

I am trying to open a Project/Solution in VS 2010. I was able to open the same code successfully in Windows XP, where it gave a dialogue "Temporarily Work Uncontrolled", and on clicking Yes the code loaded and worked fine. But in Windows 7 when I try to open same code it gives me the error:

"One or more projects in the solution were not loaded correctly"

and no project files are loaded in solution explorer.

like image 576
sandy Avatar asked Oct 10 '12 14:10

sandy


1 Answers

I also faced the same problem. Here is what I did to resolve it:

Solution:

Run the solution file with administrator account. ex: Visual studio 2010 in your windows start menu, and right-click, run as administrator. Then, go to the file and open the solution file.

Reason for Problem

This occurred because we were creating the virtual directory for the project after copying that project to another location on the same machine. Thus, a virtual conflict occurred. Avoid this situation.

like image 129
user2114670 Avatar answered Oct 08 '22 17:10

user2114670