[thelist] .NET file downloader: access denied

Joel D Canfield joel at streamliine.com
Wed Aug 8 12:38:37 CDT 2007


I'm trying to create a forced download tool and get this error:

    Access to the path "D:\inetpub\spinhead\test" is denied. 

        Line 18:         type = "Application/x-msexcel"
        Line 19:         Dim sourceFile As IO.FileStream
 error  Line 20:         sourceFile = IO.File.Open(fullpath,
IO.FileMode.Open)
        Line 21:         Dim getContent(sourceFile.Length) As Byte
        Line 22:         sourceFile.Read(getContent, 0,
sourceFile.Length)

The ASPNET user and EVERYONE both have read, write, and execute
permission to the directory "D:\inetpub\spinhead\test"

any clues?

thanks

joel



More information about the thelist mailing list