Charora's website  
Home arrow Technical Articles arrow Sharepoint 2003/2007 arrow SharePoint Portal Server (SPS) 2003
Wednesday, 08 September 2010
 
 
SharePoint Portal Server (SPS) 2003
Unable to search in SharePoint Portal Server 2003 PDF Print E-mail
Written by Hari Kishan Charora   
Friday, 13 October 2006
SYMPTOMS
Whatever you try to search for in SharePoint Portal Server 2003, You do not get any results, you may receive the following error message in the error log if you go to "Site Settings->Configure search and indexing->View errors and warnings on:" and click on "portal content" or "non portal content"

The address could not be found, (0x80041209 - Cannot Connect to the server. Please make sure the site is accessible. )

The address could not be found, (0x80041206 - A server error occurred. Check that the server is available. )

CAUSE
full-text search is not configured properly

WORKAROUND
To work around this problem, follow these steps.

1. Login as SharePoint Administrator Group Account
2. Go to SharePoint Central Administration
3. Click on Windows SharePoint Services from left navigation bar.
4. Click on Configure full-text search and uncheck and check "Enable full-text search and index component" under Search Settings and type "SharePoint Administrator Group Account" User ID and Password if prompted.
4. Open Enterprise Manager in SQL Server 2000 or SQL Server Management Studio in SQL Server 2005.
5. Go to the database server then open the "SITE" database
6. You should see Full-Text Catalog node, right click on the catalog icon to start full population. If you receive an error message then run this stored procedure. Make sure you are running the stored procedute in the "Site" database.

EXEC sp_fulltext_database 'enable'
GO

This should fix the problem

Write Comment
Last Updated ( Tuesday, 06 November 2007 )
 
Move "Save and Close" at the bottom of a survey PDF Print E-mail
Written by Administrator   
Thursday, 14 September 2006
Put the "Save and Close" Button at the Bottom of a Survey 

We created a survey in Sharepoint Portal Server 2003 and one of our internal client wants a submit button at the bottom instead of "Save and Close" button at the top menu. Is there a simple way to do this?

In order to insert the submit button, I opened the NewForm.aspx from the survey using Front Page 2003 and found I could not insert the button because the survey tool bar and the survey body are an integrated web part.

Note: assuming we are deploying a survey on a WSS site because I will change some default views of the survey list on WSS site template. To change SPS areas' survey list template will be similar. Look for the right location of the XML file in the in site template.


Step 1: Open Schema.xml for the survey template
For WSS:
Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\STS\LISTS\VOTING\Schema.xml

For My Site:
Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\SPSMSITE\LISTS\VOTING\Schema.xml
 
Similarly,
For SPSNEWS template:
Go to C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\SPSMSITE\LISTS\VOTING\Schema.xml

Schema.xml stores the views of different views of survey web parts.


Step 2: Moving the Button Tool Bar the Bottom of EditForm Page
The schema.xml stores the form views inside the <Forms> tag, e.g. the forms used by EditPage.aspx is stored in the tag <Form Type="EditForm" Url="EditForm.aspx" WebPartZoneID="Main">

The <Forms> tag has four child tags <ListFormOpening>, <ListFormButtons>,<ListFormBody>, and <ListFormClosing>. <ListFormOpening> stores the related javascript functions; <ListFormButtons> stores the tool bar buttons; <ListFormBody> stores the survey body view; and <ListFormClosing> stores the end content of the survey form.

1. Go to <ListFormButtons>,
2. Skip the <Switch> child tag of <ListFormButtons> ,
3. Copy the lines starting the tag of <HTML> and ending with </HTML> tag before the closing tag </ListFormButtons>,
4. Paste right next to the <ListFormClosing> tag

Step 3: Moving the Button Tool Bar the Bottom of NewForm Page
Locate the tag <Form Type="NewForm" Url="NewForm.aspx" WebPartZoneID="Main"> and then repeat steps 1-4 from the of Step 2

Step 4: Restart IIS
Restart the IIS Service
Go to the command prompt and type iisreset

How to change the Label Text of the "Save and Close" button and "Go back to survey" button?
In Schema.xml, look for the "Save and Close" and replace with text of your choice, i.e. "Save and Submit". Similarly, look for the "Go back to survey" and replace with "Cencel" and save Schema.xml file and restart the IIS Service

You are all set !!!


Write Comment (2 Comments)
Last Updated ( Tuesday, 06 November 2007 )
 
Google
 
Top! Top!