Access to the path 'E:\web\***\App_Data\Test' is denied

Discussion in 'Site Programming, Development and Design' started by synkraco, Sep 30, 2011.

  1. Hi!
    I'm trying to create a folder under App_Data in my ASP.NET web app with code:
    Code:
    Directory.CreateDirectory(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Data", "Test"))
    
    and I get an error: Access to the path is denied.

    I do searched on forum and set trusted level to Full.
    But I stil have the same error.

    Any help is appreciated. Thanks in advance.
     
    Last edited by a moderator: Oct 14, 2015
  2. FredC

    FredC Winhost Staff

    may be it is a permission issue. i recommend opening a support ticket.
     

Share This Page