Tuesday, May 24, 2011

System.MissingMethodException was caught Message=Method not found

Problem
System.MissingMethodException was caught
  Message=Method not found: 'Void <method name>'

Solution
This problem was caused by the application loading the WRONG version of the DLL from an unexpected location. I used <object from missing method's dll>.GetType().Assembly.Location to discover where it was loading the DLL from.  So use that, then put the correct version of the DLL you're using in that location.

Monday, May 9, 2011

How to add wordperfect full-text search on SharePoint 2010

1. Run this iFilter installer on all your SharePoint servers: http://www.corel.com/servlet/Satellite/us/en/Content/1157481830100?pid=1216666054364

2. In RegEdit navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\

3. Add key .wpd, then modify Default and add {25BDCAE0-8028-11d1-8ACC-0060670C457D}

3. In RegEdit navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\Filters\

4. Add key .wpd, then add string Extension=wpd, DWORD FileTypeBucket=1, string MimeTypes=application/wordperfect

5.Open SharePoint Central Admin ->Manage Service Applications->Search Service Application

6. On the left side under Crawling, click File Types, and add wpd

7. Start->Run, type IISRESET /restart

8. Open Services, restart SharePoint Server Search 14, SharePoint Foundation Search V4

Now WordPerfect docs will be indexed by crawling. If you want to test it out then initialize a full crawl or wait for the next scheduled crawl.

Note: This is the same process for adding search support for PDFs and any other file type that isn't supported by default, just need to add different GUIDs and install different iFilters.

References.
1. This site shows you how to do it but isn't complete for SharePoint 2010, https://msmvps.com/blogs/shane/archive/2005/11/29/77181.aspx

2. This site shows you how to do it for PDFs, http://www.sharepointgeoff.com/scblogspace/Lists/Posts/Post.aspx?ID=101

Friday, May 6, 2011

0 search results in SharePoint 2010

If you have configured Search Service and have successfully ran the crawler and are still getting 0 results returned in search, then I highly recommend following this step by step guide(like me):To be sure, follow this excellent step by step guide: http://sharepointgeorge.com/2010/configuring-enterprise-search-sharepoint-2010/


There was an error in this gadget