Click here to Skip to main content
Rate this: bad
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,
Posted 11-Sep-12 23:01pm
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
Please Sign up or sign in to vote.

Solution 1

you can use the below code to increase the filesize.
<httpruntime maxrequestlength="512000" >
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 :!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 OriginalGriff 403
1 Sergey Alexandrovich Kryukov 227
2 Richard Deeming 180
3 ChauhanAjay 170
4 Snehasish_Nandy 161
0 Sergey Alexandrovich Kryukov 6,367
1 OriginalGriff 5,588
2 CPallini 2,473
3 Richard MacCutchan 1,627
4 Abhinav S 1,530

Advertise | Privacy | Mobile
Web01 | 2.8.140821.2 | 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