Welcome to Office Zealot Sign in | Join | Help

Finding an SSP's Application GUID

I am writing a whitepaper on using the MOSS thesaurus and came upon an interesting problem.  One of the first challenges in using the thesaurus (XML) file with SharePoint is finding the right one to edit!  A collection of thesaurus and noise word files is created on the file system for each Shared Service Provider (SSP).  If you read any documentation on this process, you'll learn that you need to navigate to the appropriate Application GUID folder for your SSP.  This is straightforward if you only have one; with multiple SSP's, you are left to guess as to what GUID matches the proper SSP.  I don't like guessing!

In doing some quick research, I could find nothing that would map an Application GUID to an SSP.  The closest thing I found was here but even in this case it listed only the GUIDs. So... I needed to put my coding hat back on...

Take the code below, save it as a .vbs file, and run it on the web server at a command prompt (i.e. cscript SSP.vbs).  It gives you a list of your SSP's and associated Application GUIDs.  Now back to my writing...

Set objGatherAdmin = WScript.CreateObject("oSearch.GatherMgr.1")

For Each objApplication in objGatherAdmin.GatherApplications

       WScript.echo " "

       WScript.echo "SSP: " & objApplication.DisplayName & " Application GUID: " & objApplication.Name

Next

 

Published Thursday, July 24, 2008 2:20 AM by Mauro
Filed under: ,

Comments

Sunday, October 12, 2008 12:35 AM by Recent URLs tagged Thesaurus - Urlrecorder

# Recent URLs tagged Thesaurus - Urlrecorder

# STSADM Command Extensions for SharePoint (ApplyMaster Example) « Marc D Anderson’s Blog

Anonymous comments are disabled