Welcome to MSDN Blogs Sign in | Join | Help

August 2008 - Posts

How we can retrieve Discussion Topics (items) from a Discussion List ?

Whenever we try to access the items (discussion topics) in a discussion list it will return 0 , however olist.ItemCount will show the exact number (in the screen shot - there are 2 items in that discussion list) of discussion topics in your discussion
Posted by sowmyancs | 1 Comments

How to take out the dlls from GAC ?

Once I had a need to see the contents of an out-of-the-box SharePoint assembly (which was installed in GAC) using .NET Reflector tool. Assembly was: Microsoft.SharePoint.AdministrationOperation. Unfortunately we can’t locate this assembly in the physical
Posted by sowmyancs | 4 Comments

SPSecurity.RunWithElevatedPrivileges - an important point while using it in web context

Normally we will use SPSecurity.RunWithElevatedPrivileges() to execute some code that has to be run under some higher privileges. Whenever we use SPSecurity.RunWithElevatedPrivileges(), it will execute the code under the context of Application Pool identity.
Posted by sowmyancs | 8 Comments

"Value does not fall within the expected range" - while accessing publishing portal pages

This issue may occur because of any one of the following causes. · This issue occurs if there is a problem with the Page Layout, or if the Page Layout is corrupted. · This issue occurs if the publishing layout URL of a publishing page contains an incorrect
Posted by sowmyancs | 5 Comments
 
Page view tracker