Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

asp.net Exception: The Local Security Authority cannot be contacted

$
0
0

I have two applications (A)anonymous authentication and (B) windows authentication (A) called Handler from (B)

when I use the following code exception ( The Local Security Authority cannot be contacted) be displayed

code:

WebClient webClient = new WebClient();

webClient.Credentials = new NetworkCredential(UserName, password, domain name);
string url =(handler url) 
webClient.DownloadFile(url,Context.Server.MapPath(imagePath));



Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>