Thursday, October 22, 2009

Workflow - Failed on start

http://techpunch.wordpress.com/2009/04/07/sharepoint-wspbuilder-workflow-failed-on-start/

Thursday, September 3, 2009

NewMenu - CustomAction - LifeSaver

http://paulliebrand.com/2008/07/14/customaction-newmenu-and-mysterious-blank-control/

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

http://www.sharepoint-tips.com/2006/06/sharepoint-2007-user-or-group-column.html

SPWorkflowTask.AlterTask

http://it666.blogspot.com/2008/12/nullreferenceexception-on.html

SharePoint Workflow - Eyeopener

http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/85fc0065-0ffa-4e37-bf93-dfc089db326c

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
http://msdn.microsoft.com/en-us/library/ms973850.aspx

Tuesday, May 12, 2009

All links

DNS
http://www.scribd.com/doc/2785087/DNS-Questions

AD
http://www.techinterviews.com/windows-server-2003-active-directory-and-security-questions

IIS
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b4d4d195-2ecb-4728-9348-6f1bfa1a1b63.mspx?mfr=true



Best practices:
http://msdn.microsoft.com/en-us/library/bb687949.aspx


architecture
http://msdn.microsoft.com/en-us/library/bb892189.aspx


garbage collector
http://www.csharphelp.com/archives2/archive297.html
http://msdn.microsoft.com/en-us/magazine/bb985011.aspx


http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx?ArticleID=9adb0e3c-b3f6-40b5-98b5-413b6d348b91



Best practices:
http://msdn.microsoft.com/en-us/library/bb687949.aspx


architecture
http://msdn.microsoft.com/en-us/library/bb892189.aspx


garbage collector
http://www.csharphelp.com/archives2/archive297.html
http://msdn.microsoft.com/en-us/magazine/bb985011.aspx


http://www.c-sharpcorner.com/UploadFile/rmcochran/csharp_memory01122006130034PM/csharp_memory.aspx?ArticleID=9adb0e3c-b3f6-40b5-98b5-413b6d348b91

Thursday, April 9, 2009

PFE Links

http://www.microsoft.com/downloads/details.aspx?FamilyID=412a9ef1-3358-4420-b820-0ca3f4641651&displaylang=en

http://blogs.msdn.com/debuggingtoolbox/archive/2008/07/03/tools-for-troubleshooting-sharepoint-applications.aspx

http://blog.krichie.com/

http://sharepoint.microsoft.com/blogs/fromthefield/default.aspx

Wednesday, April 1, 2009

AD useraccountcontrol property update.

ADuserAccountEntry.Properties[uac].Value = ""
ADuserAccountEntry.Properties[uac].CommitChanges()

ADuserAccountEntry.Properties[uac].Value = new value
ADuserAccountEntry.Properties[uac].CommitChanges


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

http://rmanimaran.wordpress.com/2008/07/08/activedirectory-useraccountcontrol-flag/
' Bit mask for "Password cannot change"
Const ADS_UF_PASSWD_CANT_CHANGE = &H40

' 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.
If (lngFlag AND ADS_UF_PASSWD_CANT_CHANGE) <> 0 Then
' Toggle the bit to turn it off.
lngFlag = lngFlag XOR ADS_UF_PASSWD_CANT_CHANGE
' Save changes.
objUser.SetInfo
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
complex.

update useraccount control in AD c#

http://msdn.microsoft.com/en-us/library/ms180916(VS.80).aspx

Saturday, March 28, 2009

DataTable.Select does not have distinct option

http://social.msdn.microsoft.com/Forums/en-US/adodotnetdataproviders/thread/1951e862-4732-4f17-9432-a09dfa4bbffa/

Monday, March 23, 2009

Powershell in AD

http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-active-directory/

Wednesday, March 18, 2009

TFS Bug sync

This tool helps in synchronizing QC 9.2 bugs into TFS.
http://onroad.juvander.fi/Community/blogs/news/archive/2008/02/24/released-tfs-bug-item-synchronizer-1-4-for-quality-center.aspx

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.