Ne arayalım?

ARAMIZA KATILIN

BİZE ULAŞIN

Adres:

E-posta:

host/bin/bilisimlife.dll

iletisim@bilisimlife.net




 
Rserit
Developer
       
 1026  
 278

WebClient Too many automatic redirections were attempted Hatası

Selamlar,
Web isteklerinde bulunurken birden çok yönlendirmeye maruz kalabilirsiniz. Bunu önlemek için AllowAutoRedirect özelliğini devre dışı bırakmamız gerekiyor.

HttpWebRequest _Get = (HttpWebRequest)WebRequest.Create(uri);
_Get.Method = "GET";
_Get.KeepAlive = true;
_Get.AllowAutoRedirect = false;

Sorun çözülecektir.

İyi çalışmalar,
Recep.

Developer.