<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : System.IO.IOException: Unable to write data to....</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : System.IO.IOException: Unable to write data to....</description>
  <pubDate>Mon, 27 Apr 2026 01:21:09 +0000</pubDate>
  <lastBuildDate>Fri, 29 Apr 2016 10:56:28 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=2878</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>System.IO.IOException: Unable to write data to.... : &#304;&#350;LEM:HTTPS &#252;zerinden webservis&amp;#039;e...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2878&amp;PID=5772#5772</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 2878<br /><strong>Gönderim Zamanı:</strong> 29.Nisan.2016 Saat 10:56<br /><br /><b>İŞLEM:</b><br>HTTPS üzerinden webservis'e erişimde oluşan hata. / connect https webservices<br><br><br><b>HATA DETAYI:</b><br>************** Exception Text **************<br>System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---&gt; System.IO.IOException: Unable to write data to the transport connection: Varolan bir bağlantı uzaktaki bir ana bilgisayar tarafından zorla kapatıldı. ---&gt; System.Net.Sockets.SocketException: Varolan bir bağlantı uzaktaki bir ana bilgisayar tarafından zorla kapatıldı<br>&nbsp;&nbsp; at System.Net.Sockets.Socket.Send(Byte&#091;&#093; buffer, Int32 offset, Int32 size, SocketFlags socketFlags)<br>&nbsp;&nbsp; at System.Net.Sockets.NetworkStream.Write(Byte&#091;&#093; buffer, Int32 offset, Int32 size)<br><br>&nbsp; &nbsp;<br><b>ÇÖZÜM:</b><br>1. Bağlantı sağlanan sayfa için bağlantı şekli öğrenilmelidir.<br>Hangi bağlantı türü ile güvenlik sağlanmaktadır?<br>&nbsp; SSL3? TLS10? TLS11? TLS12?<br>Bunu FireFox'da sayfa bilgisi kısmında gücenlik sekmesinden edinebilirsiniz.<br>Bu sekmeye girdiğinizde sayfa sonunda TEKNİK DETAY kısmında bilgi sunulmaktadır.<br>2. Öğrenilen bağlantı tipi doğrultusunda kodun en başına aşağıdakini eklemeniz sorunu çözebilir.<br><br>System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;<br><br>VEYA<br><br>System.Net.ServicePointManager.SecurityProtocol = default:System.Net.SecurityProtocolType.Ssl3 | System.Net.SecurityProtocolType.Tls;<br><br>Not: Tls11/Tls12 .net v4.5 ve üzeri gerektiriyor zira v4 de Tls11 ve Tls12 yi göremedim.<br>&nbsp;<br>&nbsp;<br><b>Solution:</b><br>1. Check Connection Encrypted type: SSL3? TLS10? TLS11? TLS12?<br>for this may be use firefox &gt; page Info &gt; Security Tab &gt; Technical Details<br>2. add bellow line app load<br><br>System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;<br><br>or<br><br>System.Net.ServicePointManager.SecurityProtocol = default:System.Net.SecurityProtocolType.Ssl3 | System.Net.SecurityProtocolType.Tls;<br><br>note: Tls11/Tls12 request .net &gt;= v4.5 ??<br>&nbsp;&nbsp; <br><br><font size="1"><i>KeyWords:<br>System.IO.IOException: Unable to write data to the transport connection: Varolan bir bağlantı uzaktaki bir ana bilgisayar tarafından zorla kapatıldı ; System.IO.IOException: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host</i></font> <br>]]>
   </description>
   <pubDate>Fri, 29 Apr 2016 10:56:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2878&amp;PID=5772#5772</guid>
  </item> 
 </channel>
</rss>