Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Avatar Microsoft VBScript runtime error
 New Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MaGraham
Senior Member

USA
1297 Posts

Posted - 03 March 2013 :  21:42:14  Show Profile  Reply with Quote
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  Show Profile
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.
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 05 March 2013 :  13:51:25  Show Profile  Visit AnonJr's Homepage
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.
Go to Top of Page

MaGraham
Senior Member

USA
1297 Posts

Posted - 23 March 2013 :  20:23:45  Show Profile

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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.6 seconds. Powered By: Snitz Forums 2000 Version 3.4.07