I used RadFileExplorer (2010 Q2 SP2 v0929) to upload multiple images into a temp directory,
then I want to move the directory to another location.
Screen1
Platform: VS2010+Dev Web Server+ASP.NET 4.0.
Moving the uploaded subdir: "D:\Items\Temp\xxx\" to "D:\Items\1\", but It occurred error:
"Access to the path 'D:\Items\Temp\xxx' is denied."
I have ensured and granted enought IO security for this operation.
Uses Unlocker tools to see what handles are hold?
Screen2
This lock will be a BIG problem for IO operation.
They are will not release the handle until the VS2010 dev web server is stopped.
I have searched Google for this lock problem, but it seems to nobody talked yet.
Paste thesimple codesnapet:
Please advice, thanks.
then I want to move the directory to another location.
Screen1
Platform: VS2010+Dev Web Server+ASP.NET 4.0.
Moving the uploaded subdir: "D:\Items\Temp\xxx\" to "D:\Items\1\", but It occurred error:
"Access to the path 'D:\Items\Temp\xxx' is denied."
I have ensured and granted enought IO security for this operation.
Uses Unlocker tools to see what handles are hold?
Screen2
This lock will be a BIG problem for IO operation.
They are will not release the handle until the VS2010 dev web server is stopped.
I have searched Google for this lock problem, but it seems to nobody talked yet.
Paste thesimple codesnapet:
editorDirPath =
string
.Format(
"{0}/Temp/1"
, editorBasePath);
System.IO.Directory.CreateDirectory(
this
.MapPath(editorDirPath));
// Setting
ctrlProductPhoto.TreePaneWidth = 0;
ctrlProductPhoto.Upload.ControlObjectsVisibility = ControlObjectsVisibility.None;
ctrlProductPhoto.Upload.MaxFileInputsCount = 1;
// DirPath
targetDirPaths =
new
string
[] {editorDirPath};
ctrlProductPhoto.Configuration.ViewPaths = targetDirPaths;
ctrlProductPhoto.Configuration.UploadPaths = targetDirPaths;
ctrlProductPhoto.Configuration.DeletePaths = targetDirPaths;
Please advice, thanks.