Kayıtlar

Ekim 19, 2010 tarihine ait yayınlar gösteriliyor

IIS 7.0 üzerinden dosya yüklemek 30 mb ile sınırlıdır

30 mb üzerindeki dosyaları IIS 7.0 üzerinde yüklemek isterseniz şekildeki gibi bir hata mesajı döner. “ You are probably hitting the file upload limit of IIS7.By default in IIS 7 requestFiltering  has the MaxAllowedContentLength property enabled.It specifies, in bytes, the maximum length of the content in a request. The default is 30MB. To change this value you must edit %windir%\System32\inetsrv\config\applicationHost.config file.” İster applicationHost.config dosyasından isterseniz web.config dosyasına <system.webServer> düğümü içerisine aşağıdaki kodu yazmanız daha büyük dosyaları yazmanız için yeterli olacaktır. <system.webServer> <security> <requestFiltering> <requestLimits maxAllowedContentLength="1000000000"/> </requestFiltering> </security> </system.webServer>

Sql'de belirli bir alan içindeki değerleri güncellemek istersek

UPDATE [TabloAdı] SET     [Alan] = replace ( [Alan] , 'eskideger' , 'yenideger' ) WHERE   [Alan] LIKE '%eskideger%' ;