title: Access is Denied when i want to Create Folder inside Content Folder
body: <p>hi i am using this code to upload a file with ASP.NET MVC everything is OK but it cant Access to Upload Folder :</p>
  
  <pre><code>public static char DirSeparator = System.IO.Path.DirectorySeparatorChar;
          public static string FilesPath = "Content" + DirSeparator + "Uploads" + DirSeparator;
          public static string UploadFile(HttpPostedFileBase file)
          {
              if (null == file) return "";
              if (!(file.ContentLength &gt; 0)) return "";
              string fileName = file.FileName; string fileExt = Path.GetExtension(file.FileName);
              if (null == fileExt) return "";
              if (!Directory.Exists(FilesPath))
              {
                  Directory.CreateDirectory(FilesPath);
              }
              string path = FilesPath + DirSeparator + fileName;
              file.SaveAs(Path.GetFullPath(path));
              return fileName;
          }
  </code></pre>
  
  <p>and i get this error :</p>
  
  <pre><code>Access to '/Content/Upload/' is Denied
  </code></pre>
  
  <p>where is my problem,<br/><br/><strong>Thanks in your Advise</strong></p>