<?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>Hata | Sorun Çözümleri &#8211; Ali KÖPRÜLÜ</title>
	<atom:link href="http://www.alikoprulu.com.tr/category/hata-sorun-cozumleri/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alikoprulu.com.tr</link>
	<description>Not Defterim</description>
	<lastBuildDate>Wed, 27 Sep 2017 09:22:52 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>DotNetCore.1.0.0-VS2015Tools.Preview2 setup failed</title>
		<link>http://www.alikoprulu.com.tr/dotnetcore-1-0-0-vs2015tools-preview2-setup-failed/</link>
					<comments>http://www.alikoprulu.com.tr/dotnetcore-1-0-0-vs2015tools-preview2-setup-failed/#respond</comments>
		
		<dc:creator><![CDATA[alikoprulu]]></dc:creator>
		<pubDate>Wed, 10 Aug 2016 11:51:42 +0000</pubDate>
				<category><![CDATA[Genel]]></category>
		<category><![CDATA[Hata | Sorun Çözümleri]]></category>
		<category><![CDATA[DotNetCore]]></category>
		<category><![CDATA[Preview2]]></category>
		<category><![CDATA[setup failed]]></category>
		<category><![CDATA[Visual Studio 2015]]></category>
		<category><![CDATA[VS2015Tools]]></category>
		<guid isPermaLink="false">http://www.alikoprulu.com.tr/?p=959</guid>

					<description><![CDATA[Microsoft'un heryerde olayım anlayışı ile çıkan .Net Core ön izleme sürümünü kurulumunda çıkan sorunla baş başayız  :) Mac ve Linux da çalışacağım diyorsun ama Windows da çalışmıyorsun :D Visual Studio 2015 için ön izleme sürümünü kurmak istediğimde malesef çalışmadı. Neyse sorunumuz DotNetCore.1.0.0-VS2015Tools.Preview2 setup failed çözümü ise komut istemi ile halledeceğiz, başlattan "komut istemi" arayın bulun  [...]]]></description>
										<content:encoded><![CDATA[<p>Microsoft&#8217;un heryerde olayım anlayışı ile çıkan .Net Core ön izleme sürümünü kurulumunda çıkan sorunla baş başayız  <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Mac ve Linux da çalışacağım diyorsun ama Windows da çalışmıyorsun <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f600.png" alt="😀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Visual Studio 2015 için ön izleme sürümünü kurmak istediğimde malesef çalışmadı.</p>
<p>Neyse sorunumuz DotNetCore.1.0.0-VS2015Tools.Preview2 setup failed</p>
<p><img fetchpriority="high" decoding="async" class="size-full wp-image-960" src="http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/net_core_setup_failed.png" alt="net_core_setup_failed" width="481" height="300" srcset="http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/net_core_setup_failed-200x125.png 200w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/net_core_setup_failed-300x187.png 300w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/net_core_setup_failed-400x249.png 400w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/net_core_setup_failed.png 481w" sizes="(max-width: 481px) 100vw, 481px" /></p>
<p>çözümü ise komut istemi ile halledeceğiz, başlattan &#8220;komut istemi&#8221; arayın bulun yada Başlatta cmd yazarsanız direk gelecektir.</p>
<p>Core güncelleme dosyasının bulunduğu dizine gidin ve dosya adınızın yanına bir boşluk bırakın ve &#8220;SKIP_VSU_CHECK=1&#8221; ekleyin, çalıştırdığınızda sorun kalmayacaktır kurulum başlayacaktır.</p>
<p>Bendeki örnekte aşağıda göründüğü gibi, versiyon aynı ise direk kopyalayıp çalıştırabilirsiniz.</p>
<p><img decoding="async" class="size-full wp-image-961 alignleft" src="http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2.png" alt="net_core_setup_failed" width="627" height="43" srcset="http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2-200x14.png 200w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2-300x21.png 300w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2-400x27.png 400w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2-600x41.png 600w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/08/DotNetCore.1.0.0-VS2015Tools.Preview2.png 627w" sizes="(max-width: 627px) 100vw, 627px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>DotNetCore.1.0.0-VS2015Tools.Preview2.exe SKIP_VSU_CHECK=1</p>
<p>Umarım sorununuz çözülmüştür, kolay gelsin iyi çalışmalar <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.alikoprulu.com.tr/dotnetcore-1-0-0-vs2015tools-preview2-setup-failed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Use of undefined constant fs_chmod_file hatası</title>
		<link>http://www.alikoprulu.com.tr/use-of-undefined-constant-fs_chmod_file-hatasi/</link>
					<comments>http://www.alikoprulu.com.tr/use-of-undefined-constant-fs_chmod_file-hatasi/#respond</comments>
		
		<dc:creator><![CDATA[alikoprulu]]></dc:creator>
		<pubDate>Fri, 01 Jul 2016 11:01:20 +0000</pubDate>
				<category><![CDATA[Hata | Sorun Çözümleri]]></category>
		<category><![CDATA[Avada]]></category>
		<category><![CDATA[fs_chmod_file]]></category>
		<guid isPermaLink="false">http://www.alikoprulu.com.tr/?p=942</guid>

					<description><![CDATA[Son tema güncellemesinden sonra küçük bir hata oluşmuş Google kayıt etmiş ve "Use of undefined constant FS_CHMOD_FILE" hatası olarak arattığımda benim bütün sayfalarımı çıkartıyordu :) biraz geç fark etmiş olsamda resim ölçekleme ile ilgili bir sorunmuş Use of undefined constant FS_CHMOD_FILE - assumed 'FS_CHMOD_FILE' wp-content/themes/Avada/includes/class-fusion-image-resizer.php sayfasında 136. satırda hata veriyordu, aşağıdaki kodları açıklama satırına dönüştürdüğümde  [...]]]></description>
										<content:encoded><![CDATA[<p>Son tema güncellemesinden sonra küçük bir hata oluşmuş Google kayıt etmiş ve &#8220;<span class="st"><em>Use of undefined constant FS_CHMOD_FILE&#8221;</em></span> hatası olarak arattığımda benim bütün sayfalarımı çıkartıyordu <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>biraz geç fark etmiş olsamda resim ölçekleme ile ilgili bir sorunmuş</p>
<p><strong><span class="st"><em>Use of undefined constant FS_CHMOD_FILE</em> &#8211; assumed &#8216;FS_CHMOD_FILE&#8217;</span> wp-content/themes/Avada/includes/class-fusion-image-resizer.php</strong></p>
<p>sayfasında 136. satırda hata veriyordu, aşağıdaki kodları açıklama satırına dönüştürdüğümde sorun çözüldü.</p>
<p>&nbsp;</p>
<p><script src="https://gist.github.com/AliKOPRULU/198deeb520de58ba4442c0ae849a95a2.js"></script></p>
<p>&nbsp;</p>
<p>Benim için bir dahaki tema günncelemesinde muhtemelen düzeltilir. Bu hata veya benzeri bir durumla karşı karşıya kaldıysanız geçici bir çözümle idare edeceksiniz <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>İyi çalışmalar <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.alikoprulu.com.tr/use-of-undefined-constant-fs_chmod_file-hatasi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>More than one context type was found in the assembly &#8216;ProjectName&#8217; Hatası</title>
		<link>http://www.alikoprulu.com.tr/more-than-one-context-type-was-found-in-the-assembly-projectname-hatasi/</link>
					<comments>http://www.alikoprulu.com.tr/more-than-one-context-type-was-found-in-the-assembly-projectname-hatasi/#comments</comments>
		
		<dc:creator><![CDATA[alikoprulu]]></dc:creator>
		<pubDate>Thu, 05 May 2016 17:00:02 +0000</pubDate>
				<category><![CDATA[Hata | Sorun Çözümleri]]></category>
		<category><![CDATA[EF]]></category>
		<category><![CDATA[Enable-Migrations]]></category>
		<category><![CDATA[Hata]]></category>
		<category><![CDATA[Migrations]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Sorun]]></category>
		<guid isPermaLink="false">http://www.alikoprulu.com.tr/?p=910</guid>

					<description><![CDATA[MVC EF kullanırken kaçınılmaz kodumuz  "enable-migrations" olacaktır :) Tabi daha önce veritabanı oluşturmuş iseniz ve sonradan farklı bir veritabanı ile çalışmak istediğinizde veya connectionString değiştirip başka bir veritabanı ile çalışalım derseniz başlıktaki gibi bir hata ile karşılacaksınız. "More than one context type was found in the assembly 'ProjectName'" Buraya geldiyseniz verdiği hatayı tamamen okumamışsınız demek  [...]]]></description>
										<content:encoded><![CDATA[<p>MVC EF kullanırken kaçınılmaz kodumuz  &#8220;<code>enable-migrations" olacaktır :)</code></p>
<p>Tabi daha önce veritabanı oluşturmuş iseniz ve sonradan farklı bir veritabanı ile çalışmak istediğinizde veya connectionString değiştirip başka bir veritabanı ile çalışalım derseniz başlıktaki gibi bir hata ile karşılacaksınız.</p>
<p>&#8220;More than one context type was found in the assembly &#8216;ProjectName'&#8221;</p>
<p><a href="http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found.png"><img decoding="async" class="wp-image-911 size-full" src="http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found.png" alt="context-type-was-found" width="1176" height="126" srcset="http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found-300x32.png 300w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found-768x82.png 768w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found-1024x110.png 1024w, http://www.alikoprulu.com.tr/wp-content/uploads/2016/05/context-type-was-found.png 1176w" sizes="(max-width: 1176px) 100vw, 1176px" /></a></p>
<p>Buraya geldiyseniz verdiği hatayı tamamen okumamışsınız demek oluyor. Çünkü cevabıda içinde barındırıyor ikinci satırda kullan dediği</p>
<p>&#8220;use Enable-Migrations -ContextTypeName MyContosoUniversity.Models.ApplicationDbContext.&#8221;</p>
<p>kodu kopyalayıp, Package Manager Console yapıştırıp Enter demeniz yeterli sorununuz çözülecektir.</p>
<p>Bir de benim başıma denk gelmedi ama bu sorun bir de Migrations klasörü ve Configuration.cs dosyayı zaten olup ama görünmeyen kişiler varmış.</p>
<p>Solution Explorer&#8217;da Show All Files derseniz orada gözükecektir, projeye include etmeniz yeterli sorununuz çözülmesi gerekiyor.</p>
<p>Yine de sorununuz çözülmedi ise neden olduğunu yazın çözmeye çalışalım <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.alikoprulu.com.tr/more-than-one-context-type-was-found-in-the-assembly-projectname-hatasi/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>A network-related or instance-specific error occurred while establishing a connection to SQL Server hatası</title>
		<link>http://www.alikoprulu.com.tr/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server-hatasi/</link>
					<comments>http://www.alikoprulu.com.tr/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server-hatasi/#respond</comments>
		
		<dc:creator><![CDATA[alikoprulu]]></dc:creator>
		<pubDate>Tue, 05 Apr 2016 17:00:55 +0000</pubDate>
				<category><![CDATA[Hata | Sorun Çözümleri]]></category>
		<category><![CDATA[Hata]]></category>
		<category><![CDATA[Mssql]]></category>
		<category><![CDATA[MSSQLSERVER]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQLEXPRESS]]></category>
		<guid isPermaLink="false">http://www.alikoprulu.com.tr/?p=781</guid>

					<description><![CDATA["A network-related or instance-specific error occurred while establishing a connection to SQL Server" bu hatanın sebebi MS SQL sunucunuza bağlanamıyor olmanız. Sebebini biraz araştırma ile bulacağız. 1-Bağlantı cümlenizde(connectionstring) hata olduğu için bağlanamıyorsunuz. 2-Ms Sql Sunucu servisi çalışmıyor. Büyük olasılıkla birinci sebepten dolayı bu hatayı alıyorsunuz, bu yüzden birincide olabileceklere ağırlık vereceğim. 1-Server=myServerAddress; Database=myDataBase; User Id=myUsername; Password=myPassword; Üsteki standart  [...]]]></description>
										<content:encoded><![CDATA[<p>&#8220;<strong>A network-related or instance-specific error occurred while establishing a connection to SQL Server</strong>&#8221; bu hatanın sebebi MS SQL sunucunuza bağlanamıyor olmanız. Sebebini biraz araştırma ile bulacağız.</p>
<p>1-Bağlantı cümlenizde(connectionstring) hata olduğu için bağlanamıyorsunuz.</p>
<p>2-Ms Sql Sunucu servisi çalışmıyor.</p>
<p>Büyük olasılıkla birinci sebepten dolayı bu hatayı alıyorsunuz, bu yüzden birincide olabileceklere ağırlık vereceğim.</p>
<p>1-Server=myServerAddress; Database=myDataBase; User Id=myUsername; Password=myPassword;</p>
<p>Üsteki standart yapıdır ben SQL Server 2014&#8217;e bağlanmak için  Data Source=.;Persist Security Info=True;User ID=sa;Password=******;  yazarak bağlanıyorum. Ben bu hata ile karşılaştığımda</p>
<p>Data Source=.\DESKTOP-B14F7H5; ile bağlanmaya çalışmıştım, sılaş ve bilgisayar ismi (DESKTOP-B14F7H5) silince sorun düzeldi. Burada benim gözden kaçırdığım nokta Data Source için 2 farklı bağlantı şeklini aynı anda kullanmaya çalışıyor olmam <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Bağlanmak için <strong>Data Source=.\; şeklinde bir kullanım ve </strong><strong>Data Source=DESKTOP-B14F7H5;</strong> şeklinde farklı bir kullanımla bağlanabilirdim.</p>
<p>Her neyse devam edecek olursak  <strong>.\</strong> şeklinde bir kullanım ile değil de bilgisayar ismi ile bağlanmak isterseniz Microsoft SQL Management Studio&#8217;yu açın. Connect to Server ekranı gelecektir burada Server Name alanında &lt;Browse for more&gt; seçeneğini seçin. Gelen ekrandan Database Engine altında bilgisayar adınız görünecektir onu seçerek OK tıklayın. Server Name alanına gelen isim sizin bilgisayar isminiz. İsmi kopyalayarak Data Source kısmına koyabilirsiniz. Daha kısa yoldan öğrenmek isterseniz <strong>Windows</strong> ve <strong>Pause</strong> tuşlarına aynı anda basarak bilgisayar adını öğrenebilirsiniz.</p>
<p>2-Ms Sql Sunucu servisini kontrol etmek için bilgisayarım iconuna sağ tuşla tıklayarak yönet dedikten sonra <strong>Servisler ve Uygulamalar</strong> altında <strong>Servisler</strong> kısmını tıkladıktan sonra <strong>SQL Server (MSSQLSERVER)</strong> veya <b>(SQLEXPRESS)</b> bulun çalışmıyorsa çalıştırın. Eğer bilgisayarım kısa yolu yok ise Denetim masası -&gt; Yönetimsel Araçlar -&gt; Hizmetler Bölümünden SQL Server arayabilirsiniz. Benim Windows&#8217;um İngilizce olduğu için Türkçe çevirimi biraz daha farklı olabilir, yanlışlık var ise affola <img src="https://s.w.org/images/core/emoji/16.0.1/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Eğer yine bağlanamıyorsanız, <strong>Güvenlik Duvarını</strong> kapattıktan sonra tekrar deneyin olmaz ise bağlantı cümlenizi kontrol etmekte fayda var,  bir harfin hatalı olması bile sorun çıkaracaktır.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>http://www.alikoprulu.com.tr/a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server-hatasi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
