I recently renamed my root TFS folder from D:\\TFS\\systemstfs
to D:\\TFS\\sys
because one of the project\'s paths was too long for Windows. Now, when
Had the same issue today.
Change that caused the issue
Moving functionality from a separate controller to home controller. I literally moved a view and the functionality behind it from Controller'X' to HomeController
Nature of the issue
Fix
If using a Virtual machine with "Shared Folders" -- I was using Workstation Pro to share the folder. When the project was in the "Shared folder" that was hosted on the HOST PC I was unable to run the project. Moving the project to a "Local" Drive resolved for me.
Here is another possible solution that doesn't involve fishing for the applicationhost.config file:
In my case I also needed to change authentication mode which can be done via:
In my case, the following changes resolved this error:
Open applicationhost.config
file from [SolutionFolder]>.vs[Hidden Folder]
and change the value of overrideModeDefault
attribute in windowsAuthentication
section from Deny to Allow. As shown below.
I got the same error on IIS 8.5 (not express)
For me it was because I had replaced the folder with a copy and renamed it while IIS was running. For some reason it kept erroring out. I had to remove the website definition from IIS and re add it to get it to work.
I got this error while getting code from my colleague and it was referring her path. I tried checking the path in whole application folder but couldn't. So I again got the code from different source other than my Colleague.