Some SharePoint critical errors thrown frequently and repeatedly might end up in an unexpected titanic growth of the SharePoint_Config transactional log. It can get seriously big, believe me... and the worst of all, it keeps growing and growing *fast*!
This will lead us to an unstable working environment where nothing actually works as it should, slow, unresponsive and likely to be hit by collateral damage (i.e. Out of disk space just to name one). Well, my client fully suffer it the other day, the actual log hit the 1 TB mark! Woohoo!
So, no panic, before we get to diagnose and fix the cause of issue, let's quickly shrink the transactional log so we can get back to 'healthier' and quicker environment.
Executing the following SQL script against the SharePoint_Config database will compress the size of SharePoint_Config_log regardless of its size.
USE SharePoint_Config
GO
-- Truncate the log by changing the database recovery model to SIMPLE.
ALTER DATABASE SharePoint_Config
SET RECOVERY SIMPLE;
GO
-- Shrink the truncated log file to 1 MB.
DBCC SHRINKFILE (SharePoint_Config_log, 1); -- here 2 is the file ID for trasaction log file,you can also mention the log file name (dbname_log)
GO
-- Reset the database recovery model.
ALTER DATABASE SharePoint_Config
SET RECOVERY FULL;
GO
From this point, the size of the log should be significally smaller. Hope you can can solve the issue/s now. Good luck!
Showing posts with label MOSS. Show all posts
Showing posts with label MOSS. Show all posts
Thursday, October 06, 2011
Thursday, March 04, 2010
SharePoint PDF iFilter Installation Guide
Windows SharePoint Services 3.0
[Indexing Server]
- Install the PDF IFilter (see below for a list of available IFilters)
- Add the .pdf file type to the index list:
- Open the Registry Editor (Start > Run > regedit)
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications_<GUID>_\Gather\Search\Extensions\ExtensionList
- Add a new String Value
- Value name: <next value in line>
- Value data: pdf
- Value name: <next value in line>
- Open the Registry Editor (Start > Run > regedit)
- Change the registry keys pointing to the IFilter's GUID
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Add or change the (Default) key value
- Old value:
{4C904448-74A9-11D0-AF6E-00C04FD8DC02} - (Foxit x64 PDF IFilter) New value:
{987F8D1A-26E6-4554-B007-6B20E2680632} - (Adobe x64 PDF IFilter) New value:
{E8978DA6-047F-4E3D-9C78-CDBE46041603}
- Old value:
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Repeat step (b) above
- Perform an iisreset
- Perform a Full Update on the Search content indexes
- Open a Command Prompt on the Indexing Server
- net stop spsearch
- net start spsearch
- cd "C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\BIN"
- stsadm.exe -o spsearch -action fullcrawlstop
- stsadm.exe -o spsearch -action fullcrawlstart
[Web Front End Server]
- Open a Command Prompt on the Indexing Server
- Copy the ICPDF.GIF () file to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images"
- Edit the file C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML
- Add an entry for the .pdf extension
<Mapping Key="pdf" Value="icpdf.gif"/>
[Indexing Server]
- Install the PDF IFilter (see below for a list of available IFilters)
- Add the .pdf file type to the index list:
- Go to Central Administration, then to the Shared Services Administration Web of the current SSP, go to Search Settings and next to File Type
- Add a new file type pdf
- Go to Central Administration, then to the Shared Services Administration Web of the current SSP, go to Search Settings and next to File Type
- Add the .pdf file type to the index list:
- Open the Registry Editor (Start > Run > regedit)
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Applications_<GUID>_\Gather\Search\Extensions\ExtensionList
- Add a new String Value
- Value name: <next value in line>
- Value data: pdf# Change the registry keys pointing to the IFilter's GUID
- Value name: <next value in line>
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Add or change the (Default) key value
- Old value:
{4C904448-74A9-11D0-AF6E-00C04FD8DC02} - (Foxit x64 PDF IFilter) New value:
{987F8D1A-26E6-4554-B007-6B20E2680632} - (Adobe x64 PDF IFilter) New value:
{E8978DA6-047F-4E3D-9C78-CDBE46041603}
- Old value:
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office Server\12.0\Search\Setup\ContentIndexCommon\Filters\Extension\.pdf
- Repeat step (e) above
- Open the Registry Editor (Start > Run > regedit)
- Perform an iisreset
- Perform a Full Update on the Search content indexes
- Open a Command Prompt on the Indexing Server
- net stop osearch
- net start osearch
- Go to Central Administration, then to the Shared Services Administration Web of the current SSP, go to Search Settings and start a full crawl of all locations containing PDF files
[Web Front End Server]
- Open a Command Prompt on the Indexing Server
- Copy the ICPDF.GIF () file to "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Images"
- Edit the file C:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Xml\DOCICON.XML
- Add an entry for the .pdf extension
<Mapping Key="pdf" Value="icpdf.gif"/>
- Add an entry for the .pdf extension
Available IFilters
Adobe PDF IFilter 9.0
- free (always good !)
- 32 bit: the IFilter is included with Adobe Reader. You must download and install the whole Adobe Reader package onto the server.
- 64 bit: download the standalone x64 IFilter(64 bit released recently, applies to the [Indexing Server])
- free for desktops, servers require a license
- 32 bit and 64 bit (IA64 currently being tested, applies to the [Indexing Server])
Labels:
IFilter,
MOSS,
PDF,
Registry,
Sharepoint 2007,
Sharepoint 2010
Subscribe to:
Posts (Atom)