<?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>web.config arşivleri - Yunus Emre Araç</title>
	<atom:link href="https://www.yunusemrearac.com/tag/web-config/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.yunusemrearac.com/tag/web-config/</link>
	<description>SharePoint Consultant &#124; Microsoft 365 &#124; SharePoint Server &#38; Online</description>
	<lastBuildDate>Sat, 07 Jan 2023 20:06:46 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://www.yunusemrearac.com/wp-content/uploads/2014/11/MetroUI_VisualStudio_2012-545c8860_site_icon-32x32.png</url>
	<title>web.config arşivleri - Yunus Emre Araç</title>
	<link>https://www.yunusemrearac.com/tag/web-config/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">67294213</site>	<item>
		<title>SharePoint &#8220;Session state can only be used when enableSessionState is set to true&#8221; Hatası ve Çözümü</title>
		<link>https://www.yunusemrearac.com/2023/01/07/sharepoint-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true-hatasi-ve-cozumu/</link>
					<comments>https://www.yunusemrearac.com/2023/01/07/sharepoint-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true-hatasi-ve-cozumu/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Sat, 07 Jan 2023 20:06:46 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Actions]]></category>
		<category><![CDATA[Add Managed Module]]></category>
		<category><![CDATA[Enable-SPSessionStateService]]></category>
		<category><![CDATA[enableSessionState]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Internet Information Services]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Modules]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Session State]]></category>
		<category><![CDATA[Session state can only be used when enableSessionState is set to true]]></category>
		<category><![CDATA[System.Web.SessionState.SessionStateModule]]></category>
		<category><![CDATA[web.config]]></category>
		<guid isPermaLink="false">https://www.yunusemrearac.com/?p=3147</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar bugün sizlere sharepoint ortamlarında Session State kullandığınız zaman ya da bir taşıma da karşınıza çıkabilecek bir hatadan ve bu hatanın çözümünden bahsedeceğim. Hata&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2023/01/07/sharepoint-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true-hatasi-ve-cozumu/">SharePoint &#8220;Session state can only be used when enableSessionState is set to true&#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 sharepoint ortamlarında Session State kullandığınız zaman ya da bir taşıma da karşınıza çıkabilecek bir hatadan ve bu hatanın çözümünden bahsedeceğim.</p>
<p><strong>Hata Mesajı:</strong></p>
<blockquote><p><em>Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included.</em></p></blockquote>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-3148 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error.png" alt="" width="1643" height="201" srcset="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error.png 1643w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-300x37.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-1024x125.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-768x94.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-1536x188.png 1536w" sizes="(max-width: 1643px) 100vw, 1643px" /></a></p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2.png"><img decoding="async" class="size-full wp-image-3149 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2.png" alt="" width="1258" height="234" srcset="https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2.png 1258w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2-300x56.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2-1024x190.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/enableSessionState-Error-2-768x143.png 768w" sizes="(max-width: 1258px) 100vw, 1258px" /></a></p>
<p>SharePoint ortamında session state kullandığınız zaman ve sunucunuzda session state konfigürasyonu yapılmamış ise yukarıdaki hatalar ile karşılaşabilirsiniz.</p>
<p>Bu hata için kullanabileceğiniz üç tane genel kullanım yönteminden bahsedeceğim.</p>
<h3><strong>1. Yöntem:</strong></h3>
<p>İlk yöntemimiz powershell script kullanmak. Bunun için aşağıdaki 2 tane powershell scriptinden birini kullanarak yapabilirsiniz.</p><pre class="urvanov-syntax-highlighter-plain-tag">Enable-SPSessionStateService -DefaultProvision</pre><p><strong>Ya da</strong></p><pre class="urvanov-syntax-highlighter-plain-tag">Enable-SPSessionStateService -DatabaseName "SessionStateDatabase" -DatabaseServer "localhost" -SessionTimeout 120</pre><p>Burada ikinci script kodunda yer alan <strong>&#8220;SessionStateDatabase&#8221;</strong> yerine session state için oluşturulacak veritabanı adınızı yazıyorsunuz, <strong>&#8220;localhost&#8221;</strong> yerine de veritabanı sunucu adını yazıyorsunuz ve <strong>&#8220;120&#8221;</strong> yerine de session time out sürenizi belirleyebilirsiniz.</p>
<h3><strong>2. Yöntem:</strong></h3>
<p>Sharepoint sunucunuza gidiyorsunuz. Burada<strong> &#8220;IIS (Internet Information Services)&#8221;</strong> gidiyoruz ve <strong>&#8220;Sites&#8221;</strong> altında yer alan sitelerden bu sorunu yaşadığımız siteye girerek <strong>&#8220;IIS&#8221;</strong> tabında yer alan <strong>&#8220;Modules&#8221;</strong> giriyoruz.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2023/01/1.png"><img decoding="async" class="size-full wp-image-3150 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2023/01/1.png" alt="" width="1598" height="907" srcset="https://www.yunusemrearac.com/wp-content/uploads/2023/01/1.png 1598w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/1-300x170.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/1-1024x581.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/1-768x436.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/1-1536x872.png 1536w" sizes="(max-width: 1598px) 100vw, 1598px" /></a></p>
<p>Buraya girdikten sonra sağ tarafta yer alan <strong>&#8220;Actions&#8221;</strong> menüsünde <strong>&#8220;Add Managed Module&#8230;&#8221;</strong> tıklıyoruz ve açılan popup içerisinde <strong>&#8220;Name&#8221;</strong> kısmına <strong>&#8220;Session&#8221;</strong> ve <strong>&#8220;Type&#8221;</strong> kısmına da <strong>&#8220;System.Web.SessionState.SessionStateModule&#8221;</strong> ekleyip <strong>&#8220;Ok&#8221;</strong> diyerek kaydediyoruz.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2023/01/2.png"><img decoding="async" class="size-full wp-image-3151 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2023/01/2.png" alt="" width="1601" height="902" srcset="https://www.yunusemrearac.com/wp-content/uploads/2023/01/2.png 1601w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/2-300x169.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/2-1024x577.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/2-768x433.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/2-1536x865.png 1536w" sizes="(max-width: 1601px) 100vw, 1601px" /></a></p>
<h3><strong>3. Yöntem:</strong></h3>
<p>Bir diğer yöntemde sorun yaşanan sitenin<strong> &#8220;web.config&#8221;</strong> dosyasına giderek &#8220;enableSessionState&#8221; değerini <strong>&#8220;true&#8221;</strong> olarak değiştirebiliriz.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2023/01/3.png"><img decoding="async" class="size-full wp-image-3152 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2023/01/3.png" alt="" width="1439" height="35" srcset="https://www.yunusemrearac.com/wp-content/uploads/2023/01/3.png 1439w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/3-300x7.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/3-1024x25.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2023/01/3-768x19.png 768w" sizes="(max-width: 1439px) 100vw, 1439px" /></a></p>
<p>Yukarıda bahsettiğm üç yöntemden birini kullanarak ya da daha farklı yöntemlerler de session state aktif ederek bu hatayı giderebilirsiniz.</p>
<p>The post <a href="https://www.yunusemrearac.com/2023/01/07/sharepoint-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true-hatasi-ve-cozumu/">SharePoint &#8220;Session state can only be used when enableSessionState is set to true&#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/2023/01/07/sharepoint-session-state-can-only-be-used-when-enablesessionstate-is-set-to-true-hatasi-ve-cozumu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3147</post-id>	</item>
		<item>
		<title>SharePoint Direct Dependencies Limit with Master page User Controls Hatası</title>
		<link>https://www.yunusemrearac.com/2018/05/24/sharepoint-direct-dependencies-limit-with-master-page-user-controls-hatasi/</link>
					<comments>https://www.yunusemrearac.com/2018/05/24/sharepoint-direct-dependencies-limit-with-master-page-user-controls-hatasi/#comments</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Thu, 24 May 2018 08:11:19 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Direct Dependencies Limit]]></category>
		<category><![CDATA[Direct Dependencies Limit with Master page User Controls]]></category>
		<category><![CDATA[DirectFileDependencies]]></category>
		<category><![CDATA[inetpub]]></category>
		<category><![CDATA[Limit]]></category>
		<category><![CDATA[Master Page]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[VirtualDirectories]]></category>
		<category><![CDATA[web.config]]></category>
		<category><![CDATA[wss]]></category>
		<category><![CDATA[wwwroot]]></category>
		<guid isPermaLink="false">http://yunusemrearac.com/?p=1659</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar, bugün sizlere sharepoint ortamında bir page layoutta belirli bir adetten fazla user control kullanımından kaynaklı oluşan bir hatadan ve bu hatanın çözümünden bahsedeceğim.&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2018/05/24/sharepoint-direct-dependencies-limit-with-master-page-user-controls-hatasi/">SharePoint Direct Dependencies Limit with Master page User Controls Hatası</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 sharepoint ortamında bir page layoutta belirli bir adetten fazla user control kullanımından kaynaklı oluşan bir hatadan ve bu hatanın çözümünden bahsedeceğim.</p>
<p>Default olarak bir sharepoint ortamında bu sayı 11 ve üzeridir.</p>
<p><a href="http://yunusemrearac.com/wp-content/uploads/2018/05/Error-Direct-Dependencies-Limit.png"><img decoding="async" class="size-full wp-image-1661 aligncenter" src="https://yunusemrearac.com/wp-content/uploads/2018/05/Error-Direct-Dependencies-Limit.png" alt="" width="921" height="294" srcset="https://www.yunusemrearac.com/wp-content/uploads/2018/05/Error-Direct-Dependencies-Limit.png 921w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/Error-Direct-Dependencies-Limit-300x96.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/Error-Direct-Dependencies-Limit-768x245.png 768w" sizes="(max-width: 921px) 100vw, 921px" /></a></p>
<p>Gördüğünüz gibi sayfamıza girdiğimiz zaman yukarıdaki gibi bir limit uyarı hatası ile karşılaşıyoruz. Bunun çözümü için ise bu limiti arttırmamız gerekmektedir. Bunun için aşağıdaki adımları takip etmeniz yeterli olacaktır.</p>
<p><a href="http://yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer.png"><img decoding="async" class="size-full wp-image-1662 aligncenter" src="https://yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer.png" alt="" width="1204" height="677" srcset="https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer.png 1204w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-300x169.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-768x432.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-1024x576.png 1024w" sizes="(max-width: 1204px) 100vw, 1204px" /></a></p>
<p>İlk olarak sharepoint sunucunuza gidiyorsunuz ve file explorer üzerinden <strong>&#8220;C:\inetpub\wwwroot\wss\VirtualDirectories\&#8221;</strong> konumuna geliyorsunuz. Burada yer alan klasörlerden sorun yaşadığınız sharepoint sitesini bulup o klasöre giriyorsunuz. Klasörde yer alan <strong>&#8220;web.config&#8221;</strong> dosyasını açıyoruz.</p>
<p><a href="http://yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2.png"><img decoding="async" class="size-full wp-image-1663 aligncenter" src="https://yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2.png" alt="" width="1228" height="812" srcset="https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2.png 1228w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2-300x198.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2-768x508.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2018/05/error-Direct-Dependencies-Limit-answer-2-1024x677.png 1024w" sizes="(max-width: 1228px) 100vw, 1228px" /></a></p>
<p>Bu dosya içerisinde yer alan <strong>&#8220;DirectFileDependencies&#8221;</strong> propertisine sahip olan <strong>&#8220;safeMode&#8221;</strong> tag ismini buluyoruz. Bur kısımındaki <strong>&#8220;DirectFileDependencies&#8221;</strong> propertisinde yer alan sayı bizim limitimizi belirlemektedir. Bu sayıyı ihtiyacımıza göre arttırıp dosyamızı kaydettikten sonra sayfayı tekrar yenilediğimizde sorunun giderildiğini ve sayfamızın sorunsuz bir şekilde açıldığını göreceksiniz.</p>
<p>The post <a href="https://www.yunusemrearac.com/2018/05/24/sharepoint-direct-dependencies-limit-with-master-page-user-controls-hatasi/">SharePoint Direct Dependencies Limit with Master page User Controls Hatası</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2018/05/24/sharepoint-direct-dependencies-limit-with-master-page-user-controls-hatasi/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1659</post-id>	</item>
	</channel>
</rss>
