SharePoint Federated Results

Here are some simple steps to get Federated search results to work in SharePoint 2010.  Its actually really simple, Kudos to the search team.  Note that this sets up a new Bing federated result, there is already one in there, but this walks you through setting up from scratch.

Enjoy!
Chris

Exercise 1 – Setup Federation

Purpose:         Learn to pull in outside search results (federation)
from Bing.

Result:           
Federated search results

Task 1 – Configure your Search Application

  1. Open SharePoint Central
    Administration
  2. Click “Application
    Management”
  3. Click “Manage service applications”
  4. Click “My Search Application”
  5. Click “Federated Locations”
  6. Click “New Location”

  1. For location name, type
    “Bing”
  2. For display name, type “Bing”
  3. For description type,
    federated results from Bing Search provider”
  4. For author, type “Microsoft”
  5. For version type “1.0.0.0”
  6. Leave the Trigger as “Always”
    • NOTE your options,
      prefix and pattern can be applied to the search keywords in deciding to
      send a query to the federated provider
  7. For location type, click
    “OpenSearch 1.0/1.1”
  8. For the query template, type http://www.bing.com/search?q={searchTerms}&format=rss
  9. Note your ability to modify
    the formatting of the results returned from the provider
  10. Note your ability to restrict
    the federated results at a site collection level
  11. Note your ability to set
    credentials for the federated provider
  12. Click “OK’

Task 2 – Set your Search Application

  1. Open Central Administration
  2. Click “Application
    Management”
  3. Click “Configure service
    application associations”
  4. Click “Default”
  5. Check “My Search Application”
  6. Click “Set as default”
  7. Click “OK”

Task 2 – Test your new federation provider

  1. Open your search center (http://servername:115)
  2. Run a search for “SharePoint”,
    you should get no federated results
  3. Click “Site settings->Edit
    Page”
  4. Find the “Top federated
    results” web part
  5. Click “Edit web part”

  1. Select “Bing”
  2. Click “OK”
  3. Run a search for “SharePoint”,
    you should get back a single federated result (the top one):

  1. Click “Site Actions->Edit
    Page”
    • NOTE: you may have to click back to the home page, run a search
      and then click “Site Actions->Edit Page”, there seems to be an issue
      with resending the same query in Beta
  2. Edit the Top Federated
    Results web part, expend “Display Properties”
  3. In “Results Per Page”, set it
    to 3
  4. Click “Ok”, rerun your
    search, you should now see the top 3 results:

Solution Validators – Sandboxed Solutions

So you read my last post and decided that maybe SandBoxed Solutions isn't that great of an idea.  You decided to implement a Solution Validator to limit what your ole developers are doing.

You got the validator created and you installed it, but then realized, its not quite right.  So, you undeploy it right?  Oh, wait, every object that goes in the Object hierarchy table has to have a "public" contructor for deserialization (ie, pulled out of the ConfigDB and turned into memory). Otherwise you get a nice error in Visual Studio and/or Central Admin and you won't be able to retract the solution.

Exception in RefreshCache. Exception message : "MySolutionValidator.MySolutionValidator cannot be deserialized because it does not have a public default constructor."

K, if you followed the little article up there, then you'll notice that particular piece is missing!  Now your stuck…how do you get it out?  Well, you gotta run a command against the config database: NOTE:  This is a highly dangerous operation, if you mess it up, your Farm gets deleted!

delete from Objects
where properties like '%MySolutionValidator%' –or to be more safe, the full assembly name

You could also run the following stsadm command provided you do the query to find the id in the Config database:

select id, properties from Objects
where properties like '%MySolutionValidator%'

STSADM -o deleteconfigurationobject -id “id retrieved from object table”

This will clear the object and the retract will succeed.  This will be the case for ANYTHING that goes into the object hierarchy table.

Chris

 

Missing Server Side Dependencies – 8d6034c4-a416-e535-281a-6b714894e1aa

So what is this you ask?  Well, I did a little digging, I watched the Timer Job and the query it sent ( to the content database of the central admin site):

SELECT tp_WebPartTypeId, COUNT(1), tp_Assembly, tp_Class
FROM AllWebParts (NOLOCK)
WHERE tp_WebPartTypeId IS NOT NULL GROUP BY tp_WebPartTypeId, tp_Assembly, tp_Class

You get back a result set that has a null for the tp_Assembly column for the web part. What is this web part you ask, well it is the Microsoft.Office.Server.Search.WebControls.SearchTopologyView web part
in the Microsoft.Office.Server.Search, Version=14.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c
assembly.

If you do a query to see where these 6 instance are:

select *
from AllWebParts
where tp_WebPartTypeId = '8D6034C4-A416-E535-281A-6B714894E1AA'

You will see that the web part exists on two pages:

  • SearchAdministration.aspx
  • SearchFarmDashboard.aspx

Open those pages, notice…It DOES exist!

Now, here is the funny thing – rerun the queries.  As soon as you open those pages, the databsae gets updated and the error will go away.  Weird!!!

Enjoy!
Chris

SharePoint 2010 User Profile Properties (SubType) – Error

When creating a custom User Profile Property, be sure to check the "Default User Profile Subtype" checkbox.  If you don't you won't see the property on the manage properties page and won't be able to get to it through the UI.

However, I figured a way to get to it…just paste in the browser (to get your appid just click on another property to edit, then change the name query string):

http://sharepoint2010:20974/_layouts/EditProperty.aspx?Name=[PROPRETYNAME]&IsSection=False&ProfileType=&ApplicationID=31948422%2D08be%2D4c84%2D8e9c%2D40d3bb10970f

And you will be able to get to it and check the checkbox

Another issue, when you click the "Add new mapping", if you don't select anything, it will add the "Select Attribute" to your mappings, this is obviously wrong and will not  make your ForeFront Sync happy.

Also note that after adding a  new property, your log will get several "Sync" errors for each site collection saying you don't have that property in the site!

[UPDATE] – In RTM, the checkbox will be checked by default…woohoo, now you just gotta hope the admins don't uncheck it!

Enjoy!
Chris

SharePoint 2010 BDC Error

Sooo, I have this lovely app def file, that uploads perfectly.  But when I go to use one of the entities in a list column, I get this interesting issue (notice that I don't get columns, but the first named TypeDescriptor):

 

Fair enough, I'll remove the wrapper from around my return
columns from the query. This USE to work in 2007 by the way:

<TypeDescriptor
TypeName="System.Data.IDataRecord, System.Data, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089"
Name="ProductDataRecord">
<TypeDescriptors>
….Column descriptors….
</TypeDescriptors>
</TypeDescriptor>

Re-upload, and whalla…it works like it did in 2007!

 

But, on adding an item with item resolution, you get this lovely error:

The root TypeDescriptor with Name 'Reader' belonging to Method with Name 'Find_Customers', of Entity with Name 'Customers' and Namespace 'Northwind' has a TypeName that is not assignable to System.Data.IDataReader or is not a Collection TypeDescriptor, which is necessary when using LobSystems of Type Database.

Fair enough, sooo, I go and change it in the app def file:

<TypeDescriptor TypeName="System.Data.IDataReader, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" IsCollection="true" Name="Reader">

And on upload, you get this lovely error:

ReturnTypeDescriptor of MethodInstance with Name 'Find_Customers_Instance' on
Entity (External Content Type) with Name 'Customers' in Namespace 'Northwind'
should not be a Collection TypeDescriptor for MethodInstances of Type
'SpecificFinder'

Oh yeah baby…a catch 22 loop!!!  Anyone? Bueller?  Bueller?

It just keeps getting better doesn't it???
Chris

 

Microsoft Forefront Protection 2010 for SharePoint Beta 2

Not alot of people actually installed antivirus software on their SharePoint 2007 environments.  The unfortunate thing is, only Microsoft had something that would actually plug in (as far as I know anyway and I did a lot of research).  The only solution has been ForeFront security (NOTE: this is NOT the same thing as ForeFront Identity).  If you are on SharePoint 2007, you should know that they released SP3 of ForeFront security a few months ago, I just now found out which really shows you how important it is in the community (ie, not very).  You should download and install the new SP3!

One piece of software that you should start out testing and considering for your 2010 environment is the Microsoft Forefront Protection 2010 for SharePoint Beta 2.  It is also available for download from here.

Chris

SharePoint 2010 web.config file changes

I took a look at the new SharePoint 2010 web.config file, and here are the changes I have found so far:

New sections include:

  • 3 new SharePoint sections:
  • WorkflowServices – new SharePoint based section
  • OutputCacheProfiles – basic asp.net section
  • ObjectCache – basic asp.net section
  • New Workflow section
  • authorizedRuleTypes

New sections groups:

  • "system.web.extensions" – this drives the AJAX funtionality
  • "microsoft.sharepoint.client" – this drives the WCF client proxies for service applications
  • "ReportingServices" – for Reporting service integration
  • "Bpm" – Performance Point section

 Safe controls added:

  • Too many to list here, but all are newer 14.0.0.0 assemblies for SharePoint 14

 A flurry of merge actions (for understanding a merge action check this other blog entry)

 For IIS 6.0 system.web section:

  • No HttpHandlers are configured.
  • CustomErrors is Off
  • No HttpModules are configued

Several new assemblies are complied:

  • System.Web.Extensions
  • Microsoft.Web.CommandUI
  • Microsoft.SharePoint.Search
  • Microsoft.Office.Access.Server.UI
  • Microsoft.SharePoint.Publishing

 New ExpressionBuilder added:

  • SatelliteResources

 New Build Provider added:

  • ".json"  

Controls section added by default now:

  • "asp" of System.Web.UI

 Default siteMap provider is now called "CurrentNavigation" (use to be CurrentNavSiteMapProvider).  Includes new providers:

  • ExtendedSearchXmlContentMapProvider
  • GlobalNavigation
  • CurrentNavigation
  • MySiteSubNavProvider

Removed the:

  • UsagePagesSiteMapProvider

New WebPart Transformers:

  • TransformableBIDataProviderToFilterValuesTransformer
  • TransformableBIDataProviderToWebPartParametersTransformer
  • TransformableBIDataProviderTransformer
  • TransformableFilterValuesToEntityInstancesTransformer

New Mobile Controls Section:

  • SPMobileHtmlDeviceAdapters
  • SPMobileChtmlDeviceAdapters
  • SPMobileXhtmlDeviceAdapters

SessionState is removed from the IIS 6.0 system.web section

FULL IIS 7.0 "system.webServer" section has been added

  • Modules removed
    • OutputCache
    • FormsAuthenciation
    • UrlAuthorization
    • WindowsAuthentication
    • RoleManager
    • Session 
  • Handlers removed
    • SPHttpHandler!!! – everything is done via the modules!

System.Workflow.ComponentModel.WorkflowCompiler

  • In SP2010, you cannot use a "While", "ConditionedActivityGroup" or a "Replicator" activity in SharePoint web applications.  They have set "Authorized" to "False"!!! – WHY?
  • Rather than all types in mscorlib, they have explicitly set it so you can only use
    • Guid
    • DateTime
    • Boolean
    • Double
    • String
    • Hashtable
    • ArrayList
    • DebuggableAttribute
    • ComplationRelaxationAttribute
    • RuntimeCompatibilityAttribute
    • Int32
    • TimeSpan
    • Generic Collections
  • New authorized types
    • SPItemKey
    • SPWorkflowUserContext
  • New assemblies
    • Microsoft.Office.Access.Server.Application
    • Microsoft.Office.Workflow.Actions

Four new location settings with a timeout of 3600ms:

  • _layouts/UploadEx.aspx
  • _layouts/ctdmsettings.aspx
  • _layouts/policyconfig.aspx
  • _layouts/metanavsettings.asxp

Two new location settings with webServices protocol clear:

  • _vti_bin/EwaInternalWebService.json
  • _vti_bin/DynamicGridContent.json

New location settings random:

  • _layouts/pptInsertPicture.aspx
  • _vti_bin/powerpointBroadcastHost.asmx
  • _vti_bin/powerpointBroadcastHost_1_0.asmx – what the heck is this for I wonder?
  • _vti_bin/present.asmx

Two new appSettings keys – why the hell these are here and not a config section is beyond me!

  • PptServer_Pipe
  • PptServer_BroadcastManager

Follow me on twitter!

SharePoint 2010 – Step by Step Install

NOTE:  This is an older version of the install.  If you want RTM steps, go here

From fresh hardware to full SharePoint 2010 dev install, everything you need is right here!  No Login required like some other sites!  Keep in mind these steps are NOT for production (you wouldn't run your site on beta software would you, even if you did, I hope you paid for it).  These steps will change at RTM.  Some things to note: 

1) install is using admin account (several of us just couldn't get ALL the features to work with separate service account in Beta)
2) we don't need loopback fix as all the sites are using specific ports instead of host headers.

Also, if you don't want to do a domain controller install, you could consider this route (http://bit.ly/4oAhpm), but my steps here may not work if you do.

Enjoy!
Chris

Follow me on twitter!

  1. Start
    Hyper-V Manager on a 64bit server
  2. Click
    “Action->New->Virtual Machine”
  3. For
    Name, type “sharepoint2010”
  4. Click
    “Next”
  5. For
    memory, type “6144”
  6. Click
    “Next”
  7. Select
    a local connection, click “Next”
    1. NOTE: 
      you will need internet access
  8. Select
    a location, ensure that the size is set to at least 127GB
  9. Click
    “Next”
  10. Click
    “Next”
  11. Click
    “Finish”
  12. Right
    click the virtual machine in Hyper-V, select “Settings”
  13. For
    the IDE Controller 1, specify the “Windows Server 2008” iso
    1. Click
      “Browse”
    2. Select
      the iso
    3. Click
      “Open”
  14. Click
    “Ok”
  15. Start
    the Virtual Machine
  16. Install
    Windows Server 2008
    1. Click
      “Next”
    2. Click
      “Install Now”
    3. Select
      “Windows Server 2008 Enterprise (Full Installation)”
    4. Click
      “Next”
    5. Click
      “I accept the license terms”
    6. Click
      “Next”
    7. Click
      “Custom (advanced”)
    8. Click
      “Next”, windows will install
    9. Click
      “Ok”
    10. For
      password, type “Pa$$w0rd”
    11. Type
      “Enter”
    12. Click
      “Ok”
  17. From Hyper-V
    Console, install “Integration Services”
    1. Click
      “Action->Insert Integration Services Setup Disk”
    2. Click
      “Install Hyper-V Integration Services” in the autoplay
    3. Click
      “Ok” to upgrade/install
    4. Click
      “Yes” to restart
  18. Login
    to the server as administrator
  19. Click
    “Start->All Programs->Windows Update”
  20. Click
    “Turn on now”
  21. Click
    “Install now” to install latest windows update software
  22. In the
    “Server Manager” window that opens:
    1. Click
      “Configure Remote Desktop”
    2. Click
      “Allow connections from computers running any version…”
    3. Click
      “OK”
    4. Click
      “OK”
    5. Click
      “Configure IE ESC”
    6. Click
      “Off” for both administrators and users
    7. Click
      “OK”
    8. Click
      “Go to Windows Firewall”
    9. Click
      “Windows Firewall properties”
    10. For
      domain, private, public, set the firewall status to “Off”
    11. Click
      “OK”
    12. Click
      “Add Features”
    13. Click
      “SMTP server”
    14. Click
      “Add Required Role Services”
    15. Click
      “Next”
    16. Click
      “Next”
    17. Click
      “Install”
    18. Click
      “Close”
  23. Run
    Windows Update, get all critical updates
    1. Click
      “Install Updates”, install all updates
    2. Click
      “Restart Now”
  24. Install
    Microsoft Update
  25. Run
    Microsoft update, install any updates
    1. Click
      “Restart Now”
  26. Install
    Server 2008 Service Pack 2 (if it didn’t get installed from Microsoft
    Update)
    1. Restart
      after install
  27. Click
    “Start”
  28. Right
    click “Computer”, select “Properties”
  29. Under
    computer name, click “Change settings”
  30. For
    description, type “sharepoint2010”
  31. Click
    “Change”
  32. Set
    the computer name to “sharepoint2010”
  33. Click
    “Ok”
  34. Restart
    the virtual machine
  35. Run Windows
    Update, get all critical updates
    1. Click
      “Install Updates”, install all updates
    2. Click
      “Restart Now”
  36. At this point, keep your image as a
    Windows Server 2008 base image! 
    1. Copy the base image sharepoint2010
      vhd, rename to server2008sp2base and put in a safe place!
  37. Open a
    command prompt, run dcpromo, setup a domain called “contoso.corp”
    1. Click
      “Next”
    2. Click
      “Next”
    3. Select
      “Create a new domain…”
    4. Click
      “Next”
    5. Enter
      contoso.corp, click “Next”
    6. Select
      “Windows Server 2008”, click “Next”
    7. Click
      “Next”
    8. Click
      “Yes, the computer will use…”
    9. Click
      “Yes”
    10. Click
      “Next”
    11. For
      password, type “Pa$$w0rd”
    12. Click
      “Next”
    13. Click
      “Next”, active directory will setup itself up
  38. Restart
    the machine after AD is finished
  39. At this point, keep your image as a
    Windows Server 2008 base image! 
    1. Copy the base image sharepoint2010
      vhd, rename to server2008sp2_AD and put in a safe place!
  40. Create
    the following domain users, set their password to “Pa$$w0rd” and that they
    can’t change the password and the password doesn’t expire.  
    1. Click
      “Start->Administrative Tools->Active Directory Users and Computers”
    2. Expand
      contoso.corp
    3. Select
      “Users”, right click and select “New->User”
    4. For
      name and user logon, type sp_system
    5. Click
      “Next”
    6. For
      Password, type “Pa$$w0rd”
    7. Uncheck
      “User must change…”
    8. Check
      “User cannot change password”
    9. Check
      “Password never expires”
    10. Click
      “Next”
    11. Click
      “Finish”
  1. Install
    SQL Server 2008 SP1 – If you don’t have slipstreamed sp1, install the
    setup files for SP1, then install sql 2008, then the full SP1 (but you may
    need the new Installer which is in the SQL 2008 base install/non-sp1).
    1. Insert
      the Server 2008 iso (with SP1)
    2. Click
      “installation”
    3. Click
      “New SQL Server standalone…”
    4. On “Setup
      Support Roles”, click “Ok”
    5. On “Setup
      Support Files”, click “Install”
    6. Click
      “Next”
    7. On
      product key, click “Next”
    8. Click
      “I accept the license terms”
    9. Click
      “Next”
    10. Check
      the following:

                                                             
i.     
Database Engine

                                                           
ii.     
SQL Server Replication

                                                         
iii.     
Full-Text Search

                                                         
iv.     
Analysis Services

                                                           
v.     
Reporting Services

                                                         
vi.     
Business Intelligence Development Studio

                                                       
vii.     
Client Tools Connectivity

                                                     
viii.     
Integration Services

                                                         
ix.     
Client Tools Backward Compatibility

                                                           
x.     
Management Tools – Basic

                                                         
xi.     
Management Tools – Complete

                                                       
xii.     
Microsoft Sync Framework

    1. Click
      “Next”
    2. Click
      “Next”
    3. On
      “Disk Space”, click “Next”
    4. For
      all accounts, type “contosoadministrator” and “Pa$$w0rd” for password
    5. Click
      “Next”
    6. Click
      “Mixed Mode” authentication radio button
    7. For
      password, type “Pa$$w0rd”
    8. Click
      “Add Current User”
    9. Click
      “Next”
    10. Click
      “Add Current User”
    11. Click
      “Next”
    12. On
      report Services, click “Install, but do not configure…” radio button
    13. Click
      “Next”
    14. Click
      “Next”
    15. Click
      “Next”
    16. Click
      “Install”
    17. Click
      “Next”
    18.  Click “Close”
  1. Install
    the 2008 SP1 CU2
    1. http://support.microsoft.com/kb/970315
    2. Open SQL Management Studio, make sure
      your version is 10.00.2714 or later!
  2. Open
    SQL Server Management Studio, this is for the initial setup process to run
  3. Open the SQL configuration manager
    Click “Start->All programs->Microsoft SQL Server 2008->Configuration Tools->Sql Server Configuration manager
    1. Expand “SQL Server Network Configuration->Protocols for MSSQLSERVER”
    2. Enable:
      1. Named Pipes
      2. TCP/IP
    3. Restart the sql service
  4. Install/attach
    the demo databases (Northwind, pubs, adventureworks2000,
    adventureworksDW).  These can be
    downloaded or installed from the instructor dvd.
    1. Northwind
      and Pubs (http://www.microsoft.com/downloads/details.aspx?FamilyID=06616212-0356-46A0-8DA2-EEBC53A68034&displaylang=en)

                                                             
i.     
Run Sql2000SampleDb.msi

                                                           
ii.     
Open c:sql server 2000 sample databasesinstnwnd.sql

                                                         
iii.     
Run on sharepoint2007

                                                         
iv.     
Open c:sql server 2000 sample databasesinstpubs.sql

                                                           
v.     
Run on sharepoint2007

                                                         
vi.     
Delete the c:sql server 2000 sample databases
directory

    1. AdventureWorks
      2000 (http://www.microsoft.com/downloads/details.aspx?familyid=487c9c23-2356-436e-94a8-2bfb66f0abdc&displaylang=en)

                                                             
i.     
Run AdventureWorks2000.exe

                                                           
ii.     
Click, no at the .net 1.0/1.1 framework install

                                                         
iii.     
Open Sql Server management studio

                                                         
iv.     
Connect to sharepoint 2007

                                                           
v.     
Right click databases, select attach

                                                         
vi.     
Click Add, Browse to c:program filesmicrosoft sql
servermssqldataadventureworks2000_data.mdf

                                                       
vii.     
Click Ok

    1. AdventureWorksDW
      (http://codeplex.com/SqlServerSamples)

                                                             
i.     
Find and download, run AdventureWorksDBScripts.msi

                                                           
ii.     
Open c:program filesmicrosoft sql
server100 oolsSamplesadventureworks data warehouseinstawdb.sql

                                                         
iii.     
Run on sharepoint2007 (make sure you don’t get any
errors, if you do fix them – likely need to copy the .csv files to a directory)

                                                         
iv.     
Open c:program filesmicrosoft sql
server100 oolsSamplesadventureworks OLTPinstawdb.sql

                                                           
v.     
Run on sharepoint2007 (make sure you don’t get any
errors, if you do fix them – likely need to copy the .csv files and rename the
.mdf and .ldf to install the database)

  1. Run Windows
    Update, get all critical updates
    1. Click
      on all available updates
    2. Click
      “Ok”
    3. Click
      “Install Updates”
    4. Click
      “Restart Now”
  2. At this point, keep your image as a
    base image! 
    1. Copy the base image sharepoint2010 vhd,
      rename to server2008sp2_sql2008sp1_cu and put in a safe place!
  3. Install
    “Office 2010”
    1. Click
      “I accept the terms…” check box
    2. Click
      “Continue”
    3. Click
      “Install Now”
    4. Click
      “Close”
    5. Open
      “Word 2010”
    6. Click
      “Use recommended settings”
    7. Click
      “Ok”
  4. Open
    Office Word 2010 to setup the initial settings
  5. Install
    “Visio 2010”
    1. Enter
      your product key
    2. Click
      “Continue”
    3. Click
      “I accept the terms…” check box
    4. Click
      “Continue”
    5. Click
      “Install Now”
    6. Click
      “Close”
  6. Install
    “Microsoft SharePoint Designer 2010”
    1. Click
      “I accept the terms…” check box
    2. Click
      “Continue”
    3. Click
      “Install Now”
    4. Click
      “Close”
  7. Install
    “Visual Studio 2010”
    1. Insert
      the iso into the image
    2. Click
      “Install Visual Studio 2010”
    3. Click
      “Next”
    4. Click
      “I have read and accept…”
    5. Click
      “Next”
    6. Click
      “Full”
    7. Click
      “Install”
    8. When/if
      prompted, restart, the install will start up again when rebooted
    9. When/if
      prompted, restart, the install will start up again when rebooted
    10. Click
      “Finish”, close the intaller
  8. Open “Visual
    Studio 2010”, select c# development settings
    1. Turn
      off customer improvement program
    2. Close
      Visual Studio 2010
  9. Install
    “FireFox” browser
    1. Download
      from http://www.firefox.com
  10. Install
    “Google Chrome” browser
    1. Download
      from http://www.google.com/chrome
  11. Install
    “Apple Safari” browser
    1. Download
      from http://www.apple.com/safari/
  12. Install
    “Enterprise Library 4.1”
    1. http://www.microsoft.com/downloads/details.aspx?FamilyId=1643758B-2986-47F7-B529-3E41584B6CE5&displaylang=en
    2. Click
      “I accept the terms…”
    3. Click
      “Next”
    4. Click
      “Next”
    5. Click
      “Next”
    6. Click
      “Install”
    7. Click
      “Launch” to install the source and working copy files
    8. Click
      “Finish”
  13. Apply WCF
    patch
    1. Download
      and install (http://support.microsoft.com/kb/971831)
  14. At this point, keep your image as a
    base image!
    1. Copy the base image sharepoint2010
      vhd, rename to server2008sp2_sql2008sp1_cu_vs2010 and put in a safe
      place!
  15. Install
    “SharePoint 2010” Prereqs
    1. NOTE: (BE SURE YOU ARE LOGGED IN AS
      CONTOSOADMINISTATOR)
    2. Insert
      the DVD/start the install
    3. Click
      “Install Prerequisites”

                                                             
i.     
NOTE: this
step will require internet access!

    1. Click
      “Next”
    2. Click
      “I accept the terms…”
    3. Click
      “Next”

                                                             
i.     
All pre-reqs will be downloaded and installed (this
could take 45 minutes)

                                                           
ii.     
Even on Server 2008, your setup may download SP2 for
Server 2008 and install, if it does, a reboot will be required.  After reboot, continue the install via the
prompts

                                                         
iii.     
Install will continue by installing application server
role and the other prereqs

  1. Install
    “SharePoint 2010” product
    1. Click
      “Install SharePoint Server”
    2. Enter
      your trial product key

                                                             
i.     
PKXTJ-DCM9D-6MM3V-G86P8-MJ8CY

    1. Click
      “Continue”
    2. Click
      “I accept…”
    3. Click
      “Server Farm”
    4. Select
      “Complete…”
    5. Click
      “Install Now”
    6. Click
      “Close”  (uncheck the run
      configuration wizard)

  1. Ensure proper permissions are
    setup (these steps will fix the CryptographicException error):

    1. Right click on the
      folder ('%CommonProgramFiles%Microsoft SharedWeb Server Extensions14),
      select “Properties”
    2. Select “Security” tab
    3. Click “Edit”
    4. Click “Add”
    5. For the user type
      “Network Service”
    6. Click “OK”
    7. Grant the user Full
      Control
    8. Click “OK”
    9. Click “OK”
  1. At this point, keep your image as a
    base image! 
    1. Copy the base image sharepoint2010
      vhd, rename to server2008sp2_sql2008sp1_cu_vs2010_NoConfigure and put in
      a safe place!
  2. Run
    SharePoint Configuration Wizard
    1. Click
      “Start->All Programs->Microsoft SharePoint 2010
      products->SharePoint 2010 Products Configuration Wizard”
    2. Click
      “Next”
    3. In
      the popup, click “Yes”
    4. Select
      “Create a new server farm”
    5. Click
      “Next”
    6. For
      database server, type “SharePoint2010”
    7. For
      username, type “contosoadministrator”
    8. For
      password, type “Pa$$w0rd”
    9. Click
      “Next”
    10. For
      passphrase, type “Pa$$w0rd”
    11. Click
      “Next”
    12. Click
      “Next”,
    13. Click
      “Next”, SharePoint 2010 will Configure itself
    14. Click
      the radio button to participate in the feedback program, we gotta make SharePoint
      better right?!?
    15. Click
      “Walk me through the settings using this Wizard” radio button
    16. Click
      “Next”
    17. Click
      “Use existing managed account”
    18. Click
      “Next”, all your services will be created, this will take a few minutes
    19. Click
      “Skip”
    20. Click
      “Finish”
  3. Add a
    farm administrator
    1. Click
      “Security”
    2. Click
      “manage farm administrators group”
    3. Click
      “New->Add Users”
    4. Type
      contososp_system
    5. Click
      “Ok”
  4. Open
    the SharePoint Central Administration site and setup Diagnostic Logging
    1. Click
      “Monitoring”
    2. Under
      “Reporting”, click “Configure usage and health data collection”
    3. Ensure
      that “Enable usage data collection” is clicked
    4. Ensure
      that “Enable health data collection” is clicked
    5. Click
      “Ok”
  5. Open
    the SharePoint Central Administration site and setup Outgoing Email
    1. Click
      “System Settings”
    2. Click
      “Configure out-going email Settings”
    3. For
      outbound smtp, type “sharepoint2010”
    4. For
      from address, type “sharepoint@contoso.corp”
    5. For
      reply address, type sharepoint@contoso.corp
    6. Click
      “Ok”
  6. Start
    the “SharePoint Web Services” application pool
    1. Open
      IIS Manager
    2. Ensure
      that the “SharePoint Web Service” application pool is started
  7. Start
    services on a server
    1. Open
      “Central Administration”
    2. Click
      “System Settings”
    3. Click
      “Manage services on server”
    4. Start
      all services, except for “Lotus Notes Connector”

                                                             
i.     
NOTE: Install “Document Conversions Load balancer”
before you start the launcher service, select “servername” when setting up the
launcher service.

                                                           
ii.     
For Foundation Search, use the following settings:

1.      For
Username type, “contosoadministrator”

2.      For
password, type “Pa$$w0rd

3.      For
content access account type “contosoadminsitrator”

4.      For
password, type “Pa$$w0rd”

5.      Click
“Start”

                                                         
iii.     
For “User Profile Synchronization Service”

1.      Click
“Start”

2.      Select
the only “User Profile Service Application”

3.      Click
“OK”

4.      Wait
for the status of the job to change to “Started”

  1. Ensure
    Windows Services have started
    1. Open
      the Services Applet
    2. Ensure
      these two service eventually start

                                                             
i.     
ForeFront Identity Manager Service

                                                           
ii.     
ForeFront Identity manager Synchronization Service

  1. Run an
    IISRESET
  2. Configure
    the User Profile service
    1. Click
      “Application Management”
    2. Click
      “Manage service applications”
    3. Click
      “User Profile Service Application”
    4. Click
      “Manage” in the Ribbon
    5. Click
      “Configure Synchronization Connections”
    6. Click
      “Create new connection”
    7. For
      connection name, type “Contoso.corp”
    8. For
      forest name, type “contoso.corp”
    9. For
      account name, type “contosoadministrator”
    10. For
      password, type “Pa$$w0rd”
    11. Click
      “Populate Containers”

                                                             
i.     
NOTE:  if you get
an error, change the browser settings to IE7.0

    1. Expand
      “Contoso”
    2. Select
      “Users”
    3. Click
      “Ok”
  1. Install
    “Office Web Applications”
    1. Type
      your key
    2. Click
      “I accept the terms…”
    3. Click
      “Continue”
    4. Click
      “Install Now”
    5. Click
      “Close”, leave the checkbox checked
    6. Click
      “Next”
    7. Click
      “Yes”
    8. Click
      “Next”
    9. Click
      “Next”
    10. Click
      “Finish”
  2. Create
    Office Web Applications service applications
    1. Open
      Central Administration
    2. Click
      “Application management”
    3. Click
      “Manage service applications”
    4. Click
      “New->PowerPoint Service Application”
    5. For
      name, type “PowerPoint Service”
    6. For
      pool name, type “PPTPool”
    7. Click
      “OK”
    8. Click
      New->Word Viewing Service”
    9. For
      name, type “Word Viewing Service”
    10. For
      application pool type “WordViewingPool”
    11. Click
      “OK”
    12. On
      the service applications page, click “PowerPoint Service Application”
    13. Click
      “new site collection”
    14. For
      title, type “PPT Broadcast”
    15. For
      the url, in the dropdown select “sites”
    16. For
      the url textbox, type “PPTBroadcast”
    17. For
      template, click “Enterprise”, select “PowerPoint Broadcast Site”
    18. For
      site collection admin, type “administrator”
    19. Click
      “OK”
    20. Click
      “System Settings”
    21. Click
      “Manage services on server”
    22. Click
      “Start” for:

                                                             
i.     
PowerPoint Service

                                                           
ii.     
Word Viewing Service

  1. Open
    SharePoint PowerShell, run the following commands:
    1. Click
      Start->Programs->Microsoft SharePoint 2010 Products->SharePoint
      2010 Mangaement Shell
    2. Run the
      following commands:


$acl = Get-Acl HKLM:SystemCurrentControlSetControlComputerName

$person =
[System.Security.Principal.NTAccount]"Users"

$access =
[System.Security.AccessControl.RegistryRights]::FullControl

$inheritance =
[System.Security.AccessControl.InheritanceFlags]"ContainerInherit,
ObjectInherit"

$propagation =
[System.Security.AccessControl.PropagationFlags]::None

$type =
[System.Security.AccessControl.AccessControlType]::Allow

$rule = New-Object System.Security.AccessControl.RegistryAccessRule($person,
$access, $inheritance, $propagation, $type)

$acl.AddAccessRule($rule)

Set-Acl
HKLM:SystemCurrentControlSetControlComputerName $acl

 

 

$e = Get-SPServiceApplication | where
{$_.TypeName.Equals("Word Viewing Service Application")}

$e.WordServerIsSandboxed = $false

$e.WordServerIsSandboxed

 

$p = Get-SPServiceApplication | where
{$_.TypeName.Equals("PowerPoint Service Application")}

$p.EnableSandboxedViewing = $false

$p.EnableSandboxedEditing = $false

 

 

  1. Open
    c:windowssystem32inetsrvconfigapplicationHost.config file. Add the
    line below in the end of the dynamicTypes:


<add mimeType="application/zip" enabled="false" />

 

a.      
Run IISRESET

  1. Download
    and install the Data Service 1.5 CTP
    1. http://www.microsoft.com/downloads/details.aspx?FamilyID=a71060eb-454e-4475-81a6-e9552b1034fc&displaylang=en#filelist
  2. Download
    and install Fiddler
    1. www.fiddler2.com

80.  Install
Desktop Experience

a.      
Open the “Server Manager”

b.     
Click “Add Feature”

c.      
Check the following:

                                                             
i.     
Desktop experience

d.     
Click “Next”

e.      
Click “Install”

81.  Download
and install Microsoft SilverLight

82.  Download
and install Microsoft Identity Framework

a.      
http://msdn.microsoft.com/en-us/evalcenter/dd440951.aspx

83.  Download
and install Microsoft Identity Framework SDK

    1. http://www.microsoft.com/downloads/details.aspx?familyid=C148B2DF-C7AF-46BB-9162-2C9422208504&displaylang=en
  1. Create the “Team Site”
    1. Click “Application
      Management”
    2. Click “Manage Web
      Applications”
    3. In the Ribbon, click
      “New”
    4. Ensure that ”Classic
      Mode Authentication” is enabled
    5. For Port, type “100”
    6. Under Application
      Pool, Select Create new Application Pool
    7. For Name, type
      “SharePoint – ALL”
    8. For security account,
      select “contosoadministrator”
    9. For the database name,
      change to “wss_content_100”
    10. Click “Ok”, your web
      application is being created:

                                                             
i.     
NOTE: In
Production, you should always type a meaningful name for your content
databases!

    1. Click the “Create Site
      Collection” Link
    2. For Title, type “My
      Team Site”
    3. For Template, Under
      Collaboration select Team Site
    4. For Primary Site
      Collection administrator, type “Administrator”
    5. Click “Ok”
  1. Create the “Portal Site”
    1. Click “Application
      Management”
    2. Click “Manage Web
      Applications”
    3. In the Ribbon, click
      “New”
    4. Ensure that ”Classic
      Mode Authentication” is enabled
    5. For Port, type “112”
    6. Under Application
      Pool, Select “Use Existing Application Pool”
    7. For Name, type
      “SharePoint – ALL”
    8. For the database name,
      change to “wss_content_112”
    9. Click “Ok”, your web
      application is being created:
    10. Click the “Create Site
      Collection” Link
    11. For Title, type “My
      Portal Site”
    12. For Template, Under “Publishing”
      select “Publishing Site”
    13. For Primary Site
      Collection administrator, type “Administrator”
    14. Click “Ok”
  2. Make
    the quicklaunch bar horizontal and add the following items to quicklaunch
    (you can do this by navigating to the respective program icon in the start
    menu, right click, Add To Quick Launch)
    1. SharePoint
      Designer 2010
    2. Visio
      2010
    3. Visual
      Studio 2010
    4. SQL
      Server Management Studio
    5. Visual
      Studio Command Prompt

                                                             
i.     
Available under start->Microsoft Visual Studio
2010->Visual Studio Tools->Visual Studio Command Prompt

    1. A
      Shortcut to the 14 hive
    2. Enterprise library
      console
    3. Services
      Applet

                                                             
i.     
Available under Start->Administrative
Tools->Services

    1. IIS
      Manager

                                                             
i.     
Available under Start->Administrative
Tools->Internet Information Services (IIS) Manager

    1. SharePoint
      Central Administration Console

                                                             
i.     
Available under Start->Programs->Microsoft
SharePoint 2010 Products->SharePoint 2010 Central Administration

    1. SharePoint
      2010 management Shell

                                                             
i.     
Available under Start->Programs->Microsoft
SharePoint 2010 Products->SharePoint 2010 Management Shell

  1. Add C:Program
    FilesCommon FilesMicrosoft Sharedweb server extensions14BIN to the
    Path variable
    1. Right
      click My Computer, select “Properties”
    2. Click
      “Advanced system settings”
    3. Click
      “Environment variables”
    4. Under
      system variables section, click path, click Edit
    5. Go
      to the end of the string append, “;C:Program FilesCommon
      FilesMicrosoft Sharedweb server extensions14BIN”
  2. Uninstall
    bad programs
    1. Click
      Start->Control Panel
    2. Click
      “Programs and features”
    3. Uninstall
      “Visual Studio 2010 Beta 2 Tools for SQL Server Compact ENU”
    4. Uninstall
      “Microsoft SQL Server Compact *”
    5. Restart
      the machine
    6. Install
      SQL Server CE x86
    7. Install
      SQL Server CE x64
    8. Install
      SQL Server CE Server Tools x64
    9. Reboot
      your machine

My FAST Search Install step by step is here

FAST Search for SharePoint – Step by Step Install

By popular demand, here is the FAST Search step by step install steps!  If you like it, add me to twitter http://twitter.com/givenscj

Enjoy!
Chris

Task 1 – Setup FAST Search Center         

  1. Open SharePoint Central
    Administration
  2. Click “Application
    Management”
  3. Click “Create Site
    Collection”
  4. Select the web application
    called “SharePoint –115”
  5. For site name, type “FAST
    Search”
  6. For url, type FAST
  7. For template, select
    “Enterprise->FAST Search Center”
  8. For site collection admin,
    type “Administrator”
  9. Click “Create”

Task 2 – Install FAST
Search

  1. Run the following command to
    extract the files (beta installer doesn’t work quite right)
    • D:Lab
      Work<labno> en_fast_search_server_sharepoint_2010_beta_x64_x16-29476
      /extract:c: emp
  2. Run “C: empPrerequistieInstaller”
  3. The splash screen will open:

  1. Click “Next”
  2. The prereqs for FAST Search
    will be installed

  1. Click “Finish”
  2. Run “fsserver”
    • This will create a new
      directory called “C:FASTSearch”
  3. Click “Start”, right click
    “Computer”, select “Properties”
  4. Click “Advanced System
    Settings”
  5. Click “Environment Variables”
  6. Add the following to your
    path variable
    • “C:FASTSearchinstallerscripts”
  7. Run the SharePoint 2010
    Management Shell
  8. Run the following:
    • Psconfig.ps1 –action i
      –roleName single –userName contosoadministrator –localMachineName <FQDNservername>
      -databaseConnectionString <dbservername> –databaseName FASTSearch
  9. Enter the password,
    “Pa$$w0rd”
  10. For self signed password,
    type “Pa$$w0rd”
  11. Reboot the computer
  12. Run the following command:
    • ConfigureSharePointAuthorization
      –installedMode Advanced

Task 3 – Start
Services

  1. Open the services applet,
    ensure the following are started:
    • All “FAST*”
    • Forefront*
    • SharePoint Server
      Search 14
    • SharePoint Foundation
      Search V4

Task 4 – Setup FAST
Search Query Service

  1. Open SharePoint Central
    Administration
  2. Click “Application Management”
  3. Click “Manage service
    applications”
  4. Click “New->Search
    Service”
  5. For name, type “FAST Search
    Query”
  6. For the type, select “FAST
    Search Query”
  7. For the application pool for
    admin server, type “FASTSearchAdminPool”
  8. For the application pool for
    search query and site settings”, type “FASTSearchQueryPool”
  9. For Query Service Location,
    type “https://sharepoint2010.contoso.corp:13286”
  10. For Administration Service
    Location, type “net.tcp://sharepoint2010.contoso.corp:13256”
  11. For Resource Store Location,
    type “http://sharepoint2010.contoso.corp:13255”
    • NOTE: these port
      numbers are in the “C:FASTSearchInstall_Info.txt” file – minus the
      actual protocol data unfortunately
  12. For account, type
    “contosoadministrator”
  13. Click “Ok”
  14. Click “Application
    Management”
  15. Click “Manage service
    applications”
  16. Click “New->Search
    Service”
  17. For name, type “FAST Search
    Connector”
  18. For type, select “FAST Search
    Connector”
  19. For application pool, type
    “FASTConnectorPool”
  20. For content distributor, type
    “sp2010.contoso.com:13329”
  21. For the content collection,
    type “sp”
    • NOTE:  the content collection “sp” is the
      default one created by the install and configuration steps
  22. Click “OK”

Task 5 – Setup
Certificate

  1. Open a SharePoint 2010
    Management Console
  2. Run the following commands
    (be sure to replace the two bolded items with your server and application
    name): 


$currentdir = pwd
$sharepointSTSCertFilename = Join-Path -Path $currentdir -ChildPath 'MOSS_STS.cer'
$fastsearchqrserver = 'fs14qrserver.mydomain.com'
$fastSSAName = 'FASTSearchServiceApplication'
 
$stsCert = (Get-SPSecurityTokenService).LocalLoginProvider.SigningCertificate
$stsCert.Export("cert") | Set-Content -encoding byte $sharepointSTSCertFilename
 
$queryServiceLocationValue = "http://" + $fastsearchqrserver + ":13287"
Set-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName -Identity "FASTSearchQueryServiceLocation" -Value $queryServiceLocationValue
Set-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName -Identity "FASTSearchQueryServiceWinAuth" -Value false
Get-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName
IISReset


Open a FAST Search Management
Console

  1. Run the following commands
    (be sure to replace the path to the certificate):


$sharepointSTSCertFilename = 'FULLPATH_TO_MOSS_STS.cer'
 
# Import SharePoint Security Token Service Certificate
$trustedPeopleCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('TrustedPeople', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$trustedPeopleCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$sharepointSTSCert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
$sharepointSTSCert.Import($sharepointSTSCertFilename)
$trustedPeopleCertStore.Add($sharepointSTSCert)
$trustedPeopleCertStore.Close()
 
# Configure FAST Search Server to trust SharePoint Security Token Service certificate
Set-FASTSearchQRProxyMOSSConfiguration -STSThumbprint $sharepointSTSCert.Thumbprint -RestartServices true

  1. Open the C:FASTSearchinQRProxyService.exe.config
  2. Uncomment the following line
    that starts with:

<!--<binding
name="HTTP_CLAIMS_INSECURE">...

  1. Enable HTTPS searching by
    running the following commands

#HTTPs – EXPORT CERT

$currentdir = pwd
$sharepointSTSCertFilename = Join-Path -Path $currentdir -ChildPath 'MOSS_STS.cer'
$fastsearchqrserver = 'sharepoint2010.contoso.corp'
$fastSSAName = 'FAST Search Query'
$sharepointServicesCertFilename = Join-Path -Path $currentdir -ChildPath 'MOSS_SERVICES.pfx'
$sharepointServicesCertPassphrase = $host.ui.PromptForCredential("Need Credentials", "Please enter a passphrase for the SharePoint Services Cert", "CERT_PASSPHRASE", "")
$tempStringValue = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($sharepointServicesCertPassphrase.Password)
$plainTextPassPhrase = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($tempStringValue)
$stsCert = (Get-SPSecurityTokenService).LocalLoginProvider.SigningCertificate
$stsCert.Export("cert") | Set-Content -encoding byte $sharepointSTSCertFilename
$sharePointCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('SharePoint', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$sharePointCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadOnly)
$servicesCert = $sharePointCertStore.Certificates.Find([System.Security.Cryptography.X509Certificates.X509FindType]::FindBySubjectName,'SharePoint Services', $false)
$servicesCert.Export("pfx", $plainTextPassPhrase) | Set-Content -encoding byte $sharepointServicesCertFilename
$servicesCert2 = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
$servicesCert2.Import($sharepointServicesCertFilename, $plainTextPassPhrase, [System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::DefaultKeySet)
$trustedPeopleCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('TrustedPeople', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$trustedPeopleCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$trustedPeopleCertStore.Add($servicesCert2)
$trustedPeopleCertStore.Close()
 
$queryServiceLocationValue = "https://" + $fastsearchqrserver + ":13286"
Set-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName -Identity "FASTSearchQueryServiceLocation" -Value $queryServiceLocationValue
Set-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName -Identity "FASTSearchQueryServiceWinAuth" -Value false
Get-SPEnterpriseSearchExtendedQueryProperty -SearchApplication $fastSSAName
IISReset

#HTTPS – IMPORT CERT

$sharepointSTSCertFilename = 'c:usersadministratorMOSS_STS.cer'
$sharepointServicesCertFilename = 'c:usersadministratorMOSS_SERVICES.pfx'
$sharepointServicesCertPassphrase = $host.ui.PromptForCredential("Need Credentials", "Please enter the passphrase for the SharePoint Services Cert", "CERT_PASSPHRASE", "")
$tempStringValue = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($sharepointServicesCertPassphrase.Password)
$plainTextPassPhrase = [System.Runtime.InteropServices.Marshal]::PtrToStringAuto($tempStringValue)

# Import SharePoint Security Token Service Certificate
Add-PSSnapin Microsoft.FASTSearch.Powershell
$trustedPeopleCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('TrustedPeople', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$trustedPeopleCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$sharepointSTSCert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
$sharepointSTSCert.Import($sharepointSTSCertFilename)
$trustedPeopleCertStore.Add($sharepointSTSCert)

# Import SharePoint Security Token Service Certificate
$trustedPeopleCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('TrustedPeople', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$trustedPeopleCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$sharepointSTSCert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
$sharepointSTSCert.Import($sharepointSTSCertFilename)
$trustedPeopleCertStore.Add($sharepointSTSCert)
$trustedPeopleCertStore.Close()
 
# Import SharePoint Services Certificate
$sharepointServicesCert = new-object System.Security.Cryptography.X509Certificates.X509Certificate2
$sharepointServicesCert.Import($sharepointServicesCertFilename, $plainTextPassPhrase, [System.Security.Cryptography.X509Certificates.X509KeyStorageFlags]::DefaultKeySet)
$personalCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('My', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$personalCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$personalCertStore.Add($sharepointServicesCert)
$personalCertStore.Close()
$rootCertStore = new-object System.Security.Cryptography.X509Certificates.X509Store('Root', [System.Security.Cryptography.X509Certificates.StoreLocation]::LocalMachine)
$rootCertStore.Open([System.Security.Cryptography.X509Certificates.OpenFlags]::ReadWrite)
$rootCertStore.Add($sharepointServicesCert)
$rootCertStore.Close()
 
# Configure FAST Search to trust SharePoint Security Token Service Certificate
Set-FASTSearchQRProxyMOSSConfiguration -STSThumbprint $sharepointSTSCert.Thumbprint -RestartServices true
$sharepointServicesCertThumbprint = $sharepointServicesCert.Thumbprint
netsh http add sslcert ipport=0.0.0.0:13286 certhash=$sharepointServicesCertThumbprint 'appid={a5455c78-6489-4e13-b395-47fbdee0e7e6}'

Task 6 – Re-index content

  1. Open SharePoint Central
    Administration
  2. Click “Application
    Management”
  3. Click “Manage service
    applications”
  4. Click “FAST Connector”
  5. Click “Content Sources”
  6. Click “New Content Source”
  7. For name, “SharePoint Sites”
  8. For start address, type http://servername:100
  9. Check the “Start full crawl
    of this content source”
  10. Click “OK”
  11. Wait for the crawl to finish

 Task 7 – Test FAST
Search

  1. Open the http://servername:115
    site
  2. Type in and run a query