Click here to Skip to main content
15,905,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
have created new MVC web application in visual studio with Individual account. Every functionality is working fine including Identity and sql localDB.

But when I add entity framework into my project. It giving me error in dialog box. "The operation could not completed". In output window i saw

C#
TF10121: The path '\\D:\c#\2016\testdelete\testdelete\Data\Model1.edmx.diagram' is not found or not supported. Type or select a different path.


I googled it but everybody giving different solution and those are not working.

I re-install my visual studio, but same error.

Do I need to change any path to solve this issue ?

I have created new solution from scratch, and there is only one project.

What I have tried:

VS2010 The operation could not be completed Installed mentioned package. (ASPNET WEB FRAMEWORK TOOL)

Visual studio was suggested me to install "AspNet5.ENU.RC1_Update1_KB3137909", and I installed this too.

I am using latest EF.

I tried to remove project and created new project as mentioned here, http://chrisghardwick.blogspot.in/2011/12/tf10121-path-is-not-found-or-not.html
Posted
Updated 6-Mar-16 8:17am
Comments
Kornfeld Eliyahu Peter 6-Mar-16 9:19am    
TF10121 is a TFS error...
https://support.microsoft.com/en-us/kb/2750613
Keval Patel 6-Mar-16 11:09am    
I am not using TFS in project
Kornfeld Eliyahu Peter 6-Mar-16 12:41pm    
Someone do...

Hi,

Open the affected solution (containing the web site that displays this error). Remove the affected project. Re-add the project.

Reference:

TF10121: The path '' is not found or not supported. Type or select a different path (VS.NET) | Stackemedia[^]

Thanks,
 
Share this answer
 
The only way I was able to make this work is like this:

Make sure all needed files are checked in across the solution.
Close the solution.
Rename solution folder to a .old or any such name.
Go to Source Control Explorer and get latest (force get it if you have to).
Now open the solution again.

The project should now load correctly.

Looks like VS stumbles against some old stale solution related files and breaks the loading routine.

Hope this helped!
 
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