Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4554160
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:03:04+00:00 2026-05-21T17:03:04+00:00

I recently converted a project to visual studio 2010 then to mvc 3 and

  • 0

I recently converted a project to visual studio 2010 then to mvc 3 and now converting views to razor views.

It’s all working fine but I notice i cannot get rid of the site.master and replace it with _layout….

Every time, i start the website the default page is always rendered by site.master even tho I see it calling a controller that uses a view that uses the _layout.cshtml

I am wondering if there is at any point anywhere in the file that says the default MasterPage is the site.master ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T17:03:04+00:00Added an answer on May 21, 2026 at 5:03 pm

    Make sure your _ViewStart.cshtml is pointing to the right masterpage.

    @{
        Layout = "~/Views/Shared/_Layout.cshtml"
    }
    

    Beyond that, if site.master is not found in ANY of your code (solution wide search). Try restarting your application.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently converted a Visual Studio 2006 project up to Visual Studio 2010. The
I recently converted a multi-project Visual Studio solution to use .dlls instead of .libs
I recently converted my solution from Visual Studio 2008 to 2010, hoping I would
I recently converted a website project to a web application project in Visual Studio
I have recently upgraded to Visual Studio 2010. I have kept database projects separate
I have recently converted 10 JavaScript files into one file, which I then run
We've just recently converted our project to using Maven for builds and dependency management,
I am recently working in a project. There I need to convert language from
Recently I've been doing quite a big project with php + mysql. And now
Recently converted my ASP.NET project from 1.1 to 3.5. Hooray! Currently developing a form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.