2018年6月7日 星期四

SCOM - Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery - Event ID 10001 Error 0x8013101b

Solution
=========
Apply 
Microsoft .NET Framework 4.7

Microsoft .NET Framework 4.7 (Offline Installer) for Windows 7 SP1, Windows 8.1, Windows 10 Anniversary Update, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016



Analysis
=========
0x8013101b The assembly is built by a runtime newer than the currently loaded runtime, and cannot be loaded

         <DisplayString ElementID="Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
          <Name>IIS WCF Web Service Discovery Rule</Name>

IIS WCF Web Service Discovery Rule
·         ID:  Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery
·         Description:  Discovery rule used to find WCF Services deployed to IIS. The default pattern used by the discovery is to look for .svc files in the virtual directory, if any are found a WCF Service endpoint will be created. To specify additional file types that represent a WCF service override the AdditionalExtensions property and provide a semi-colon (;) delimited list of file extensions. An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent WCF Services.
·         Target:  .NET Application Monitoring Agent
Enabled:  Yes

Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery
<DeployableAssembly ID="Res.Microsoft.SystemCenter.Apm.Discovery.Wcf" Accessibility="Internal" FileName="Microsoft.EnterpriseManagement.Modules.Apm.Discovery.Wcf.dll" HasNullStream="false" QualifiedName="Microsoft.EnterpriseManagement.Modules.Apm.Discovery.Wcf, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Version=7.0.5000.20" />

    <LanguagePack ID="ENU" IsDefault="true">
      <DisplayStrings>
        <DisplayString ElementID="Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
          <Name>IIS WCF Web Service Discovery Rule</Name>
          <Description>Discovery rule used to find WCF Services deployed to IIS.  The default pattern used by the discovery is to look for .svc files in the virtual directory, if any are found a WCF Service endpoint will be created. To specify additional file types that represent a WCF service override the AdditionalExtensions property and provide a semi-colon (;) delimited list of file extensions.  An example of a new file extension list string is "foo;bar" that specifies files such as myFile.foo and myFile.bar represent WCF Services.</Description>
        </DisplayString>
      </DisplayStrings>
-----------------------------------------------------------------
        <DisplayString ElementID="ParentMP!Microsoft.SystemCenter.Apm.Wcf.IIS2008.Discovery">
<Name>IIS WCF Web 服務探索規則</Name>
<Description>用來尋找部署至 IIS WCF 服務的探索規則。探索使用的預設樣式為在虛擬目錄中尋找 .svc 檔案,並在找到時建立一個 WCF 服務端點。若要指定其他表示 WCF 服務的檔案類型,請覆寫 AdditionalExtensions 內容並提供分號分隔的副檔名清單。新的副檔名清單字串的範例如 "foo;bar",其指定了如 myFile.foo myFile.bar 等表示 WCF 服務的檔案</Description>