<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>.Net arşivleri - Yunus Emre Araç</title>
	<atom:link href="https://www.yunusemrearac.com/tag/net/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.yunusemrearac.com/tag/net/</link>
	<description>SharePoint Consultant &#124; Microsoft 365 &#124; SharePoint Server &#38; Online</description>
	<lastBuildDate>Sat, 01 May 2021 09:53:44 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>

<image>
	<url>https://www.yunusemrearac.com/wp-content/uploads/2014/11/MetroUI_VisualStudio_2012-545c8860_site_icon-32x32.png</url>
	<title>.Net arşivleri - Yunus Emre Araç</title>
	<link>https://www.yunusemrearac.com/tag/net/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">67294213</site>	<item>
		<title>Microsoft TLS 1.2 Günvenlik Protokolü Güncellemesi Sonrası SharePoint Ortamlarına Bağlanırken Alınan &#8220;The underlying connection was closed: An unexpected error occurred on a send&#8221; Hatası ve Çözümü</title>
		<link>https://www.yunusemrearac.com/2021/05/01/microsoft-tls-1-2-gunvenlik-protokolu-guncellemesi-sonrasi-sharepoint-ortamlarina-baglanirken-alinan-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-hatasi-ve-cozumu/</link>
					<comments>https://www.yunusemrearac.com/2021/05/01/microsoft-tls-1-2-gunvenlik-protokolu-guncellemesi-sonrasi-sharepoint-ortamlarina-baglanirken-alinan-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-hatasi-ve-cozumu/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Sat, 01 May 2021 09:53:44 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net Freamwork]]></category>
		<category><![CDATA[Güvenlik Protokolü]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[Security Protocol]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<category><![CDATA[The underlying connection was closed: An unexpected error occurred on a send]]></category>
		<category><![CDATA[TLS]]></category>
		<category><![CDATA[TLS 1.2]]></category>
		<guid isPermaLink="false">http://yunusemrearac.com/?p=2755</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar, bugün sizlere Microsoft tarafından 2018 yılında alınan ve sistemlerin güvenlik protokolünün TLS 1.2 olarak güncellenmesini önermesi ve çoğu sistemde de bunu zorunlu kılması&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2021/05/01/microsoft-tls-1-2-gunvenlik-protokolu-guncellemesi-sonrasi-sharepoint-ortamlarina-baglanirken-alinan-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-hatasi-ve-cozumu/">Microsoft TLS 1.2 Günvenlik Protokolü Güncellemesi Sonrası SharePoint Ortamlarına Bağlanırken Alınan &#8220;The underlying connection was closed: An unexpected error occurred on a send&#8221; Hatası ve Çözümü</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba arkadaşlar, bugün sizlere Microsoft tarafından 2018 yılında alınan ve sistemlerin güvenlik protokolünün TLS 1.2 olarak güncellenmesini önermesi ve çoğu sistemde de bunu zorunlu kılması sonucu client context veya powershell ile sharepoint ortamlarına bağlantı yapılırken alınan <strong>&#8220;The underlying connection was closed: An unexpected error occurred on a send&#8221;</strong> hatasından ve çözümünden bahsedeceğim.</p>
<p>Bununla ilgili Microsoft tarafından yayınlanan <a href="https://docs.microsoft.com/en-US/microsoft-365/compliance/prepare-tls-1.2-in-office-365?view=o365-worldwide" target="_blank" rel="noopener">Preparing for TLS 1.2 in Office 365 and Office 365 GCC</a> yazısını okuyabilirsiniz.</p>
<p><a href="http://yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-console.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-2757 aligncenter" src="https://yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-console.png" alt="" width="438" height="377" srcset="https://www.yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-console.png 438w, https://www.yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-console-300x258.png 300w" sizes="(max-width: 438px) 100vw, 438px" /></a></p>
<p><a href="http://yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-powershell.png"><img decoding="async" class="size-full wp-image-2758 aligncenter" src="https://yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-powershell.png" alt="" width="624" height="96" srcset="https://www.yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-powershell.png 624w, https://www.yunusemrearac.com/wp-content/uploads/2021/05/sponline-client-context-error-powershell-300x46.png 300w" sizes="(max-width: 624px) 100vw, 624px" /></a></p>
<p>Yukarıda göreceğiniz gibi hem console uygulamasında hem de powershell ekranında verilen hata ekran görüntülerini paylaştım. Bu hataların çözümü için aşağıdaki adımları yapmanız gerekmektedir.</p>
<p>Eğer console uygulaması yazıyorsanız burada yapacağınız iki yol vardır. Bunlar:</p>
<ul>
<li>Uygulamanızın .Net Freamwork versiyonunu 4.6 veya daha üst bir versiyona çekmeniz gerekmektedir.</li>
<li>Kodunuzun içine en başa güvenlik protokolünün TLS 1.2 versiyonunda çalışmasına zorlayacak olan aşağıdaki kodu eklemeniz gerekmektedir.</li>
</ul>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;</pre><p></p>
<p>Eğer powershell üzerinde çalışıyorsanız kullandığınız powershell uygulamasının günvenlik protokolünü aşağıdaki powershell komutunu kullanarak TLS 1.2 olarak güncelleyip powershell uygulamasını tekrardan başlatarak kodunuzu sorunsuz şekilde tekrardan çalıştırabilirsiniz.</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;</pre><p></p>
<p>Yukarıdaki adımları sorunsuz bir şekilde tamamladıktan sonra kodlarınız hata vermeden çalışmaya başlayacaktır.</p>
<p>The post <a href="https://www.yunusemrearac.com/2021/05/01/microsoft-tls-1-2-gunvenlik-protokolu-guncellemesi-sonrasi-sharepoint-ortamlarina-baglanirken-alinan-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-hatasi-ve-cozumu/">Microsoft TLS 1.2 Günvenlik Protokolü Güncellemesi Sonrası SharePoint Ortamlarına Bağlanırken Alınan &#8220;The underlying connection was closed: An unexpected error occurred on a send&#8221; Hatası ve Çözümü</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2021/05/01/microsoft-tls-1-2-gunvenlik-protokolu-guncellemesi-sonrasi-sharepoint-ortamlarina-baglanirken-alinan-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send-hatasi-ve-cozumu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2755</post-id>	</item>
	</channel>
</rss>
