View Single Post
  #2 (permalink)  
Old December 6th, 2006, 03:33 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 33,563, Level: 80
Points: 33,563, Level: 80 Points: 33,563, Level: 80 Points: 33,563, Level: 80
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,231
Thanks: 7
Thanked 203 Times in 201 Posts
Default

Hi there,

Please don't cross-post. Posting your message once is more than enough.

That said, temporarily remove the Catch block so the application throws a real error. Then you can what the exact error message is, instead of "File could not be uploaded".

Maybe it's a security problem where the webserver account isn't allowed to write to your UploadedImages folder.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote