#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2009
    Posts
    20
    Rep Power
    0

    deleted wwwroot, restored it, but websites aren't working


    I accidentally deleted the contents of the wwwroot folder. I managed to go into the waste bin and restore them. But now my website won't respond (specifically, it's a web API). Why is that?

    Here is a screen shot of what's in my wwwroot folder:



    Does everything look right?

    aspnet_client contains a folder called system_web, which in turn contains two folders: 2_0_50727 and 4_0_30319, both of which are empty. <-- I find that suspicious.

    A few things to note: we renamed the Default Web Site to Default_Web_Site (and had it working until today). Not sure if that would have an effect or not. We tried rebooting, redeploying our web API, restarting IIS... nothing works.

    Any thoughts?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2009
    Posts
    20
    Rep Power
    0
    Fixed it. I needed to set the permissions on each folder, specifically for the IIS_IUSRS account.

    Why don't the permissions get restored with folders and files?

IMN logo majestic logo threadwatch logo seochat tools logo