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[^]