Home

SharePoint IT Pro Blog

MSDN Magazine Feed

Thursday, April 30, 2009

Hiding the Web Controls When Printing - example Search Box

The Search box can be hidden, along with other parts of a form you don’t want printed by using styles. This can be done using Microsoft Office SharePoint Designer:

  • Open the master page in SharePoint Designer
  • Add the following style either to a CSS file included in the master page or as a style within the master page itself:

@media print{
.HideForPrinting
{
display:none;
}
}

  • Locate the delegate control used to display the search box and add the code shown in italics:

<asp:ContentPlaceHolder id=”PlaceHolderSearchArea” runat=”server”>
<span class=”HideForPrinting”>
<SharePoint:DelegateControl runat=”server” ControlId=”SmallSearchInputBox”/>
</span>
</asp:ContentPlaceHolder>

This defines a span that uses the style HideForPriting, the content of which will be hidden when the page is printed.

Thursday, April 9, 2009

Health Check Screening of the MOSS Farm

Web Front End Servers
  • Check Installed Software through Add/Remove Software and make sure there is no unwanted software installed on the server.
  • Check "My Computer" for number of drives, partitions, and used/available space. Add more space if it there is hard disk space problem. Make sure there are additional drives configured for the logs and index files.
  • Go to "Task Manager" and check for CPUs, Resource Usage, Network Performance.
  • Go to "System" in control panel and check for hardware profiles (RAM, Processor Speed, etc.), Automatic Updates (Make sure its disabled), and Networking Capabilities
  • Check IIS Manager - Check for host headers and IP address bindings, SSL settings, App Pool Settings, and App Pool Service Accounts. Put the IIS Logs on the drive other than C.
  • Check Event Log for any MOSS errors. Resolve all the critical errors.

Central Administration Site - Operations Tab

  • Check Servers in farm page - Check for all the SharePoint servers with the same version and patch level
  • Check the search service accounts on MOSS Search and WSS Search page, it should be dedicated account, shouldn't be farm admin account
  • On the MOSS Search Service for Index role, check for Indexer Performance based on the Number of CPUs on the machine. At minimum, use Partially Reduced
  • On the MOSS Search Service for Index role, check WFE Crawling setting - Use all WFE servers for crawling. Do not use Dedicated WFE.
  • Make sure only one server is running Index Role in the farm for each SSP
  • Make sure WSS Search Service runs only once a day and only one instance of WSS Search Service runs on the farm
  • Make sure Outgoing Email Settings are set to the valid exchange/SMTP server
  • Check the Timer Job Status page - Check for any failed jobs
  • Diagnostic Logging and Usage Analysis Logging - Change the default location to the drive other than C (e.g. F:\logs) and make sure all servers in the farm has a defined drive (e.g. F in this case).
  • Check Current License Type - Verify what license is and make sure farm is not running on trial version. This is very crucial to understand what MOSS services are running on the farm.

Central Administration Site - Applications Tab

  • "Check the Services Enabled in the Farm" section to see any farm configuration errors
  • Make sure Web Application URLs and Content Databases has a meaningful name.
  • Check the number of Content Databases per web application, site collection created per content databases, and verify round-robin allocations.

Content Databases on the SQL Server

  • Check the DB size - Shouldn't be more than 100 GB.
  • DB Files Properties - Check the Auto Growth Settings - it should be minimum 500 MB or 1 GB.
  • Transaction Log Files Properties - Check the log file size. It shouldn't be large. Shouldn't be more than 4-5 GB. If it's too large, backup and shrink the logs, set the Auto Growth settings to reasonable settings.

Shared Service Provider: SSP

  • SSP Edit Page - Index files location other than C drive, Check for the SSP service accounts, and shouldn't be farm admin accounts
  • Search - Check Crawl Schedules and Crawl Log Errors. Make sure Crawl Schedules won't overlap.
  • User Profiles - Verify the Profile Source and Check the Crawl Schedules

Tuesday, April 7, 2009

Now SharePoint Designer available as a free download

Wow !!! good news about SharePoint Designer 2007. Starting now (April 2, 2009), SharePoint Designer 2007 will be available as a free download! Microsoft want more of you customizing SharePoint and feel that this a good way to put the tool in the hands of more people.

a)
Letter to our Customers
b) Frequently Asked Questions
c) Free Download

Also, make sure to watch this YouTube video where Tom Rizzo and J.R. Arredondo discuss these changes and provide some insights into what is coming in the future. Or if you prefer to download the video, just pick the appropriate version for your bandwidth in the list below:
·
Small size video (6MB)
·
Medium size video (17 MB)
·
Large size video (83 MB)