views:

104

answers:

2

I'm trying to add a view (Asp.Net MVC RC) with the "add view" right click menu and I'm getting a file load exception.
Is this a problem of ASP.NET MVC RC or some kind of configuration problem?
Link to screenshot

+1  A: 

Did you uninstall older versions properly before you installed the RC?

ajma
yes, previous version was correcly uninstalled. Could that be linked to the fact that I use Win2003 instead of Xp as a development machine
Ronnie
it shouldn't matter if you're using 2003 or xp
ajma
problem still not solved...any clues?
Ronnie
I can't think of anything else from the error. Can you try uninstalling ASP.NET MVC and reinstall it again?
ajma
+1  A: 

In this thread: link text

Phil Haack says you need to update the web.config in the views folder. So I created a new project and copied that over to my existing project and it now works - no more FileLoadException.

Slee