我有「網絡服務」和我自己添加到文件夾的安全權限,但我得到了以下錯誤:ASP.NET應用程序可以使越來越拒絕訪問到網絡共享
Access to the path '\\path\folder\image.gif' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
它在IIS6 – Bruno
的網絡服務下運行,比您應該檢查的是否將安全權限不僅分配給文件夾,還分配給文件夾中的所有文件。 – MADMap