MVC 4应用程序部署 [英] MVC 4 Application deployment

查看:65
本文介绍了MVC 4应用程序部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Windows 7旗舰下的IIS 7.5上部署我的asp.net mvc4 Web应用程序。我已经使用Visual Studio 2012中的发布方法将所有必需的文件复制到文件夹C:\inetpub \wwwroot \ MVcTest。



当我运行应用程序时得到错误



HTTP错误403.14 - 禁止



Web服务器配置为不列出内容这个目录。



如何解决这个问题?

I am trying to deploy my asp.net mvc4 web app on IIS 7.5 under Windows 7 ultimate. I have copied all the necessary files using publish method from Visual Studio 2012 into folder C:\inetpub\wwwroot\MvcTest.

When i run the application i got the error

HTTP Error 403.14 - Forbidden

The Web server is configured to not list the contents of this directory.

How i can resolve this problem?

推荐答案

查看以下链接讨论相同



网络服务器配置为不列出内容此目录 [ ^ ]



IIS上的ASP.NET MVC 7.5 [ ^ ]



http://www.codefrenzy.net/ 2011/10/19 / deploying-asp-net-mvc-3-to-iis-6 / [ ^ ]
Check below links which discuss the same

the web server is configured to not list the contents of this directory[^]

ASP.NET MVC on IIS 7.5[^]

http://www.codefrenzy.net/2011/10/19/deploying-asp-net-mvc-3-to-iis-6/[^]


查看此链接: http://blog.amastaneh.com/2011/02/http-error-40314-forbidden。 html [ ^ ]

veaéstapágina: http:// blog.amastaneh.com/2011/02/http-error-40314-forbidden.html [ ^ ]
see this link: http://blog.amastaneh.com/2011/02/http-error-40314-forbidden.html[^]
ve a ésta página: http://blog.amastaneh.com/2011/02/http-error-40314-forbidden.html[^]


这篇关于MVC 4应用程序部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆