SharePoint Stuff



Posts Tagged ‘MOSS’

Configuring Kerberos for MOSS 2007

Written by Luke Smith. Posted in Microsoft

1. Configure SPN for Web Application Pool Account

setspn.exe -A HTTP/’WebApplicationNETBIOSURL’ domain’ApplicationPoolAccount’
setspn.exe -A HTTP/’WebApplicationFQDNURL’ domain’ApplicationPoolAccount’

*Using Port numbers with kerberos causes authentication problems within IE, would always suggest using netbios orand FQDN, if your web application has been configured to use a port number suggest creating an Alternative access mapping.

2. Trust Computer and User for Delegation

AD Users and computers -> Properties of account – Make sure account is trusted and not sensitive

3. Enable Kerberos against the Web Application.

In Central Admin select Authentication Provider and then select Kerberos

For more information please see here:

http://support.microsoft.com/kb/953130

LS UPDATED: 11-Aug-09

MOSS Moving Database Server

Written by Luke Smith. Posted in Microsoft

There would appear to be many different types of methods to move database servers for the MOSS Databases. the steps below have worked well for me:

  • Build new SQL Server (4xCPU and 4GB RAM) or use exsisting
  • Enable new SQL Server for TCP/IP and listen to all ports
    • Open SQL Server Configuration Manager

SQLListen 

  • Create security login accounts as on old server on new server (Farm and web app accounts)
    • Either make a note of each user and permissions under Security-Logins
    • Or Script each Security-Logins relating to SharePoint

SQLScriptLogon 

  • Set all MOSS Databases to read-only on existing server.
    • SharePoint_Config.. (should have one)
    • Content.. (should have one or more)
    • AdminContent..(should have one or more)
  • Backup all MOSS Databases on existing server.
    • SharePoint_Config.. (should have one)
    • Content.. (should have one or more)
    • AdminContent..(should have one or more)
  • Restore all MOSS Databases to new server
    • SharePoint_Config.. (should have one)
    • Content.. (should have one or more)
    • AdminContent..(should have one or more)
  • On all MOSS Servers (WFE, QUERY, INDEX) Start the SQL Server Native Client Network Utility (%SYSTEM%cliconfg.exe), then run through the following:
  1. On the General tab, verify that TCP/IP is enabled.
  2. On the Alias tab, click Add.
  3. Repeat steps a through f on all servers that connect to SQL Server.
  4. The Add Network Library Configuration dialog box appears.
  5. In the Server alias box, enter the name of the existingold instance of SQL Server.
  6. In the Network libraries area, click TCP/IP.
  7. In the Connection parameters area, in the Server name box, enter the new server name and instance to associate with the alias, and then click OK.

MOSSMOVEDBSERVER

UPDATE 27-Oct-2009: Added some more pictures

Sharepoint Out of memory OOM exception

Written by Luke Smith. Posted in Microsoft

Issue
====
You may receive but no all of the following:

following errors are displayed on a sharepoint page

Failed to render “Title” column because of an error in the “Single line of text” field type control. See details in log. Exception message: Server out of memory there is no memory on the server to run your program. please contact your administrator with this problem ..

Failed to render “Page Content” column because of an error in the “Publishing HTML” field type control. See details in log. Execption message: Server out of memory on the server to run your program. Please contact your administrator with this problem

The event Logs show:

Out of memory (OOM) Exception

The following is always logged in the SPS Logs

While initializing navigation, found Page placeholder but object was not found at: /<SITE>/<PAGE>/<PAGE>.ASPX.

Behaviour
=======

W3WP.exe worker process used by your Sharepoint site increases to 1.2GB of memory rapidy and then errors. Once the process memory has been consumed, the memory is clearned and decreases back to normal utilisation (200 -650Mb)

The site which is trying to load, utilises a Site Navigation bar and contains over 50 pages

The site navigation bar is utilising the SiteMapProvider “SPNavSiteMapProvider”

Resolution
========

Edit your sites master.page using sharepoint designer 2007

Find the following

SiteMapProvider=”SPNavSiteMapProvider”

Change the SiteMapProvider

SiteMapProvider=”GlobalNavSiteMapProvider”

I would also recommend reducing the amount of pages contained in the site (try to keep this as small as possible.

Also consider moving to a 64bit platform and increase the amount of memory on the server (over 4GB recommeneded)

If you are receiving OOM exeption within custom code please see http://code.msdn.microsoft.com/SPDisposeCheck
and
http://msdn.microsoft.com/en-us/library/aa973248.aspx

This applies to MOSS 2007 (RTM and all updates) running on a 32bit windows 2003 environment

Thanks to Nick Lloyd-Jenkins for identifying this one