[thelist] .NET file downloader: access denied

Anthony Baratta anthony at baratta.com
Wed Aug 8 13:08:17 CDT 2007


Try adding the IIS Service Account, and the Worker Process Group Account. Drop the Everyone access. 

-----Original message-----
From: "Joel D Canfield" joel at streamliine.com
Date: Wed, 08 Aug 2007 10:38:37 -0700
To: thelist at lists.evolt.org
Subject: [thelist] .NET file downloader: access denied

> 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
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 



More information about the thelist mailing list