468,134 Members | 1,301 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,134 developers. It's quick & easy.

How to upload multiple images

Hi all
i posted a problem few days ago


i was trying to upload images
after using the upload asp control
i save them into an array to upload them all at once this is working fine on the localhost but if the array contains more than 3 images on a different PC on the domain it gives me an exception
any ideas how to solve this problem
thanks all

the exception "Cannot access a closed file"
i am saving my images in a folder in the same project and only the path in data base i do not know if that the best solution but i considered the performance that way will be better

i tried the solution mzmishra gave me
< httpRuntime maxRequestLength="10240" requestLengthDiskThreshold="4096"/ >

it did work and there is no more exceptions in different permition levels but in a permition level the images does not saved in the server so when i tried to view them there is no image to view can any one help me

thanks all
Oct 4 '10 #1
2 2360
Frinavale
9,735 Expert Mod 8TB
Have you considered saving the image into the database instead of into a file on the server?

-Frinny
Oct 4 '10 #2
i will do that instead
thank you all
Oct 5 '10 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Just Jeff | last post: by
5 posts views Thread by John Devlon | last post: by
1 post views Thread by =?Utf-8?B?UmFqYWdvcGFs?= | last post: by
2 posts views Thread by sarayu | last post: by
9 posts views Thread by torso | last post: by
27 posts views Thread by didacticone | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.