Gunnar Peipman's ASP.NET blog

ASP.NET, C#, SharePoint, SQL Server and general software development topics.






The view 'Index' or its master could not be found. The following locations were searched

One of ASP.NET MVC errors wasted one hour of my life today (of course, it is many times less than this season’s leader SharePoint) but this is still one hour. “The view 'Index' or its master could not be found. The following locations were searched” error raised suddenly and I was not able to get over it. Well, this time solution was simple.


NB! This blog is moved to

Click here to go to article


Bif said:

Any hints?

I'm trying to walk through NerdDinner (chapter 1 from Professional ASP.NET MVC 1.0), and frustrated by this error.

# March 29, 2009 10:40 PM

yazılım said:

I know this is a weird error. Does come for various reasons.

# July 25, 2009 5:07 PM

RBurgess said:

Your article isn't very helpful.  

"In my case it was one MvcUserControl that was missing. After inserting correct name for it the error disappeared and everything worked again."


# January 26, 2010 5:30 AM

RB said:

I fixed this error by changing the Index method from

return View(_db.MovieSet.ToString());


ViewData.Model = _db.MovieSet

# March 4, 2010 10:58 AM

Aman Rajvanshi said:

any one of your included file is not in place.

# March 18, 2010 9:56 PM

Zhaowenxu said:

In web.config,remove attributes of "pages"

# April 17, 2011 11:18 PM