Error while storing to a shared network drive when running website on IIS
- by vini
System.UnauthorizedAccessException: Access to the path '\\192.168.0.99\c$\DTA\DTA564348.64U20121217161754.dta' is denied.
When i store the file by running on my local asp.net website it works fine and gets stored on the shared network drive
However when i run this through IIS i get the above error
C# Code
StrPath = FilePhypath.ToString();
Web.Config
<location allowOverride="true">
<appSettings>
<add key="FilephyPath" value="\\192.168.0.99\c$\DTA\"/>
</appSettings>
</location>