I have a web application in c#, creating a csv file in the directory "\\\\10.90.233.203\\mps\\dialcodes.csv" and I used it just like the following :
System.IO.StreamWriter StreamWriter1 =
new System.IO.StreamWriter(@"\\\\10.90.233.203\\mps\\dialcodes.csv", false, Encoding.Default);
The code works well when I run it from my localhost; but when I put my code on IIS server the following error appears :
Access to the path \\10.90.233.203\mps\dialcodes.csv; is denied
I think the reason for that is related to user authorization. I used network service for my application pool.Besides, in the server in which my folder mps exits I do all af the security authorization. I give full control for network service in my mps folder.But nothing changed, the same error appears.