Friday, December 23, 2011

Sharepoint and PDF ifilter

Simple to set up.

1.Install PDF iFilter 9.0 (64 bit) from http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025 (http://www.adobe.com/support/downloads/detail.jsp?ftpID=4025)
2.Download PDF icon picture from Adobe web site http://www.adobe.com/misc/linking.html (http://www.adobe.com/misc/linking.html)  and copy to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\IMAGES\
3.Add the following entry in docIcon.xml file, which can be found at: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML
<Mapping Key="pdf" Value="pdf16.gif" />
4.Add pdf file type on the File Type page under Search Service Application
5.Open regedit
6. Copy the following to a file and save with a reg extension.  ex.  sharepoint.reg. 
-------------------
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\14.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf]
@="{E8978DA6-047F-4E3D-9C78-CDBE46041603}"
--------------------

•Restart the SharePoint Server Search 14
•Reboot the SharePoint servers in Farm
•Create a Test site (with any out-of-box site template) and create a document library upload any sample PDF document(s).
•Perform FULL Crawl to get search result.

Performance issues with Infopath and Sharepoint Lists

In a data connection, if you check "Automatically retrieve data when the form is opened",  make sure that it is not a large list.  The underlying query pulls all the items from that list.  Also this option is checked by default. 

Even if this connection might be used to insert an item in a list, it will still pull the data and can cause performance issues of taking a bit of time to load the form.

Thursday, December 22, 2011

Symantec Backup Exec and Sharepoint 2010

The backup exec did not recognize the sharepoint farms due to the remote agents referencing the Microsoft.sharepoint.dll version 12.  

To Fix this, just change the machine config to redirect the dll from version 12 to 14. 


 <runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    
         <dependentAssembly>
           <assemblyIdentity name="Microsoft.SharePoint" publicKeyToken="71e9bce111e9429c" culture="neutral" />
           <bindingRedirect oldVersion="12.0.0.0" newVersion="14.0.0.0" />
         </dependentAssembly>
         </assemblyBinding>
 </runtime>