Click here to Skip to main content
12,501,207 members (38,809 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,
Nareshrajuu
Posted 11-Sep-12 23:01pm
Comments
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
 
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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160919.1 | Last Updated 13 Sep 2012
Copyright © CodeProject, 1999-2016
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