Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
hi there,
i am using HTMl,javascript,webservice.
i am trying to retrieving an image from dataabase which as greater than 100KB.
below 100KB working fine.above 100KB getting error as exceeded file size.
here i used getimage method in WebService .
Designed in html and written code in javascript for associated buttonclick.
Please any body help to me how can i increase the retrieving the image size.
Thanks in advance,
Nareshrajuu
Posted 11-Sep-12 23:01pm
Comments
Mohibur Rashid at 12-Sep-12 5:15am
   
Who exactly says file size exceeding? your web server or your client? by the show us the header that you are using to send the file. an the associated code
Sandeep Mewara at 12-Sep-12 10:29am
   
OP replied:
from emulator says error.
Unareshraju at 12-Sep-12 5:30am
   
from emulator says error.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
you can use the below code to increase the filesize.
<httpruntime maxrequestlength="512000" >
  Permalink  
v3
Comments
Unareshraju at 13-Sep-12 7:13am
   
in webservice i declared 10MB,
While consuming the service getting the error at client side!
is there any option/feature to increasing the file size in client side scripting(i recommended javascript). please see the below link : https://groups.google.com/forum/?fromgroups=#!topic/phonegap/bEMTDWeYRao

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

  Print Answers RSS
0 Schatak 394
1 OriginalGriff 300
2 Abhijit Ghosh (Subho) 125
3 Andreas Gieriet 120
4 _Amy 115
0 OriginalGriff 7,137
1 Sergey Alexandrovich Kryukov 5,628
2 Maciej Los 3,529
3 Peter Leow 3,373
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 13 Sep 2012
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