26 Haziran 2014 Perşembe

Telerik.Web.UI.WebResource.Exists System.NullReferenceException dynatrace

1. Check
 
Telerik.Web.UI.dll is in the GAC:
<system.webserver>
<handlers>
    … 
    <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=[ASSEMBLY_VERSION], Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
    …
</handlers>
</system.webserver>
 
 
Telerik.Web.UI.dll is not in the GAC:
              
<system.webserver>
<handlers>
    … 
    <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
    …
</handlers>
</system.webserver>
 
 
<httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
      <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
    </httpHandlers>
 
 
 
2. Check
 
IIS7 Integrated Mode: The following statement should be present in the <handlers> section instead of <httpHandlers>:
<handlers> 
<add name="Telerik.Web.UI.WebResource" 
path="Telerik.Web.UI.WebResource.axd" verb="*"  
type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
 
 <handlers>
      <add name="TelerikHandler" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
      <add name="Elmah" path="elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" />
      <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </handlers>
  </system.webServer>
 

13 Haziran 2014 Cuma

Publish Sırasinda web.config Nasıl Exclude Yapılır

Visual Studio ile çalışıyorsunuz ve canlı ortamdaki web.config dosyanızı publish sırasında ezmek istemiyorsunuz.

 

Çözümü oldukça basit;

Simply select the web.config properties and change 'Build Action' to 'None' and 'Copy To Output Directory' to 'Do Not copy'

 

Kolay gelsin..

 

12 Haziran 2014 Perşembe

Biztalk 2013 konfigürasyonu sırasında alınan Invalid column name ‘id’ hatası

Biztalk 2013 kurulumunu tamamladıktan sonra configuration aşamasında aşağıdaki gibi bir hata alabilirsiniz.

 

"Failed to create management database "BiztalkMgmtDb" on server "XXX".

Statement(s) could not be prepared.

Invalid column name 'id'.

 

 

 

 

Sorunun temel kaynağı SQL server kurulumunda 'Server Collation' TURKISH_CI_AS olması. (Sql server management studio'da server üzerine sağ click yaparak açılan pencerede görülebilir.)

 

 

Temel olarak BTS_Administration_Logic dosyası (Biztalk kurulum dizini içindeki Schema dizininde duruyor) içinde bulunan bir scriptte 'select sh.id from adm_sendhandler ...' ile başlayan bir sql var fakat adm_sendhandler tablosunda sql de id olarak yazan kolon Id olarak tanımlı. TURKISH_CI_AS olmasından dolayı "id" ile "Id" aynı olmadığı varsayılıyor ve sanki bu tabloda id kolonu yokmuş gibi davranıyor.

 

 

 

 

Çözüm : select sh.id from adm_sendhandler sql cümlesi içindeki id kolonunu Id ile değiştirip BTS_Administration_Logic dosyasını kaydedin ve Biztalk configürasyonu yeniden deneyin.

11 Haziran 2014 Çarşamba

Windows 8 işletim sistemi üzerinde .NET Framework 3.5 Kurulumu

Windows 8 işletim sisteminde .NET Framework 3.5 framework kurulumu sırasında aşağıdaki gibi bir hata alabilirsiniz;

 

"Windows couldn't complete the requested changes. Windows couldn't connect to the internet to download necessary files. Make sure that you're connected to the internet, and click 'Retry'. Error code: 0x800F0906”

 

Yapılacaklar;

 

1.       Windows 8 kurulum diskini sürücünüze yerleştirin,

2.       Command prompt açın. (windows arama kutusuna cmd konutu yazın). Açarken ‘Run as Administrator’ olarak açmalısınız.

3.       Aşağıdaki komutu çalıştırın

 

Dism /online /enable-feature /featurename:NetFx3 /All /Source:"Path to installation media":\sources\sxs /LimitAccess

 

Path to installation media yerine windows 8 diskinizin sürücü harfini girin ( Örneğin D: )

 

Kurulum başlatılacaktır.