Friday, June 08, 2012

Workflow doesn't work after a SharePoint upgrade from 2007 to 2010

If you upgrade WSS 3.0 to SharePoint Foundation 2010, your workflow may work fine until you touch it. After you re-publish it, you may find that it doesn't operate any longer. Check the general properties of the workflow. You may find that the workflow is not attached to any operation (Manual, On Insert, or On Change). It looks like the upgrade doesn't carry over this property and once recompiled (re-published) it is disconnected from it source list (at least in our case).

It may apply to SharePoint Server version but I didn't check this.

Tuesday, April 17, 2012

Configure Incoming E-mail Settings for SharePoint Foundation 2010

The following link is a good walk-through if you want to configure incoming e-mail settings. In most cases it would work right.

In our environment it didn't work though. After several hours we spent on trail and error cycles we nailed down our issue which worth sharing.

Our configuration required that the outgoing emails will be sent via SMTP service running on the front end server. To enable the outgoing emails we configured the SMTP server as a relay. This caused the incoming mails to be sent back to the host mail server (which is not Exchange in our case).

Once we figured this out, we made the following change that fixed the issue:

  • In IIS 6.0, right click SMTP Virtual Server and select Properties.
  • Navigate to Delivery.

  • Click on Advanced

  • Check the 'Attempt direct delivery....' and OK twice.
Now, instead of the SMTP server sending back the incoming emails, it will try first to send them to a SharePoint email address.