Non capisco dove sbaglio .... io salvo i files in questo modo

codice:


 if (UploadDIA.PostedFile != null)
            {
                string FileName = UploadDIA.PostedFile.FileName.Substring
                  (UploadDIA.PostedFile.FileName.LastIndexOf("\\") + 1);
                int FileSize = UploadDIA.PostedFile.ContentLength;
                string FileType = UploadDIA.PostedFile.ContentType;

                if (IDAzienda > 0)
                {
                    if (FileSize >= 0)
                    {
 string path = Request.PhysicalApplicationPath;
                        path = path + "pratiche\\" + IDAzienda + "\\";

                        if (System.IO.Directory.Exists(path) == false)
                            System.IO.Directory.CreateDirectory(path);

                        path = path + "\\aaa\\";
                        if (System.IO.Directory.Exists(path) == false)
                            System.IO.Directory.CreateDirectory(path);

                        string nomeFile = UploadDIA.FileName;
                        nomeFile = nomeFile.Replace("'", " ");
                        path = path + nomeFile;
                        UploadDIA.SaveAs(path);
                        lbl_Step3.Text = "File allegato!";
                    }
                }
            }