问题描述
我正在尝试让MVC在我的本地主机上运行,但仍然会遇到大量错误。有人可以帮我设置它。现在我收到了这个错误。
错误摘要
HTTP错误403.14 - 禁止
Web服务器配置为不列出此目录的内容。
我曾尝试启用[目录浏览]但仍未将任何请求路由到登录表单。
请帮忙。
@Christian Graus这只是我的本地副本而且我是试图做我能做的一切只是为了让它运行它不会!!!!! IIS在应用程序之前安装,一切都运行在它的网站项目,普通的html网站,我可以通过网站项目连接到数据库等除了FRIGGIN MVC不工作。我不知道还有什么可以尝试它只是不运行。
我在弄乱UrlRoutingModule-4.0似乎加载了项目,但屏幕是空白的。我知道该项目有效,因为我得到了与其他人相同的源代码,并且在他们的机器上它只通过IIS运行我的本地配置,这是我遇到的麻烦。
我确实运行aspnet_regiis -i仍然是一样的。没有变化。
I am trying to get MVC to run on my local host but keep getting tons of errors. Can someone help me set it up. Right now I am getting this error.
Error Summary HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.
I did tried to enable [Directory Browsing] but that will still not route any requests to login form.
Please help.
@Christian Graus this is only my local copy and I am trying to do everything I can just to make it run it just wont't!!!!! IIS was installed before the application and everything runs in it Website project, plain html websites, I can connect to db through website project etc EXCEPT THE FRIGGIN MVC DOES NOT WORK. I am not sure what else to try it just does not run.
I was messing with UrlRoutingModule-4.0 that seems to load the project but the screen is blank. I know the project works because I got the same source code that other people have and on their machine it runs through IIS only my local config that is what I am having trouble with.
I did run aspnet_regiis -i still the same. No changes.
这篇关于IIS 7.5设置MVC以在localhost上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!