Creating virtual application/directory in physical folder on IIS/ASP.NET

前端 未结 2 663
死守一世寂寞
死守一世寂寞 2021-01-06 07:07

What I want to achieve is simple:

  • I have a website, say \"my-site\" - http://localhost
  • In this website I have a (physical) folder \"foo\" - <
2条回答
  •  春和景丽
    2021-01-06 07:31

    It sounds like a permissions problem with your system - for a .NET account the user context ASP.NET runs in requires access to your site.

    On systems up to Windows Server 2000 this user was a local account simply called ASPNET, after that is changed to one of the NT_AUTHORITY accounts - the easiest way to find this is to provide the IIS WPG group (a local group) with access to the account.

    MS provides instructions at http://support.microsoft.com/kb/316721/, use the above to determine which user account you should check access for.

提交回复
热议问题