0
System.UnauthorizedAccessException: Access to the path '\\server\c$\DTA\DTA564348.64U20121217161754.dta' is denied.
運行的網站時,存儲到共享網絡驅動器當我用我的本地asp.net網站運行該文件存儲它工作正常,並獲取存儲在共享網絡驅動器上錯誤而在IIS
然而,當我通過IIS運行此我得到上述錯誤
C#代碼
StrPath = FilePhypath.ToString();
的Web.Config
<location allowOverride="true">
<appSettings>
<add key="FilephyPath" value="\\server\c$\DTA\"/>
</appSettings>
</location>