CFF KB - Carrz-Fox-Fire Promotions Knowledge Base

CFF KB is all about 1 thing: The Sharing of Knowledge and the Power we gain from it.
  • Breadrumbs:
  • Microsoft VBScript runtime error '800a0046' Permission denied FileSystemObject

  • CFF Knowledge Base - Share With Facebook CFF Knowledge Base - Share on Twitter CFF Knowledge Base - Share on Reddit CFF Knowledge Base - Share on Digg It CFF Knowledge Base - Share on Stumble Upon It CFF Knowledge Base - Share on Delicious
    Share With Friends (Updated 6-8-2010)
  • Article ID:
    121
  • Date Created
    Saturday, March 19, 2011
  • Last Updated
    Saturday, March 19, 2011
  • This Article Has been Viewed
    24340 times
  • Short Desc
    Using FileSystemObject without the proper permissions will cause the following error.
  • Details
    When trying to use the FileSystemObject to edit or delete files, you may encounter the following error if the folder that the files exist on does not have the proper permissions set.


     
    Microsoft VBScript runtime error '800a0046'
    Permission denied
    /test.asp
  • Recreate Issue
    To recreate this issue.

    If you do not have permissions set for: [IUSER_MACHINE_NAME] & [IWAM_MACHINE_NAME]
    You will receive this error.
  • Resolve Issue
    To resolve this issue.

    From the Server
    Open Explorer and browse to the web folder that contains the folders that
    You need to run the FileSystemObject on.

    Right Click on the folder
    Choose [Properties]
    Choose [Security] tab
    Click on [Add]
    Click on [Advanced]
    Click [Find now]
    Scroll the list and choose
    [IUSER_MACHINE_NAME] & [IWAM_MACHINE_NAME]
    Click [OK]
    Click [OK]
    Give them both [Modify] rights
    Click [Apply] then [OK]

    You should now be able to use the FileSystemObject on the folder.


    --------
    Related Articles
    For Windows XP Users running IIS6
    Windows XP Folder Option does not have Security Tab«
    View Error Pages instead of 500 Error«