May Wisconsin SharePoint Users Group Meeting

May 15th, 2007 by coskunc

For those of you who live in the Wisconsin area I wanted to let you know that I will be presenting at the Wisconsin SharePoint Users Group May 22nd. The title of the presentation is "Migrating from SharePoint 2003 to SharePoint 2007".  If you're interested in the Upgrade to MOSS  2007 topic please join us at Milwaukee

 This session will discuss methods and best practices to mitigate the risks and facilitate the process in migrating to WSS 3.0 and MOSS. We will discuss:
 Concerns to address before the upgrade
 Pros and cons of three upgrade scenarios (In-Place, Parallel, Content DB)
 What to do with unghosted/customized pages
 Learn what to do with your Web Part resources
 If you have to move your custom site definition…
 Converting a WSS 2.0 site to WSS 3.0
 Issues to consider with SPS
 3rd party tools that can help

 URL to the meeting announcement:
http://www.culminisconnections.com/sites/WSUG/Lists/Announcements/DispForm.aspx?ID=5&Source=http%3A%2F%2Fwww%2Eculminisconnections%2Ecom%2Fsites%2FWSUG%2Fdefault%2Easpx

 

 

May Wisconsin SharePoint Users Group Meeting

May 15th, 2007 by coskunc

For those of you who live in the Wisconsin area I wanted to let you know that I will be presenting at the Wisconsin SharePoint Users Group May 22nd. The title of the presentation is "Migrating from SharePoint 2003 to SharePoint 2007".  If you're interested in the Upgrade to MOSS  2007 topic please join us at Milwaukee

 This session will discuss methods and best practices to mitigate the risks and facilitate the process in migrating to WSS 3.0 and MOSS. We will discuss:
 Concerns to address before the upgrade
 Pros and cons of three upgrade scenarios (In-Place, Parallel, Content DB)
 What to do with unghosted/customized pages
 Learn what to do with your Web Part resources
 If you have to move your custom site definition…
 Converting a WSS 2.0 site to WSS 3.0
 Issues to consider with SPS
 3rd party tools that can help

 URL to the meeting announcement:
http://www.culminisconnections.com/sites/WSUG/Lists/Announcements/DispForm.aspx?ID=5&Source=http%3A%2F%2Fwww%2Eculminisconnections%2Ecom%2Fsites%2FWSUG%2Fdefault%2Easpx

 

 

Chicago SharePoint User Group Event April 19- Best Practices on "How to Customize SharePoint Sites"

April 13th, 2007 by coskunc

CSUG 

Hi everyone, CSUG is meeting April 19th again. This time Todd Bleeker is in town and will be talking about Unghosting, Master Pages, CSS, Themes, and the Content Editor Web Part (of course).

Sign-Up to this Event by visiting the following link https://www.clicktoattend.com/invitation.aspx?code=117591  

 

Event Code: 117591

4/19/2007 — 6:00 PM – 8:30 PM

Welcome Time:
4/19/2007 5:30 PM Central Time

Location:
Microsoft Corporation
77 W. Wacker Dr.
Suite 2300
Chicago, IL 60601
USA

driving directions

 

"My opinions do not reflect those of my blog host, SharePoint Experts"

Chicago SharePoint User Group Event April 19- Best Practices on "How to Customize SharePoint Sites"

April 13th, 2007 by coskunc

CSUG 

Hi everyone, CSUG is meeting April 19th again. This time Todd Bleeker is in town and will be talking about Unghosting, Master Pages, CSS, Themes, and the Content Editor Web Part (of course).

Sign-Up to this Event by visiting the following link https://www.clicktoattend.com/invitation.aspx?code=117591  

 

Event Code: 117591

4/19/2007 — 6:00 PM – 8:30 PM

Welcome Time:
4/19/2007 5:30 PM Central Time

Location:
Microsoft Corporation
77 W. Wacker Dr.
Suite 2300
Chicago, IL 60601
USA

driving directions

 

"My opinions do not reflect those of my blog host, SharePoint Experts"

Creating sub tasks in a SharePoint task list! – "SharePoint Nested Tasks"

April 13th, 2007 by coskunc

        SharePoint Nested

How can I create sub tasks in SharePoint task lists?  This is one of the things I hear my clients ask for all of the time and I hate to tell them that this requires custom code. Well no worries anymore there is a great team of people working on this for you!

Ishai Sagi (Owner of the Sharepoint Tips And Tricks site and also a recognized SharePoint MVP) has started a codeplex project named "SharePoint Nested Tasks"  to

 

 

The following is taken from the Architecture document for SharePoint Nested Tasks located here. 

————————————————————————

SharePoint Nested Tasks is meant to provide SharePoint users with the ability to create sub tasks in a (potential infinite) hierarchy.  Currently, tasks in both SharePoint and Outlook do not support sub tasks that branch from a parent, and the need for this tracking of a hierarchy of tasks is apparent.

For example, a decision maker may assign a task to a team leader, who will in turn assign sub tasks to people in his team. The team leader wants to see the status of the sub tasks aggregated into the view of the task that is assigned to him, and he also wants to make changes to the parent task that will affect the entire tree of tasks.

Are you interested, have any ideas, comments? Well check out the project site and let us know!

http://www.codeplex.com/SharePointSubTasks 

 

Here are some screen shots from the architecture document

                   

Creating sub tasks in a SharePoint task list! – "SharePoint Nested Tasks"

April 13th, 2007 by coskunc

        SharePoint Nested

How can I create sub tasks in SharePoint task lists?  This is one of the things I hear my clients ask for all of the time and I hate to tell them that this requires custom code. Well no worries anymore there is a great team of people working on this for you!

Ishai Sagi (Owner of the Sharepoint Tips And Tricks site and also a recognized SharePoint MVP) has started a codeplex project named "SharePoint Nested Tasks"  to

 

 

The following is taken from the Architecture document for SharePoint Nested Tasks located here. 

————————————————————————

SharePoint Nested Tasks is meant to provide SharePoint users with the ability to create sub tasks in a (potential infinite) hierarchy.  Currently, tasks in both SharePoint and Outlook do not support sub tasks that branch from a parent, and the need for this tracking of a hierarchy of tasks is apparent.

For example, a decision maker may assign a task to a team leader, who will in turn assign sub tasks to people in his team. The team leader wants to see the status of the sub tasks aggregated into the view of the task that is assigned to him, and he also wants to make changes to the parent task that will affect the entire tree of tasks.

Are you interested, have any ideas, comments? Well check out the project site and let us know!

http://www.codeplex.com/SharePointSubTasks 

 

Here are some screen shots from the architecture document

                   

The indexing status remains in the Crawling state

February 12th, 2007 by coskunc

If you are getting a cannot connect to database error with SharePoint 2007 or indexing status remains in the Crawling state. The following might be the solution for you.

I was troubleshooting this issue and saw that my transaction logs were growing really fast and the server we were using didn't have much disk space allocated for the transaction logs. It was a 14 GB transaction log for a 9MB content database which is not an expected behaviour.

- After further investigation I saw that the log files were showing

CGathererQueueManager::FlushQueue failed with recoverable error 0×80040e2f CGathererFilterSink::CommitLinks : pGatherAddLink->AddLinkComplete error=0×80040e2f

and

SqlCrawl::ExecuteCommand fails Error 0×80040e2f
 
- We also saw that the number of handles that are opened by the MSSearch.exe process had increased which was using a good portion of the memory.
 
- And last but not least we saw that the number of TCP connections to the SQL Server had increased.
 
 
Now that we knew that the issue was a Search issue we looked into the search settings and found out that our Search service was hung up on Crawling full.

Tried stopping the search service using the following command from the command line but it wouldn't stop the service.

stsadm -o osearch -action stop

The Office SharePoint Server Search (osearch) service was stuck in Stopping mode but wouldn't stop.

Further looking into it we found an entry at Mike Hanley's blog that talked about how their Search service was stuck in the "Crawling Full" state. But I didn't like the fact that we had to recreate the indexes and recreate the SSP. So I looked further with the tips I found in Mike's entry and found this KB Article which explains how to fix the issue without creating indexes and a new SSP.

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

After reading this article I found out that this was happening because the Database server that SharePoint 2007 was using was a SQL 2005 server which has maintenance plans that rebuilds indexes. This issue was occurring because the Rebuild index task did not restore all the options that were set on the indexes that are used by SharePoint Server 2007 after indexes are rebuilt. The Ignore duplicate values option is turned off after indexes are rebuilt.

(Taken from the KB article in my own words)
Here is the RESOLUTION

To resolve this issue, you need to disable the maintenance plan that contains the Rebuild Index task. Then, use SQL Server Management Studio to locate the indexes that are specified in the following table, as appropriate for your situation. For each index, make sure that the Ignore duplicate values check box is selected.
 
Go into your SQL management studio and change the following tables in your search database to have the Ignore duplicate values check box enabled

* (You may have to temporarily click The Unique check box on the General tab on the Index Properties page so that the Ignor Duplicate check box is not grayed out)
 


Database Table name Index name
Search      MSSAlertDocHistory                 IX_AlertDocHistory
Search      MSSAnchorChangeLog                 IX_MSSAnchorChangeLog
Search      MSSAnchorPendingChangeLog                 IX_MSSAnchorPendingChangeLog
Search      MSSCrawlChangedSourceDocs                 IX_MSSCrawlChangedSourceDocs
Search      MSSCrawlChangedTargetDocs                 IX_MSSCrawlChangedTargetDocs
Search      MSSCrawledPropSamples                 IX_MSSCrawledPropSamplesByDocid
Search      MSSCrawlErrorList                 IX_MSSCrawlErrorList_hrResult
Search      MSSCrawlHostList                 IX_MSSCrawlHostList_Name
Search      MSSCrawlQueue                 IX_MSSCrawlQueue
Search      MSSDocSdids                 IX_MSSDocSdids

 

Before you re-enable the maintenance plan, delete the Rebuild Index task or replace the Rebuild Index task with an Execute Transact-SQL Statement task. The Execute Transact-SQL Statement task should restore all options on indexes.

SharePoint Coskun Cavusoglu

The indexing status remains in the Crawling state

February 12th, 2007 by coskunc

If you are getting a cannot connect to database error with SharePoint 2007 or indexing status remains in the Crawling state. The following might be the solution for you.

I was troubleshooting this issue and saw that my transaction logs were growing really fast and the server we were using didn't have much disk space allocated for the transaction logs. It was a 14 GB transaction log for a 9MB content database which is not an expected behaviour.

- After further investigation I saw that the log files were showing

CGathererQueueManager::FlushQueue failed with recoverable error 0×80040e2f CGathererFilterSink::CommitLinks : pGatherAddLink->AddLinkComplete error=0×80040e2f

and

SqlCrawl::ExecuteCommand fails Error 0×80040e2f
 
- We also saw that the number of handles that are opened by the MSSearch.exe process had increased which was using a good portion of the memory.
 
- And last but not least we saw that the number of TCP connections to the SQL Server had increased.
 
 
Now that we knew that the issue was a Search issue we looked into the search settings and found out that our Search service was hung up on Crawling full.

Tried stopping the search service using the following command from the command line but it wouldn't stop the service.

stsadm -o osearch -action stop

The Office SharePoint Server Search (osearch) service was stuck in Stopping mode but wouldn't stop.

Further looking into it we found an entry at Mike Hanley's blog that talked about how their Search service was stuck in the "Crawling Full" state. But I didn't like the fact that we had to recreate the indexes and recreate the SSP. So I looked further with the tips I found in Mike's entry and found this KB Article which explains how to fix the issue without creating indexes and a new SSP.

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

After reading this article I found out that this was happening because the Database server that SharePoint 2007 was using was a SQL 2005 server which has maintenance plans that rebuilds indexes. This issue was occurring because the Rebuild index task did not restore all the options that were set on the indexes that are used by SharePoint Server 2007 after indexes are rebuilt. The Ignore duplicate values option is turned off after indexes are rebuilt.

(Taken from the KB article in my own words)
Here is the RESOLUTION

To resolve this issue, you need to disable the maintenance plan that contains the Rebuild Index task. Then, use SQL Server Management Studio to locate the indexes that are specified in the following table, as appropriate for your situation. For each index, make sure that the Ignore duplicate values check box is selected.
 
Go into your SQL management studio and change the following tables in your search database to have the Ignore duplicate values check box enabled

* (You may have to temporarily click The Unique check box on the General tab on the Index Properties page so that the Ignor Duplicate check box is not grayed out)
 


Database Table name Index name
Search      MSSAlertDocHistory                 IX_AlertDocHistory
Search      MSSAnchorChangeLog                 IX_MSSAnchorChangeLog
Search      MSSAnchorPendingChangeLog                 IX_MSSAnchorPendingChangeLog
Search      MSSCrawlChangedSourceDocs                 IX_MSSCrawlChangedSourceDocs
Search      MSSCrawlChangedTargetDocs                 IX_MSSCrawlChangedTargetDocs
Search      MSSCrawledPropSamples                 IX_MSSCrawledPropSamplesByDocid
Search      MSSCrawlErrorList                 IX_MSSCrawlErrorList_hrResult
Search      MSSCrawlHostList                 IX_MSSCrawlHostList_Name
Search      MSSCrawlQueue                 IX_MSSCrawlQueue
Search      MSSDocSdids                 IX_MSSDocSdids

 

Before you re-enable the maintenance plan, delete the Rebuild Index task or replace the Rebuild Index task with an Execute Transact-SQL Statement task. The Execute Transact-SQL Statement task should restore all options on indexes.

SharePoint Coskun Cavusoglu

Right or Left Aligning the Search Box in your SharePoint sites

January 31st, 2007 by coskunc

I had to tackle this issue at one of my clients and the way I solved this issue was by creating a table and putting the PlaceHolderSearchArea in that <TD> and aligned the <TD>

<table style="width: 100%; float:right;">
    <tr >
     
<td width="100%"></td>
     <td id="SearchBox" align="right" style="text-align:right;">
       <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
        <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
       </asp:ContentPlaceHolder>
     </td>
    </tr>
</table>


This did the trick for me but I really did not have much time to better understand what was causing this issue and I came accross the answer in Heather's post. (for those of you who have not visited her site yet please do it's a gold mine of information.)

Heather found out that there was an empty table cell to the right of the search inputs with a width set to 100%. So you need to take care of that in order to move around your search box. To get her solution(CSS Code) to this click on the following link which will take you to her post about this topic.

SharePoint CSS Trick: Align your Search Inputs

<coskun>

(I liked Lawrence's signature. he signs his name as a html tag and I think I'll use this as well. Pretty geeky and I like it :)

Right or Left Aligning the Search Box in your SharePoint sites

January 31st, 2007 by coskunc

I had to tackle this issue at one of my clients and the way I solved this issue was by creating a table and putting the PlaceHolderSearchArea in that <TD> and aligned the <TD>

<table style="width: 100%; float:right;">
    <tr >
     
<td width="100%"></td>
     <td id="SearchBox" align="right" style="text-align:right;">
       <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server">
        <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox"/>
       </asp:ContentPlaceHolder>
     </td>
    </tr>
</table>


This did the trick for me but I really did not have much time to better understand what was causing this issue and I came accross the answer in Heather's post. (for those of you who have not visited her site yet please do it's a gold mine of information.)

Heather found out that there was an empty table cell to the right of the search inputs with a width set to 100%. So you need to take care of that in order to move around your search box. To get her solution(CSS Code) to this click on the following link which will take you to her post about this topic.

SharePoint CSS Trick: Align your Search Inputs

<coskun>

(I liked Lawrence's signature. he signs his name as a html tag and I think I'll use this as well. Pretty geeky and I like it :)