Click here to Skip to main content
15,886,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
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

Hi,

you can use the below code to increase the filesize.
<httpruntime maxrequestlength="512000" >
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900