Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 ASP.NET
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 in web.config and I increased the value to 1000000.Still I am getting same message.
 
Thanks
Posted 4-Mar-13 22:53pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Hi...
 
Add this line in your web.config
 
in between tag.
 
I will surely solve your problem.
  Permalink  
Comments
Devang Vaja at 5-Mar-13 6:56am
   
where are the lines?
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

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.
  Permalink  
Comments
Devang Vaja at 5-Mar-13 7:52am
   
now i can see the lines :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Juhi Paunikar
 
Thank you Very Much Its Working for me
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 6 Aug 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100