Hi Matthew,
Could you provide us with more information about your scenario? When do you execute this code? Usually the uploaded file is locked in cases, where it is being opened by another process or if the uploading is not finished.
Regards,
Hristo Valyavicharski
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the
blog feed now.