Author: menaka9999 | Posted on: 6/9/2008 4:59:44 AM | Views : 311

hi all,

i have a .net(developed in C# 2005) web site hosted in a local server running windows 2003.
In the site i am reading a local path and display a link to a file which is located in a shared(everyone shared) folder in another pc in the network.
The problem i have is always it gives the access denied error when i try to read that path by the code. I am using Impersonation though windows authentication.
Ex: in web config i put
<identity impersonate="true"/>
and i set directory security in iis to integated windows authentication

But the program reads the specified folder without any error when
i changed the webconfig for a specified user impersonation
ex:
<identity impersonate="true" username="guest" password="guest/>

and also it's working on the hosted server without any error..

Could anyone help me on this issue please..
i have done several testings and ...

Go to the complete details ...