ಆರ್ಕೈವ್ಸ್

How to Debug Feature Receiver Assemblies in Visual Studio – MOSS 2007

If you try to activate the feature using stsadm command you will not be able to debug the feature receiver assemblies.

Open the Site collection features in

Site Actions ->

Site Settings ->

Modify All Site Settings ->

Site Collection Administration -> Site Collection features

Attach the w3wp.exe process in visual studio. Place breakpoints. […]

MOSS ಒತ್ತಾಯಿಸು ಹೇಗೆ 2007 ಟೈಮರ್ ಕೆಲಸ ಕಾರ್ಯಗತಗೊಳಿಸಲು

ಕಾರ್ಯಗತಗೊಳಿಸಲು ಟೈಮರ್ ಉದ್ಯೋಗಗಳು ಒತ್ತಾಯಿಸಲು ನಂತರ stadm ಆಜ್ಞೆಯನ್ನು ಬಳಸಿ. ಮಧ್ಯಂತರ timerjobs ಕಾರ್ಯಗತಗೊಳಿಸಲು ಯಾವುದೇ ನಿರೀಕ್ಷಿಸಬೇಕಾಗಿದೆ. stsadm.exe -o execadmsvcjobs

Programmatically Add User to SharePoint Group

To assign the user to group in MOSS 2007

The following code will add the user to site and to specified group.

private void AddUser(string strSite,string webGroup) { SPSecurity.RunWithElevatedPrivileges(delegate() { ಬಳಸಿ (SPSite site = new SPSite(strSite)) { ಬಳಸಿ (SPWeb web = site.OpenWeb()) { Boolean allowUnsafeUpdate = web.AllowUnsafeUpdates; try { web.AllowUnsafeUpdates = true;

web.SiteUsers.Add(loginName, MailId, […]

Best Practices: Using Disposable Windows SharePoint Services Objects

When am started program using sharepoint objects. I found little bit difficult to understand about the sharepoint objects lifetime and best approach to dispose it. I found the following MSDN article which helps me a lot to learn and understand about sharepoint objects disposal.

Refer it here