Posts

Showing posts from August, 2012

Prevent Recursive Workflows in SharePoint

When creating Workflows in SharePoint, you might have encountered issue when workflow recursively call itself and  tell the workflow to run automatically when an item is updated [approved], then because the workflow is updating the item its goes and calls itself again! This is known as recursive workflows, commonly known as an "infinite looping" in a workflow. To avoid this issue we just need to a dd a condition to the Workflow and only update list or document library item on certain condition. I found an interesting Microsoft article  Run a workflow when a specific field changes Also there is a video which also s how how the conditions prevent recursive workflows.

Display Percentage Values on a Pie Chart (Report Builder and SSRS)

By default, categories are shown in the legend to identify each value. If you have labeled the pie chart using category labels, you may want show percentages in the legend. To display percentage values as labels on a pie chart Type  #PERCENT  for the  Label data  option. (Optional) To specify how many decimal places the label shows, type "#PERCENT{P n }" where  n  is the number of decimal places to display. For example, to display no decimal places, type "#PERCENT{P0}". Click here  for Microsoft Technet Article for more details.

SharePoint Garbled Email Issue

Recently I came across an issue where ‘Alert Me’ emails originated from SharePoint environment are getting garbled and reaching the customers in following format. Resolution   After troubleshooting it was found that somehow recent patch on Exchange Server was adding a line break in Internet Email header messing up the Header itself, which was garbling the Email body and it was showing something like this.  On  analyzing multiple garbled email headers and comparing them to working email header it was found that these garbled messages were missing the “Reply To” address. Setting up the ‘Reply To’ address in SharePoint Admin for the Farm fixed the issue. Note that this issue was only with ‘Alert Me’ email relaying outside the company to extranet users, within companies Email Addresses there seems to be no issue.  Also a point to note that this entry was missing for last 2 years and we never faced this issue, nothing was changed on SharePoint server when this issue was bro

SharePoint WSS 3.0 AD Account Creation Mode "The specified domain either does not exist or could not be contacted."

Being a SharePoint Administrator you might have come across a requirement where it is required to setup a SharePoint found in ‘Active Directory account creation mode’. Active Directory account creation mode  this mode is used by Internet Service Providers to create unique user accounts for customers in Microsoft Active Directory service. These accounts can then be assigned to groups in Windows SharePoint Services to grant customers the appropriate level of access. After successful setup when everything was working fine than we noticed that we are not able to create any user in the Active Directory. We were getting following error The specified domain either does not exist or could not be contacted. (Exception from HRESULT: 0x8007054B) After weeks of troubleshooting and looking into every aspect of AD access issue, SharePoint ULS Logs we came across a Microsoft article http://support.microsoft.com/kb/828813 which state: This problem may also occur if you specif