Technorati Tags:
.NET,
ASP.NET MVC I hit this error today while working with an MVC3 application. It appeared out of the blue – but don’t they always? Fortunately, I make a habit of committing my work into SVN every time my tests pass, so I could have just reverted back to my last Revision, but I wanted to know what I did to cause this.
Much to my demise, the optimistic fixes didn’t work:
- Restart the debugger several times, because surely that will fix it :-)
- Close Visual Studio and reopen it.
Just kidding. But we do tend to try those don’t we?
Back on topic, I looked at the changes between my current work space and the last working revision. Turns out somehow the web.config in the Views directory was deleted. Once I restored the file from SVN, all worked wonders again.
Wonderfully descriptive error message, isn’t it?
Happy Coding!
00761b46-02ee-44f2-88a0-2a478bedeb32|7|4.9|27604f05-86ad-47ef-9e05-950bb762570c