Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Advanced Microsoft Content Management Server Development

You're reading from   Advanced Microsoft Content Management Server Development Working with the Publishing API, Placeholders, Search, Web Services, RSS, and Sharepoint Integration

Arrow left icon
Product type Paperback
Published in Nov 2005
Publisher Packt
ISBN-13 9781904811534
Length 544 pages
Edition 1st Edition
Concepts
Arrow right icon
Toc

Table of Contents (21) Chapters Close

Advanced Microsoft Content Management Server Development
Credits
About the Authors
About the Reviewers
1. Building CMS Explorer FREE CHAPTER 2. Managing Channels and Postings with the PAPI 3. Managing Templates, Template Galleries, and Resources 4. Preparing Postings for Search Indexing 5. Searching MCMS with SharePoint 6. Publishing Content Between MCMS and SharePoint 7. Building SharePoint Web Parts 8. Useful Placeholder Controls 9. Validating Placeholder Controls 10. Staging Static Pages 11. InfoPath with MCMS Web Services 12. MCMS and RSS 13. Essential How-Tos, Tips, and Tricks 1. Setting up MCMS and SPS on the Same Virtual Server 2. MCMS Connector for SharePoint Technologies 3. Installing the Tropical Green Website Index

Configuring SharePoint to Allow MCMS Requests


As outlined above, the MCMS requests will not be processed correctly at this point because the SharePoint ISAPI filter consumes all requests coming into our virtual server. If a request can’t be processed by the SharePoint ISAPI filter, it will simply return an HTTP 404 – File Not Found response to the requestor.

As an example of this, try navigating to a path that does not exist, such as http://portal.tropicalgreen.net/fakepath. As this response is sent directly by the SharePoint ISAPI filter without allowing IIS to continue to process the request, the 404 error page looks different to other 404 errors displayed by IIS or web sites not managed by the SharePoint ISAPI filter:

In order to get the MCMS requests working, we now need to tell SharePoint to ignore or exclude MCMS paths from being consumed by the SharePoint ISAPI filter. There are two ways we can accomplish this:

  • Using the command-line utility Microsoft added to the MCMS Connector for SharePoint Technologies to automatically exclude all the MCMS channel paths.

  • Manually exclude the paths.

Let’s first take a look at the utility provided in the MCMS Connector. The excludeCMS.exe tool automatically adds the MCMS-relevant URLs (i.e. NR, MCMS, NRConfig, and top-level channels) to the SharePoint ISAPI filter’s exclude list. You’ll find this tool in the <install drive>\Program Files\MCMS 2002 Connector for SharePoint Technologies\WSS\bin\ directory after installing the MCMS Connector. Be aware that this tool will always exclude the top-level channels. If you have the Map Channel Names to Host Header Names feature of MCMS enabled, then the tool will not exclude the correct URLs. In this situation you should exclude the URLs manually using the steps outlined below.

The excludeCMS.exe utility will not add your MCMS template web application project to the exclude list. This is something you’ll need to do after running the tool.

The other method is to manually exclude the paths using the SharePoint administration site. Follow the instructions overleaf to exclude paths from the WSS ISAPI filters in a SharePoint extended virtual server:

  1. 1. Start the SharePoint Central Administration application at Start | All Programs | SharePoint Portal Server | SharePoint Central Administration.

  2. 2. Under the section Portal Site and Virtual Server Configuration, click the Configure virtual server settings from the Virtual Server List page link.

  3. 3. On the Virtual Server List page, select our virtual server by clicking the portal.tropicalgreen.net link.

  4. 4. On the Virtual Server Settings page, under the section Virtual Server Management click the Define managed paths link.

The Define Managed Paths page displays all included and excluded URL paths handled and ignored by the SharePoint ISAPI filter. Follow the steps below for each path you need to exclude from SharePoint’s ISAPI filter:

  1. 1. Enter the path in the Add a New Path textbox and select Excluded path as the type of path.

  2. 2. Repeat this for each of the following MCMS paths:

    • MCMS

    • NR

    • webctrl_client

    • www.tropicalgreen.net (this is our top-level channel)

    • tropicalgreen (this is our template web application)

All requests to destinations with any of the above first-level subdirectories in the URL (or subdirectories under them) will now be ignored by the SharePoint ISAPI filter and handed down to lower priority ISAPI filters. In this case, the MCMS ISAPI filters will receive such requests, and determine if the page or resource is managed by MCMS, and if not standard processing will take place.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image