Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. FileSystemObject Problems

FileSystemObject Problems

Scheduled Pinned Locked Moved Web Development
sysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dion
    wrote on last edited by
    #1

    I'm trying ot use the ASP FileSystemObject to create new folders in my web application and unable to do so. The FolderExists call seems to work but when the CreateFolder function is called the application locks up. I've tried giving full access to iuser and shared the c:\ drive as well as shutting down zonealarm and norton (Only while offline) but nothing seems to help. This is the simple code I'm trying to use. Any hints would be appreciated. <% Dim objFSO Set objFSO= Server.CreateObject("Scripting.FileSystemObject") 'Create the folder If Not objFSO.FolderExists("C:\newFolder") then objFSO.CreateFolder("C:\newFolder") End If %> Tom.

    P 1 Reply Last reply
    0
    • D Dion

      I'm trying ot use the ASP FileSystemObject to create new folders in my web application and unable to do so. The FolderExists call seems to work but when the CreateFolder function is called the application locks up. I've tried giving full access to iuser and shared the c:\ drive as well as shutting down zonealarm and norton (Only while offline) but nothing seems to help. This is the simple code I'm trying to use. Any hints would be appreciated. <% Dim objFSO Set objFSO= Server.CreateObject("Scripting.FileSystemObject") 'Create the folder If Not objFSO.FolderExists("C:\newFolder") then objFSO.CreateFolder("C:\newFolder") End If %> Tom.

      P Offline
      P Offline
      Philip Patrick
      wrote on last edited by
      #2

      Usually this happens when you have Norton Antivirus installed with Script Blocking enabled (even if NA is disabled by itself). So you should disable the script blocking in Norton to be able to use FileSystemObject. To read more about this problem, here is the link: http://support.microsoft.com/default.aspx?scid=kb;en-us;295375[^] Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups