在IIS 6中部署Asp.Net MVC 2 / C#4.0的应用程序 [英] Deploying Asp.Net MVC 2 /C# 4.0 application on IIS 6

查看:161
本文介绍了在IIS 6中部署Asp.Net MVC 2 / C#4.0的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从 VS.Net迁移2008 / MVC 1 VS.NET 2010 (+ C#4.0)/ MVC 2

I got a problem migrating from VS.Net 2008 / MVC 1 to VS.NET 2010 (+C# 4.0) / MVC 2

href=\"http://screencast.com/t/MDVmYzhhO\" rel=\"nofollow\"> web.config中已经更新的

The web.config has been updated, the site runs well in Cassini, but my problem now is deploying on IIS 6.

我更新了网站使用 ASP.Net 4 运行,
但我尽量什么网址,我一直有一个404错误。这是因为如果路由没有考虑到(是的,通配符映射已完成)。

I updated the web site to run using ASP.Net 4, but whatever URL I try, I always have a 404 error. It's as if the routing was not taken into account (yes, the wildcard mapping has been done).

我不明白这个烂摊子,不能谷歌什么有趣的事?
感谢您的建议!

I do not understand this mess and could not google anything interesting... Thanks for your suggestions !

推荐答案

好吧,我得到了答案Ÿ(感谢同事)

Ok I got y answer (thanks to a colleague)

当迁移从ASP.Net 2.0 ASP.Net4.0,
如果你遇到了同样的问题,
然后检查 Web服务扩展如果ASP.Net V4是的允许

When migrating from ASP.Net 2.0 to ASP.Net4.0, if you meet the same problem, then check in Web Service Extension if ASP.Net v4 is Allowed.

在我的情况下,安装.NET Framework 4后,它已被禁止。

In my case, after installing the .Net framework 4, it was prohibited.

威尔和马克:感谢您的帮助,希望它能帮助别人

Will & Mark : thanks for your help, hope it will helps others.

这篇关于在IIS 6中部署Asp.Net MVC 2 / C#4.0的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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