Author: jeanclaudeT | Posted on: 9/8/2009 8:40:47 AM | Views : 321

I have changed the application folder permission on my IIS 6 manager to groups network services, network (added full control/access). Here is my FileUpload code
string extension1 = Path.GetExtension(FileUpload1.PostedFile.FileName).ToLower();

            ArrayList attachments = new ArrayList();

            if (FileUpload1.HasFile && (
                extension1 == ".pdf" || extension1 == ".doc" ||
                extension1 == ".docx" || extension1 == ".xls" ||
                extension1 == ".xlsx" || extension1 == ".gif" ||
  &n ...

Go to the complete details ...