Monday, August 29, 2011

Resolving FAST Document conversion Failed error

After installing and configuring Microsoft FAST Search server, uploaded a bunch of word, pdf documents and images for crawling and indexing. Fingers crossed and waited till the Full crawl is completed in Crawl history page. Logs said that the documents were crawled successfully and ready to be queried from FAST index.

I was able to search a PDF document based on its metadata but not based on its inner content. Basic instinct goes for installing a PDF iFilters but the server behaviour is same even for Microsoft Office file formats and Jie Li's blog states that FAST comes with PDF iFilters in-built.

Tried using the DocPush from FAST toolbox as an exercise of isolating SharePoint from FAST,

docpush -c sp c:\test.doc

Docpush clearly provided me the error message "WARNING Document conversion Failed (Warning code 0)". Verified the FAST crawl logs and found the same error message there for Office file formats and PDF documents.

To resolve this you need to provide "Full Control" rights for FAST service account to folders C:\FastSearch\bin and C:\FastSearch\Tmp

Refer : KB2554579

How to open Microsoft FAST QR Server FQL console ?

         Microsoft FAST search server hosts a QR Server FQL Search console which allows us to make FQL queries from this page. This web application is hosted in port 13280. So, to access this application go to your FAST search server, open up the browser and hit http://localhost:13280

          As an interesting fact this web application is not hosted within IIS 7.0/7.5, so even stopping the IIS or World Wide Web Publishing services will not have any effect on this web application. This is a CGI application  hosted in service "FAST Search for SharePoint". Some pieces of  FAST Server is not yet fully transformed to Microsoft stack.So ensure that this service is running under services.msc console.

Saturday, August 27, 2011

Host name validation failed - FAST search 2010 for SharePoint

While setting up a virtualized FAST search server in my local machine with the help of Hyper-V, post installation of FAST Search server ran the post setup configuration wizard. At one step it asked for the Server name where you want to configure, tried with many permutations and combinations but every thing ended up in a single error message box "Host name Failed" and there is not even a sample string or a help text there.

Bounced back to the documentation which spells that we should provide fully qualified domain name(FQDN) of the machine.Wizards are meant to simplify the process of configuring the servers, at-least a help text or an help button is required here.

Looks silly once the issue is resolved, still posting a screen scrap which will help another FAST explorer in dark to identify a FQDN in a server.


Friday, August 19, 2011

Designing a video Streaming Portal - Part 1

The core idea is to build a video streaming portal which leverages SharePoint assets and also ensure that the solution is not burning our pockets. This solution will be totally based  on Free software or the software which the cost was already included with operating system license and with bare minimal code.

Software involved:

Implementation

Windows Media Streaming Services
          Deploy and enable Windows Media Streaming services in a Windows Server 2008. This service is capable of streaming video files in MMS or HTTP protocol, depends upon the client which is requesting. If the request is raised from Windows Media player then the server switches to MMS protocol, for any other clients it'll be HTTP protocol. This is called as Protocol roll-over.
          Windows Media Streaming services support WMV,WMA,asx and wsx file formats.Among this asx and wsx are play list format. So convert your videos to WMV videos.If your video library is full of FLV and flash files then its worth taking a look IIS Media Services.
            Map the video folder to appropriate publishing points, this will give you a unique end point to each and every media file. If you've enabled HTTP protocol then this will create a web application in IIS default port 80. It is recommended to expose HTTP protocol along with MMS protocol because MMS is compatible only with Media player client.If you are planning to build your own streaming client then your ideal end point would be HTTP.

SharePoint Foundation 2010
           Create a custom list and add columns Title, description, endpoint and comments. If you want to capture more metadata about the media asset, pile up here. Populate the list with the list of publishing points which are exposed by Windows media streaming services. It gives a chance of automation but for the sake of simplicity we are populating it manually.
           Develop a web part which lists all entries in this list on a left pane and Windows Media player ActiveX control on right pane. Whenever the user selects a video on left pane, modify the url property of ActiveX control and start playing. Let the ActiveX control do all heavy lifting for us.

SharePoint Search Server Express 2010
             SharePoint Search server express is good enough for small organization to start with and to get a flavor of Enterprise Search experience without any additional cost. Although it comes with the limitation on items which gets crawled it is a best fit for this solution.
              Deploy SSX2010 and configure the search and managed meta data(if required).Initiate an crawl on the content and get it indexed. Create a search center and test the search results. Now edit the search results web part to include "endpoint" managed meta data in query columns list. Modify the search results XSLT to render a small thumbnail of Media player plug-in which allows the user to play the videos right there in the search results
 
 Configuration , setting up the servers, pros and cons will be part of next post...