This topic is locked

Uploading Files

11/1/2011 2:28:20 PM
ASPRunnerPro General questions
R
Raptor author

I know I'm going to sound like a dumb butt.. I have a working 6.1 ASPRunner environment up and running. Everything works fine. I can upload files, view files, etc etc...
Here is the code for the upload.
The upload folder that you define in the visual editor is this. /Documents/Docs/. This folder has Read and Write access.
I also have a a before record added event.

Dim fso, f, ndir

ndir="\\MP-File01\Apps\Database Documents\" & Session(strTableName & "masterkey1")
'response.write ndir

'response.end
Set fso = CreateObject("Scripting.FileSystemObject")

If not fso.FolderExists(ndir) Then


set f=fso.CreateFolder(ndir).
If I upgrade ASPRunner 6.1 to 6.3 I get an error 800a0bbc|Write_to_file_failed.
So I started doing so testing. If I remove the event code the file will write to the /documents/docs folder.
If I add this code to the before record add event it will show me the correct folder.

Dim fso, f, ndir

ndir="\\MP-File01\Apps\Database Documents\" & Session(strTableName & "_masterkey1")
response.write ndir

response.end
If I comment out the responses it will create the folder but than I get the Write_to_file_failed error message on the IIS log. I have opened a case but I am unable to get me environment working on the demo site. It is just frustrating

Sergey Kornilov admin 11/1/2011

Is that some sort of joke?
I have asked you to provide additional info on reproducing this issue on October 19. Instead of doing that you open new topics with exactly the same issue and no way to reproduce it.
How do you want us to help you?