Announcement

Collapse
No announcement yet.

Access permission

Collapse

Ads on showthread pages

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access permission

    WordPress Hosting on SSD Servers
    trying to run the following code on:
    protected void Button1_Click(object sender, EventArgs e)
    {
    if (NewFolderName.Text = "")
    {
    try
    {
    string newFolderName = @"c:\domains\[domainname]\wwwroot\Uploads\aaa";
    Directory.CreateDirectory(newFolderName);
    Page_Load(this, new EventArgs());
    }
    catch (Exception ex)
    {
    message.Text = "

    " + ex.Message +"

    ";
    }
    }
    }

    generate the following exception:

    Access to the path \c:\domains\[domainname]\wwwroot\Uploads\aaa; is denied

    please advise.
    Last edited by admin; 08-12-2015, 08:27 AM.

  • #2
    ASP.Net Hosting starts @ $3.18/Mo.
    I dont know the scripting but if you have live URL or error then paste it here so that I can check it for any server related error and can assist you
    Last edited by admin; 08-12-2015, 08:27 AM.

    Comment

    Working...
    X
    Sign up for a News Letter Click here to sign up