Adding the .NET Remoting Entry in the FIM CM Web.Config File

The FIM CM Proxy (FimCmExtensions.FimCmProxy.dll) requires entries in the FIM CM web.config file in order to work properly.

To make these changes manually:
  1. Find the Web.Config file on the CM server (probably in Program Files\Microsoft Forefront Identity Manager\2010\Certificate Management\web)
  2. Open the file with your favourite editor
  3. Find the <system.runtime.remoting> node
  4. Add the following entry for the FimCmProxy:
    1. <wellknown mode="Singleton" type="FimCmExtensions.FimCmProxy, FimCmExtensions.FimCmProxy" objectUri="FimCmProxy.rem" />
  5. Add the following entries for the Provision API:
    1. <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.RequestOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests2.rem" />
    2. <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.FindOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests3.rem" />
    3. <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.PermissionOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests4.rem" />
    4. <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.ExecuteOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests5.rem" />
  6. Run IISRESET
  7. Try the Test-FimCmProxyConnection function in the PowerShell module

NOTE: the Test-FimCmProxyConnection hard codes the URL to the FIM CM server - a bug worth filing I'm sure...

Here is a snippet from my web.config file

Config File Entries for the FimCmExtensions
<!-- REMOTING SECTION (BUILT-IN) ++++++++++++++++++++++++++++++++++++++++++-->
<system.runtime.remoting>
  ...

    <service>
      <wellknown mode="Singleton" type="Microsoft.Clm.BusinessLayer.RemoteRequests, Microsoft.Clm.BusinessLayer" objectUri="remoterequests.rem" />
      <wellknown mode="Singleton" type="FimCmExtensions.FimCmProxy, FimCmExtensions.FimCmProxy" objectUri="FimCmProxy.rem" />
      <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.RequestOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests2.rem" />
      <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.FindOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests3.rem" />
      <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.PermissionOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests4.rem" />
      <wellknown mode="SingleCall" type="Microsoft.Clm.Provision.ExecuteOperationsByCulture, Microsoft.Clm.Provision" objectUri="remoterequests5.rem" />
    </service>

Last edited Mar 3, 2011 at 7:12 PM by CraigMartin, version 1

Comments

No comments yet.