Unable to save file (Error 1120)
I have installed ASP SmartUpload. All the DLL files are stored on the server, I am checking all for uploading practice, but whenever i checked for this it gives me an error saying that "Unable to save file Error 1120". and I am also sure that i have properly assign I_USR permissions to all the Object.
Does anyone has any idea why this is happening.
Thanks
Re: Unable to save file (Error 1120)
You need to specify the correct path for the folder name Karcher in the same place as the current asp file.
I find this code from the internet.
I tried the following line of code:
intCount = mySmartUpload.Save("Karcher/Upload")
and replaced it by:
intCount = mySmartUpload.Save("/Karcher/Upload").
Re: Unable to save file (Error 1120)
To get rid of this problem you need to assign some root level permission and i think this permissions not would be at the machine or operating system level; but would be at the IIS level.
Re: Unable to save file (Error 1120)
Timothi was right, these permissions were at the IIS level this is because i have set R/W permissions from server and site admin for both IIS ftp server and IIS web server. and i run the following script on the server.
Code:
<SCRIPT LANGUAGE=vbscript RUNAT=Server>
DIM conn
DIM dsn
DIM rs
Dim mySmartUpload
Dim intCount
Dim fname
Set mySmartUpload = Server.CreateObject("aspSmartUpload.SmartUpload")
//uploading attachment file to the server
mySmartUpload.Upload
intCount = mySmartUpload.Save("abdul/attch")
For each file In mySmartUpload.Files
fname=file.FileName
Next
remaining code can not show due to characters limitation on post
</SCRIPT>