开发者

ASP.NET MVC3 deployment - _layout master page not found in IIS [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

The layout page “{path}” could not be found

I published the site to local IIS server using "Filesystem开发者_开发知识库 Profile". After hitting through local url from IIS, web site does not find master page e.g. "~/Views/Shared/_Layout.cshtml"

The same website runs perfectly from the vs-2010 on same machine.


Thanks buddies for reply.

Actually I was trying to setup on Win-2008-R2 with IIS 7.5.

There was an issue with permissions. The site is configured with app pool .NET 4.0 which runs under NetworkService account. Giving acccess right to "NetworkService" for website resolved the issue.

Another question addressing the same issue: The layout page "{path}" could not be found

Another link for configuration: http://learn.iis.net/page.aspx/624/application-pool-identities/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜