Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 18 January 2013 : 21:49:50
|
Just got the new forum open. YEA! 
At least one member is unable to upload an image to her post. (I did the 6 in 1 mod with Proeders File Attachment Mod.)
I signed onto the member's account to verify what she posted. This is the error message being displayed when she attempts to upload an image.
Microsoft VBScript runtime error '800a0046'
Permission denied
/tfp/outputFile.asp, line 192
Here are lines 184 - 209 from my outputfile.asp. Your help will be greatly appreciated!
If not ScriptObject.FolderExists(memberPath) then
ScriptObject.createFolder(memberPath)
end if
'Create and Write to a File
Set MyFile = ScriptObject.CreateTextFile(Left(Server.mappath(Request.ServerVariables("PATH_INFO")),pathEnd) & strUploadUrl & "\" & membername & "\" & filename)
For i = 1 to LenB(value) MyFile.Write chr(AscB(MidB(value,i,1))) Next
MyFile.Close
If byteCount < 1024 Then
strFileSize = Round(byteCount,2) & " Bytes"
ElseIf strFileSize < 1048576 Then
strFileSize = Round(byteCount/1024,2) & " KB" Else strFileSize = Round(byteCount/1048576,2) & " MB" End If
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 19 January 2013 : 00:59:27
|
Most likely it's due to folder permissions on the upload folder, make sure that the IIS user/guest has write permissions there. |
 |
|
Webbo
Average Member
  
United Kingdom
982 Posts |
Posted - 19 January 2013 : 02:35:39
|
Have you checked the upload folder to see if there is a folder created in there with the user's name? If so check the permissions to the parent upload folder to make sure they allow inheritable permissions from the parent to propagate to all child objects. |
Edited by - Webbo on 19 January 2013 02:36:36 |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 19 January 2013 : 02:57:54
|
quote: Originally posted by Carefree
Most likely it's due to folder permissions on the upload folder, make sure that the IIS user/guest has write permissions there.
YES! You are correct, Carefree! I just can't imagine how that could happen since I thought I had set the permissions of the parent folder and to allow it to propagate.
Oh well! I thank you once again for your wonderful help, Carefree!!
|
"Do all the good you can, by all the means you can, in all the ways you can, at all the times you can, to all the people you can, as long as ever you can." - John Wesley |
 |
|
Carefree
Advanced Member
    
Philippines
4222 Posts |
Posted - 19 January 2013 : 03:55:22
|
Any time |
 |
|
|
Topic  |
|