解决"该操作需要IIS综合管道模式"在ASP.net MVC2 [英] Resolving "this operation requires IIS integration pipeline mode" in ASP.net MVC2

查看:397
本文介绍了解决"该操作需要IIS综合管道模式"在ASP.net MVC2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个ASP.net MVC2应用程序,并实现出口为.csv控制器动作,但是当我添加了标题强制下载,下面会出现在调试器:

I'm developing an ASP.net MVC2 application, and implement an export to .csv controller action, but when I add the headers to force the download, The following appears in the debugger:

这个操作需要IIS综合管道模式

"this operation requires IIS integration pipeline mode"

我有搜索的numerouse网站与谷歌,但还没有解决这个问题。我使用的:

I have searched on numerouse sites with Google, but have yet to resolve this. I am using:

  • 在IIS 7.5
  • 在Windows 7旗舰版和
  • 在.Net框架4.0,

有关ASP.net应用程序池配置为集成管道模式,因为我不明白的问题。

The application pools for ASP.net are configured in integrated pipeline mode, as I don't understand the problem.

能否社区帮助我解决这一点,并解释错误给我?

Can the community assist me solving this and explaining the error to me?

推荐答案

<一个href="http://devproj20.blogspot.com/2008/02/this-operation-requires-iis-integrated.html">http://devproj20.blogspot.com/2008/02/this-operation-requires-iis-integrated.html

你可以解决这个问题,通过增加你的头这种方式,而不是:

"You can work around this problem by adding your header this way instead:"

Response.AddHeader(myHeader,someValue中);

这篇关于解决&QUOT;该操作需要IIS综合管道模式&QUOT;在ASP.net MVC2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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