Getting error while uploading file

Asked By 20 points N/A Posted on -
qa-featured

Hi

I am getting aspSmartuploadfile error while uploading a file.

I have already installed aspsmartupload.dll and aspsmartuploadutil.dll.

I am getting error this line: [HTML]objFile.saveas(strPath & strSaveAsFilename)[/HTML].

Please help me to resolve this.

SHARE
Best Answer by Gajora Sam
Best Answer
Best Answer
Answered By 0 points N/A #101461

Getting error while uploading file

qa-featured

Dear Silver joson,

As you mentioned you are using aspSmartuploadfile to upload a file and you are getting the error while uploading file. Looking at the type of error it is not due to aspsmartupload.dll and aspsmartuploadutil.dll.

Actually, this is due to a permission problem. So, you need to make sure that the authenticated user is having write or read permissions for the upload folder and the folder is located in C:upload folder. That is you have to make sure that the folder is located in the right directory or the path which would definitely  solve the problem.

Hope you got the solution after trying this, if you are still having problems then feel free to ask here or pm me.

Answered By 590495 points N/A #101462

Getting error while uploading file

qa-featured

Please make sure that the file you are uploading does not have any similar file name on the destination folder.

This is usually the common error. Whenever a file is uploaded, the procedure does not check if the file has a similar file name on the destination URL at the start of the upload process.

The error message will only appear after the file has finished uploading and the problem occurs while saving the file.

You may also check if the file name does not contain any invalid characters like for example a space.

If the file name contains spaces, try replacing them with underscore “_”.

Answered By 20 points N/A #101463

Getting error while uploading file

qa-featured

Very helpful. Thank you Gajora. Yes you are right. It is all about the location of the file. I followed your solution and it worked.

Thank you so much…

Related Questions