Welcome Guest Search | Active Topics | Sign In | Register

FileExplorer TempFileLocation Permissions Options
BillC
Posted: Friday, June 17, 2011 3:52:14 PM
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.

eo_support
Posted: Friday, June 17, 2011 4:32:55 PM
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!
BillC
Posted: Friday, June 17, 2011 6:00:45 PM
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?
eo_support
Posted: Friday, June 17, 2011 6:14:20 PM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.