Click here to Skip to main content
13,096,399 members (55,525 online)
Rate this:
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 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 12-Sep-12 10:29am
OP replied:
from emulator says error.
Unareshraju 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 13 Sep 2012
Copyright © CodeProject, 1999-2017
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