Saturday, March 31, 2007

Wednesday, March 21, 2007

Add icon to pdf document types

  1. Copy the pdf image icon file to the “Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\IMAGES” folder, maintain the size of the image.
  2. Open the “DOCICON.XML” file which will be in “Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\XML”
  3. Type inside the tag.
  4. Restart IIS this to take effect.
  5. Now all uploaded pdf document will be shown with pdf image

Saturday, March 10, 2007

Getting your search service from starting to started

This may have been partly down to the SQL issues posted earlier (Databases created on SQL 2000 instead of SQL 2005); however i am not the only person to have come accross this so its definately worth a mention.

Microsoft recommend that in a farm environment you first start the Office Server Search Service on the Index server; in our case DEV02. Once up and running start the Query service on the Query server, DEV01.

When i started the Search Index service on DEV02 it hung on 'Starting' and after forcing a refresh gave the messgae 'Error Starting'.

To fix this:

I cannot definately say what fixed this or if it won't happen again but here's two ways in which i got it working:

Solution 1

  1. Temporally enable Central Administration on the server running the search service (DEV02). (Central Admin is in our case then briefly running simultaneously on both the Office App & WFE Servers)
  2. Start the Search Index service on the Index server (DEV02)
  3. Start the Search Query service on the Query server (DEV01)
  4. Disable Central Administration on the Index server (DEV02)

Solution 2

This was the solution that worked once the SQL issues had been resolved:

  1. Start the Search Query service on the Query server (DEV01)
  2. Start the Search Index service on the Index server (DEV02)

How to point your web applications to the WFE server

Should be obvious you would have thought, but alas no.

I set up the farm (3 servers as described in previous posts), and started creating the web applications for the SSPs & websites.

Note: I have a directory set up on the DEV02 (WFE) under E:\MOSS\Webs to store all Web Apps.

When creating the app pool I could not point my web app path at DEV02 E:\MOSS\Webs; SP would only accept DEV01 F:\MOSS\Webs.

Checking on the file systems and IIS app pools all the apps i created were sitting on DEV01 (App Server) rather than DEV02 (WFE).

To fix this:

  1. Turn off the WSS Web Application Service on all servers other than WFE servers.
    Note: If you turn off the web app service on a server, the web apps you have already created that reside on that server will be deleted.
  2. Select Create New Web Application.
  3. Assign a description; port 80 & host header.
  4. Set the path to DEV02 E:\MOSS\Webs
  5. Assign App Pool name & DB name etc
  6. Create.
  7. Check IIS & files in DEV02 & E:\MOSS\Webs

The app should now be hosted on DEV02 the WFE.

Thursday, March 01, 2007

Databases created on SQL 2000 instead of SQL 2005

When i started installing MOSS across our three server farm everything initially appeared to have gone well and i was ready to start creating the SSPs & web apps when Central Administration completely disappeared.

The issue:

SQL server was running both SQL 2000 as well as SQL 2005 and for some reason all the DBs had been created in SQL 2000.

I can't find a reason why this happened - all the previous installations had used the same SQL Server and had by default created the DBs on SQL 2005.

To fix it:

Use a SQL Server with only SQL 2005 installed on it!