Kayıtlar

An error occurred while using SSL configuration for endpoint 0.0.0.0:443. The error status code is contained within the returned data.

Resim
Hi ,  If you are missing iis express ssl sertificate on your localhost  open the command prompt with Administrator go to the Program files(x86) > IIS Express folder than you should run command : IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:port/ -UseSelfSigned

React Native The current character read is 'E' with an int value of 69

React Native run Android Emulator Error  >react-native run-andorid  komutunu calistirdiginizda The current character read is 'E' with an int value of 69  hatasi aliyorsaniz ; <projectFolder>\android\app\build\intermediates\sıgnıng_confıg\debug\out icindeki : 'signing-config.json'   dosaysini silin . Iyi calismalar

Reporting Service te Çıktı PDF Çıktısı aldığımızda Oluşan ekstra Boş sayfalar

Resim
Merhabalar, Reporting service ile hazırladığımız rapor sayfamızı PDF çıktısı almak istediğimizde, raporda ekstra boş sayfa oluşturmaktadır. Bunun düzeltmenin yolu raporumuzun boyutlarını ayarlamamız gerekmektedir. 1. Raporumuzun Body Properties de bulunan Size - Width  alanını : 19,7 cm yapmanız gerekmektedir. 2.Raporumuzun Report Properties inde bulunan Margins - Left  alanını : 0,635cm , Margins-Right: 0,635cm, Page - Size alanına : 21cm , olarak ayarlamamaız gerekmektedir. İyi Çalışmalar

Insufficient memory to continue the execution of the program.

Merhaba; 55 mb dan büyük .sql dosyalarınızı execute ettiğinizde böyle bir hata alırsanız. 1-Command Prompt çalıştırınız. 2- Kod satırına : c:\ sqlcmd  -S <server name> -i "<.sql path>". Örnek : c:\ sqlcmd  -S DBSERVER\MSSERVER14 -i "C:\Data\testData.sql". İyi çalışamalar.

ADDITIONAL INFORMATION: Insufficient memory to continue the execution of the program. (mscorlib)

Resim
Merhaba Eğer script dosyanızın boyutu büyük ve Sql Management Studio da Aşağıdaki hatayı alıyorsanuz "ADDITIONAL INFORMATION: Insufficient memory to continue the execution of the program. (mscorlib)" Scripti sqlcmd den çalıştırarak işleminizi devam ettirebilirsiniz.  Comman Prompt dan aşağıdaki kod ile birlikte çalıştırabilirsiniz;

JSON Tarih alanını Javascriptte Çevirip Angularjs de Göstermek. Angularjs /date(1318798800000)/

Resim
Merhabalar, Eğer Angularjs kullanıyorsanız ve yazdırmaya çalıştığınız alan tarih ise Html e deger olarak /date(1318798800000)/  vb. şekilde dönecektir. Tarihe çevirmeniz için filter olarak aşağıdaki kodları modulüneze eklemeniz gerekmektedir. filter kullanımı ; İyi çalışmalar.

Introducing FOREIGN KEY constraint 'xxx' on table 'xxx may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. Could not create constraint. See previous errors.

Merhaba; "Introducing FOREIGN KEY constraint 'xxx' on table 'xxx may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints. Could not create constraint. See previous errors." EF code Firt update-database dediğimizde aldığımız bu hatanın çözümü için oluşturulan migration dosyamızı açıp içerisnde bulunan ilgili tabloların kodlarındaki ForeignKey in cascadeDelete  özelliğini false yapmamız gerekmektedir. Örnek:  ".ForeignKey("dbo.AspNetUsers", t => t.UpdateUserId, cascadeDelete: false)" yada ; ModelContext dosyanıza  aşağıdaki gibi WillCascadeOnDelete özelliğini false yapabilirsiniz ;         modelBuilder.Entity<AspNetUser>()              .HasMany(e => e.TAble)              .WithRequired(e => e.AspNetUser)              .HasForeignKey(e =...

asp.net web api 2 http.delete 500 -internal server hatası veya 405 hatası

Merhabalar ASp.net web Api 2.0 da http.delete kullanıpta 500 veya 450 hatası alıyorsanız api niz bulunduğu web.config de aşağıdaki ayarları yapınız. <system.webServer>     <validation validateIntegratedModeConfiguration="false"/>     <modules>       <remove name="WebDAVModule"/>    </modules>    <handlers>      <remove name="WebDAV" />   </handlers> </system.webServer> İyi çalışmalar.

Cannot implicitly convert type 'void' to 'System.Collections.Generic.ICollection'

Merhaba ; Bir list Colleciton 'a object eklemek istediğinizde  aşağıdaki hatayı alıyorsanız ; Örnek ;  ... Images = new List<Image>().Add( new Image() { Image = "name", ImageId = 1 }) ... Hata ; Cannot implicitly convert type 'void' to 'System.Collections.Generic.ICollection<xxx>' Add methodu void olduğundan hata verecektir. Yapmanız gereken Add methodunu silip {} parantez kulanmalısınız; ....Images = new List<Image>() { new Image() { Image = "name", ImageId = 1 }}... İyi çalışmalar

'AutoMapper' already has a dependency defined for 'NETStandard.Library'.

Merhabalar; Nuget consoledan  AutoMapper yüklemeye çalışıyor ve bu hatayı alıyorsanız. Visual Studioda nuget galerryi güncelleyip. Visual Studio açıp kapadığınızda sorununuz fidecektir. Kaynak : http://stackoverflow.com/questions/38247961/nuget-package-manager-automapper-already-has-a-dependency-defined-for-micros İyi Çalışmalar

signalr post hubs The specified policy origin 'localhost' is invalid. It must be correctly formed with the scheme, the host, and optionally, the port Hatası

Resim
Merhaba, Asp.net signalr kullanıyorsanız ve client tarafında  post ettiüiniz datanızdan "signalr post hubs The specified policy origin 'localhost' is invalid. It must be correctly formed with the scheme, the host, and optionally, the port" hatası alıyorsanız yapmanı gereken iki şey vardır; 1- Startup.cs classınızda bulunan hub konfigirasyonunuzu aşağıdaki gibi yapmanız gerekmektedir. 2- client js dosyanızda connection hub startınıza jsonp:true eklemeniz gerekmektedir.        $.connection.hub.start({ jsonp: true }); İyi yazılımlar.

Possible unintended reference comparison; to get a value comparison, cast the left hand side to type 'string'

Merhabalar, WPF uygulaması geliştiriyor  label content kullanımında örneğin :  if (lblKullaniciAdi.Content == "Yetkisiz Kullanıcı")  kod parçacağında olduğu gibi bu hatayı alıyorsanız yapmanız gereken ToString() nesnesini eklemek. if (lblKullaniciAdi.Content.ToString()== "Yetkisiz Kullanıcı") {    ... } İyi çalışmalar dilerim

A potentially dangerous Request.Path value was detected from the client (:).

Merhabalar, Eğer yazdığınınz kod içerinde Server.MapPath fonksiyonunu kullanıyorsanız string değerinde hatalı veya kritik karakter mevcuttur. İyi çalışmalar dilerim.

Multiple nodes with the same key '' were found. XmlSiteMapProvider requires that sitemap nodes have unique keys.

Kendinize özgü Site Map Provider kullanıyorsanız sitemap bağlı olduğu tablodaki kayıtların aynı olmamasına dikkat ediniz örneğin Title Alanındaki kayıtlar eğer aynıysa bu hatayı alacaksınız. Kayıtlar aynı olmadığı takdirde sorun gidecektir. İyi Çalışmalar

'Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object.' when calling method: [nsIDOMEventListener::handleEvent]

Merhabalar, Projenizde Asp.net ajax kullanımıda böyle bir hata alıyorsan ajax tetiklediğiniz kontrolünüzün boş değer döndürüyordur. örnek verecek olursak; Seneryomuz gereği bir dropdownlist imiz olsun ve içindeki değerler değiştikçe panelimizi gizleyip açalım.Bu olayıda ajax içinde yapalım.         protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)     {          if ( DropDownList2.SelectedItem.Text=="Ürün" )            {               this.panelProduct.Visible = true;// ilk aksiyonda çalışacak ve sonrasında başlıkdaki hata alınacaktır.            }              else           {             this.panelProduct.Visible = false;           }    } <asp:DropDownList ID=...

Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.' when calling method: [nsIDOMEventListener::handleEvent]

Merhabalar, Eğer sayfanızda "Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.' when calling method: [nsIDOMEventListener::handleEvent]" böyle bir hata alıyorsanız hata aldğınız aspx sayfanıza en yukarı EnableEventValidation="false" olarak ayarlayın İyi Çalışmalar

Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Sistem belirtilen dosyayı bulamıyor.

Merhabalar, Projenizde silverlight kullanıyorsanız  "Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Sistem belirtilen dosyayı bulamıyor." hatası alıyorsanız "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0" (en son versiyon 4.0 olduğu için V4.0) klasörü altındaki System.Core.dll ve System.Windows.dll  dosyalarını projenize referans olarak eklerseniz problem çözülecektir. İyi Çalışmalar

Cannot implicitly convert type 'int?' to 'int'. An explicit conversion exists (are you missing a cast?)

Resim
Merhabalar, Resimdeki gibi bir hata ile karşılaşıyorsanız yapmanız gereken  convert methodu  ile degerinizi integer tipine çevirmek olacaktır. drpSubCategoryFill( Convert.ToInt32( tableAll.SubcategoryId)); İyi Çalışmalar

Could not find UpdatePanel with ID 'xxx'. If it is being updated dynamically then it must be inside another UpdatePanel.' when calling method

Merhabalar, Asp.net ajax kontrollerinden update panel kullanıyorken  " Could not find UpdatePanel with ID 'ContentPlaceHolder1_Account_UpdatePanel1'. If it is being updated dynamically then it must be inside another UpdatePanel.' when calling method:" hatasını alıyor ve ajax işleminiz çalışmıyorsa aynı sayfada bulanan birden fazla update panel varsa update panellerinizi namelerini değiştirip UpdateMode özelliğinide UpdateMode="Conditional" olarak ayarlamalısınız. İyi çalışmalar.

An error occurred while updating the entries. See the inner exception for details.

Merhabalar, Entity Framework kullanıyor ve data kayıt işlemi sırasında bu hatayı alıyorsanız, tablonuzda bulunan relationship kolonlarınızdan kaynaklanıyordur.Sebebi ise ilişkili kolonunuzun   ilişkili olduğu tabloda kayıt olmadığından bu hata dönüyordur. İlişkili tablonuza kayıt eklerseniz sorun gidecektir. Eğer data silme işleminde bu hatayı alıyorsanız EF 6.0 için ; var Delentity = context.dataTable                         .Include(x=>x.dataTableChild)                         .Include(x=>x.dataTableChild2)                         .Where(x => x.Id == Id).ToList();                     context.dataTable.RemoveRange(Delentity);                     context.SaveChanges(); İyi çalışmalar.