Author |
Topic  |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 03 March 2013 : 21:42:14
|
I am receiving the following error after selecting an avatar to upload and then clicking on submit. Any help will be greatly appreciated!
Microsoft VBScript runtime error '800a0046'
Permission denied
/fp/clsAvatar.asp, line 230
Here are lines 229-240
'=== Save File === Set objSaveME = objFSO.CreateTextFile(strPath & FileName, True) objSaveME.Write(FileData) objSaveME.Close
UploadMessage = "Success - The image has been uploaded<br>and is now your new avatar." WasSuccess = True
'=== Clear Memory Objects === Set objSaveME = Nothing Set objFSO = Nothing End Sub
|
"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 - 04 March 2013 : 05:26:21
|
That's due to lack of your web user's write permissions on the folder. In most cases, simply allowing "iusr" write permissions will be sufficient; however, sometimes it results in permission issues. Make sure the users with write permissions include "iusr", "IIS_IUsrs" (only exists on Windows 8, Server 2008/2012), and "Network Service". Those are all the ones that should be required. |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 05 March 2013 : 13:51:25
|
And make sure that only that folder has write, but not execute, permissions. Otherwise you could open up your site to some potential security issues. |
 |
|
MaGraham
Senior Member
   
USA
1297 Posts |
Posted - 23 March 2013 : 20:23:45
|
I am so sorry that I am just now getting back to thank you guys!
Having to move to another server and then having MEGA problems with the new server (Arrgh!!) has kept me pretty busy. 
But thank you both so much!!
|
"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 |
Edited by - MaGraham on 23 March 2013 23:07:49 |
 |
|
|
Topic  |
|
|
|