Thursday, October 22, 2009

Workflow - Failed on start

Thursday, September 3, 2009

NewMenu - CustomAction - LifeSaver

WSPBuilder goofup

It allowed me to add event handler feature at Site level
It is not supported by SharePoint
When we Build WSP -> Deploy from VS it says it is successful, but looks like it does not do all activities,
a. Add web config entries
Solution Management in CA shows Error on wsp deployment.

Removed erroneous event handler and everything worked.

Wednesday, September 2, 2009

ShowInNewForm uppercase XML

all boolean values for XML definitions site columns and content types should be in uppercase

Thursday, August 27, 2009

Life Saver - List item property AssignedTo


SharePoint Workflow - Eyeopener

Wednesday, August 26, 2009

WSS3Workflow tools - ascx trauma - Just resolved.

InitiationControl.ascx -> inherits from InitiationControl.cs (namespace)
InitiationControl.cs -> inherits TPG...ConfigurationControl
-> overrides Load and Save
In Save()
-> call InitiationControlData.cs as configData.

Resolve attached issue.

Wednesday, May 13, 2009

More links

.NET Framework

Tuesday, May 12, 2009

All links




Best practices:


garbage collector

Best practices:


garbage collector

Thursday, April 9, 2009

PFE Links

Wednesday, April 1, 2009

AD useraccountcontrol property update.

ADuserAccountEntry.Properties[uac].Value = ""

ADuserAccountEntry.Properties[uac].Value = new value

i.e. Delete the old value and then add the new value.. i.e. update. An overwrite is not allowed.

Tuesday, March 31, 2009

some more user account control AD
' Bit mask for "Password cannot change"

' Bind to user object.
Set objUser = GetObject("LDAP://cn=Jim Smith,ou=Sales,dc=MyDomain,dc=com")

' Retrieve value of userAccountControl attribute.
lngFlag = objUser.userAccountControl

' Check if "Password cannot change" bit is set.
' Toggle the bit to turn it off.
' Save changes.
End If
You AND the value of userAccountControl with the bit mask to test if it is
set. Any non-zero result means the bit is set. Zero means the bit is not
set. You OR the value of userAccountControl with the bit mask to set the
bit. You XOR userAccountControl with the bit mask to toggle the bit, which
is the only way to turn it off.

Note, there is also a bit of userAccountControl for "Don't expire password".
The bit mask is &H10000. Also, you can remove permissions for the user to
change their password. The code to restore these permissions is more

update useraccount control in AD c#

Saturday, March 28, 2009

DataTable.Select does not have distinct option

Monday, March 23, 2009

Powershell in AD

Thursday, March 19, 2009

Wednesday, March 18, 2009

TFS Bug sync

This tool helps in synchronizing QC 9.2 bugs into TFS.

TFS Build

Branch by Quality.
Post Build Activities -
1. Team Build current project in TFS... e.g. Build Source
2. Right click on Build Source folder
a. Apply Label
3. Right click on Build Source folder,
a. Branch
b. Set location as Release folder
3. If there is a bug in QA,
a. Goto Released folder, make changes to build with the latest build number
b. Change TFS Build path to Release folder
c. Make Team Build and release to QA
d. Merge changes of Released folder with actual Build Source folder.