Fix: workflow does not start triggered by incoming email

Scenario:
Your SharePoint designer workflow is triggered by the creation of a new item through UI but not by the receiving of an email (which also creates a new item).

Script / Fix:

stsadm -o setproperty -pn declarativeworkflowautostartonemailenabled -pv true
Note:
You can also check the state of the declarativeworkflowautostartonemailenabled flag by running this command:
stsadm -o getproperty -pn declarativeworkflowautostartonemailenabled

Fix: cannot login to host-named site collection

Scenario:
You cannot login into a host-named site collection (SharePoint will prompt you for login over and over) while you can login to a non-host-names site collection on the same server.

Fix:

Update the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0\BackConnectionHostNames registry entry:
  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Right-click MSV1_0, point to New, and then click Multi-String Value. Type BackConnectionHostNames, and then press ENTER.
  4. Right-click BackConnectionHostNames, and then click Modify.
  5. In the Value data box, type the host name or the host names for the sites that are on the local computer, and then click OK.
You may need to restart IIS.

Fix: The password supplied with the username ... was not correct. Verify that it was entered correctly and try again.

Scenario:
Trying to create a new web application fails with this message:
The password supplied with the username ... was not correct. Verify that it was entered correctly and try again.


Fix:
run this script:
stsadm -o updatefarmcredentials -userlogin <domain\username> -password <newpassword>

Note:
I just changed my windows account password and that may have triggered the issue.