Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 08-05-2009
Member
 
Join Date: Apr 2009
Posts: 64
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
Reply With Quote
  #2  
Old 08-05-2009
Member
 
Join Date: Oct 2008
Posts: 167
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").
Reply With Quote
  #3  
Old 08-05-2009
Member
 
Join Date: Jan 2009
Posts: 143
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.
Reply With Quote
  #4  
Old 08-05-2009
Member
 
Join Date: Dec 2008
Posts: 202
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>
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to save file (Error 1120)"
Thread Thread Starter Forum Replies Last Post
Unable to save PDF file on Safari 5.1.2 Here-There Technology & Internet 7 04-05-2012 03:35 PM
unable to save resume file in Torrent TechPredator Technology & Internet 8 13-09-2011 11:41 PM
Unable to Save A File In Java D_chapple Software Development 5 08-03-2010 09:41 PM
Unable to save file in Notepad++ Cade Windows Software 5 17-02-2010 03:33 AM
Unable to save the file, file is too large Suzane Technology & Internet 2 28-05-2009 11:16 PM


All times are GMT +5.5. The time now is 07:57 PM.