Previous Topic: Create a Policy under your Realm to protect your My Site URL (r6.x SP6)

Next Topic: Change the Authentication Provider of your My Site Resource to Forms


Manually Update the web.config file of the My Site Resource

The web.config file that corresponds to your My Site resource in your SharePoint server needs the following sections that contain SiteMinder settings:

To manually update the web.config file for your My Site resource

  1. Click Start, Programs, Administrative Tools, Internet Information Services (IIS) Manager.

    The Internet Information Services (IIS) Manager opens.

  2. Expand the Web Sites folder, and then locate your My Site resource.
  3. Right-click your My Site resource, and select Stop.

    The My Site resource stops.

  4. Right-click your My Site resource, and select Open.

    A new Explorer window opens.

  5. Create a backup copy of the existing web.config file.
  6. Locate the web.config file and open it with a text editor.

    Important! Do not use Notepad, Wordpad (or any other text editor with line-length limitations) to edit the .config (XML) files. A text editor that is designed for writing programming source code typically does not have such line-length limitations. For more information, see the documentation or online help for your respective editor.

  7. Locate the following tags:
    <system.web>
    <securityPolicy>
    
  8. Insert the following syntax between the previous tags:
    <membership defaultProvider="CAMemberProvider">
    <providers>
    <clear />
    <add name="CAMemberProvider" type="CA.SMMemberRoleProvider.SMMemberProvider,CA.SiteMinder.MemberRoleProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e9a76eb29817bc54" />
    </providers>
    </membership>
    <roleManager enabled="true" defaultProvider="CARoleProvider">
    <providers>
    <add name=" CARoleProvider " type="CA.SMMemberRoleProvider.SMRoleProvider,CA.SiteMinder.MemberRoleProvider, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e9a76eb29817bc54" />
    </providers>
    </roleManager>
    
  9. Locate the following line:
    <add name="PublishingHttpModule" type="Microsoft.SharePoint.Publishing.PublishingHttpModule, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />
    
  10. Insert a new line after the previous line, and then add the following syntax:
    <add name="SessionMgmtModule" type="CA.SPWebModule.SessionMgmtModule, CA.SiteMinder.SPWebModule, Version=1.0.0.0, Culture=neutral, PublicKeyToken=29f091c10dd5f4a0" />
    
  11. Save the web.config file and close the text editor.
  12. Close the Explorer window.
  13. Right-click your My Site resource in the IIS Manager, and select Start.

    The web config file for your My Site resource is updated.