Rank: Newbie Groups: Member
Joined: 6/17/2011 Posts: 2
|
I am using an evaluation version of EO.
I get the following error message when I try to upload a file in my DEV server:
"Call to the server failed. This can occur when multple users attempts modify/delete the same item or when the code does not have sufficient permission."
The TempFileLocation is "c:\FileUpload" located in the DEV server. ASPNET has full permissions to that folder.
What am I doing wrong?
Thanks for your help.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This usually occurs because the uploader cannot move the file from the temp folder to the target folder. For example, if you are trying to upload a file to the "Data" folder and if your app does not have sufficient permission to write that folder, then you will get this message.
Your temp file location is OK because temp file gets created the moment your upload starts, not when the upload finishes (file contents are streamed from the client to the server temp file). When the upload finishes, the whole file is already in the temp folder. The uploader will then move the file from the temp folder to the target folder and this step appears to be failing for you.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 6/17/2011 Posts: 2
|
Thanks, that explains alot. One more quick question. Does the uploader use ASPNET to move the folders over?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The uploader runs inside your web application, thus inherits whatever permissions your web application has. It calls File.Move to move the file.
Thanks!
|