尝试将数据导出到Excel时,“超出最大请求长度”错误消息。 [英] 'Maximum request length exceeded' error message while trying to export data to excel.

查看:999
本文介绍了尝试将数据导出到Excel时,“超出最大请求长度”错误消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用的是框架3.5,6.0和Excel 2003用于我的应用程序。当我尝试从数据表导出数据到Excel时,我收到错误消息超出最大请求长度。我已经给出了< add key =aspnet:MaxHttpCollectionKeysvalue =100000>在web.config中,我将值增加到1000000.Still我收到相同的消息。



谢谢

解决方案

请检查以下

http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/0da08501-4655-4012-ad0e-60a81ebf55e8 [ ^ ]


嗨...



在你的web.config中添加这一行



< httpruntime maxrequestlength =2097151>在< system.web>之间标签。



我一定会解决你的问题。


哦...抱歉由于我打字错误我错过了这些行

行是

< httpruntime maxrequestlength =   2097151 /> 



在web.config中添加此项,b / w

< system.web> < /   system.web  >  

标记。


Hi,
I am using framework 3.5, is 6.0 and Excel 2003 for my application. I am getting an error message 'Maximum request length exceeded' while I am trying to export data to excel from a data table. I have already given <add key="aspnet:MaxHttpCollectionKeys" value="100000"> in web.config and I increased the value to 1000000.Still I am getting same message.

Thanks

解决方案

Please check following
http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/0da08501-4655-4012-ad0e-60a81ebf55e8[^]


Hi...

Add this line in your web.config

<httpruntime maxrequestlength="2097151"> in between <system.web> tag.

I will surely solve your problem.


Oh...Sorry due to my typing mistake i missed the lines
line is

<httpruntime maxrequestlength="2097151" />


add this in web.config,b/w the

<system.web> </system.web>

tag.


这篇关于尝试将数据导出到Excel时,“超出最大请求长度”错误消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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