asp.net mvc 4 - Unable to connect web exception mvc4 -
we doing facebook posting application using httpwebrequest.
httpwebrequest request = webrequest.create(url) httpwebrequest; using (httpwebresponse response = request.getresponse() httpwebresponse) { //doing stuff here. }
this code failing @ line uisng unable connect server exception. not failing always, failing in 90% cases.
can advise how best can addressed?
try (this may not answer; trying debug issue), see if fails other 1 does; try replacing google.com own url:
webrequest g = httpwebrequest.create("http://www.google.com"); var response = g.getresponse();
Comments
Post a Comment