I have a folder in my same network as “\lo1dc\abcd\Admin\Images” I set full permission for everyone. I created a new web application in another machine within the same network and created a virtual directory called “_images” and set this folder path. I have set the path credential as a specified user while creating account and set the name as administrator. Which is administrator user for entire network.
Now while trying to save image as shown below
string strSaveLocationCode128 = Server.MapPath("~/_images") + "//abc.Jpg";
barcodeCode128Mobile.drawBarcode(strSaveLocationCode128);
This is showing me the error message as “Access to the path ‘\lo1dc\abcd\Admin\Images\abc.Jpg’ is denied”.
Please help me I am using Win 7 as my development platform.
Finally i found out the answer, The network path cannot be accessed by an anonymous user. So
has done the trick for me.
Thank you all for your valuable help at right time.