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 7790049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:28:16+00:00 2026-06-01T21:28:16+00:00

I am deploying an ASP.NET MVC3 project to a windows 2008 r2 server using

  • 0

I am deploying an ASP.NET MVC3 project to a windows 2008 r2 server using Visual Studio 2010 Web Deployment tool.

Everything appears to work correctly when browsing my top level site but when I browse to views inside an Area in the website the Area’s local layout style is missing.

Looking on the server I can see that the Area’s shared layout file has been deployed to the folder <site>/<area>/views/shared but the Area’s _ViewStart.cshtml is missing from folder <site>/<area>/views/. Presumably as this file specifies where my layout view is sourced that this is my problem.

So question is any ideas as to what I am doing wrong/missing in the deployment stage for this file to be ignored?

  • 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-06-01T21:28:19+00:00Added an answer on June 1, 2026 at 9:28 pm

    Sometimes the “Build Action” of a file gets changed from “Content” to something else. When this happens, the deploy process either embeds (in the bin folder) the files or performs some other action (like ignoring).

    To check/fix the issue:

    1. Right click the file
    2. Choose Properties
    3. In the properties window, ensure the Build Action is “Content”
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am deploying an ASP.NET MVC to Windows Server 2008. I have installed ASP.NET
We are deploying our ASP.Net MVC application to a windows 2008 R2 server, running
I am deploying ASP.NET and Web Service solutions to IIS for a development server.
When deploying a web project written in ASP.Net, what happens to user sessions? Do
I'm using ASP.NET MVC to develop a web application, deploying to IIS 7. I've
I'm deploying an asp.net mvc 2 app on windows 2008 R2 and I get
I’m looking for a good deployment strategy for deploying a ASP.NET MVC3 application. What
I'm deploying an ASP.NET application to Windows Server 2003 under IIS IIS is serving
I have a webpage I am working on using asp.net mvc3. I am deploying
I've been deploying ASP.NET websites and managing their configurations using the web configuration transforms

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.