Posts

How to take memory dump of windows process menually

Image
Go to IIS, click on Server name & double click on Worker Processes Icon Get PID number of Application pool (ex: EDS-692) Go to Start, All programs, Launch DebugDiag1.2 Click on Cancel Go to Tools, select Options and Settings Make sure Manual Userdump Save folder should be “D:\DebugDiag” Go to Processes tab, select PID number of the Application pool, right click and select Create Full User dump option After collecting User Dump confirmation message will be displayed as below Also Check the dump file is present in the folder

Why 1250 items, if the limit is 5000 - SharePoint List Threshold

It was quite challenging and surprising as well for me that why SharePoint list is showing 1250 items only while the threshold limit it set to 5000 items. I found this  link  but it wasn't so much helpful to understand the reason.  As per Microsoft on this   article, SharePoint list shows 1250 items in the following scenario.  "If a user creates or loads a view that cannot use an index to query the list, then Metadata Navigation and Filtering will construct and execute a fallback query. A fallback query is a modified version of the original user query that displays a partial set of the items requested because it queries against only a portion of the list instead of the entire list. It is intended to provide you with some useful results in circumstances when the original query is blocked due to large list throttling. Up to 1,250 of the newest items are displayed based on when those list items were added to the list. Occasionally, fallback querie...

GREYCstoration Oil Paint plugin for Photoshop

Image
Oil Paint Filter is missing in Photoshop? Try GREYCstoration plugin. An alternate for Oil Paint filter. I found my Adobe Photoshop CS5 is missing Oil Paint filter plugin due to GPU unavailable on my machine. I found an alternate tool to get oil painting effect on photos. Below are the steps to use this tool. 1.  Download  tool and extract http://www.mediafire.com/download/3j15dj3opmip4ez/GreycShop.zip 2. Copy the extracted files on below path(s)     For 64Bit: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins     For 32Bit: C:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins 3. Run Adobe Photoshop 4. Select Noise >> GREYCstoration  For example: Enjoy :)

Sorting SharePoint list item attachments in alphabetical order (Fixed)

Image
Note: Please read the complete article and notice the changes. It 100% worked for me. SharePoint 2007 provides an OOTB facility to sort list item attachments in alphabetical order while SharePoint 2010 don't. I have googled around for many days but could not find any OOTB feature that can help me out to do so. So i decided to go with custom JS code. I found the  article by Sopholos  and it was the main turning point for me. Here is the final result of my list item. I copied the code as per on his article (in Russian) and pasted in my v4.master page. Absolutely nothing happened :o) . I dug  into it and used my programming skills and found that I was not using the code at the right place. I moved the code from top of the page to its bottom, used alerts to check if the code is running or not. Final screenshot below... 1. Use below JS Code and save it with name TSorter_1.js to user it later in your code. /*------------------------------...

K2:Domain\Username does not have rights to export processes k2

Image
While working on K2 deployment i encounterd the dollowing error.  K2:Domain\Username does not have rights to export processes k2 There is an easy fix for it. It simply points some access denied issue so below is the fix. Fix:

How to move SharePoint list items to a folder and subfolders in the same list using C# programmatically?

Image
It was really simple at the end, but it took my whole day for writing the utility to achieve the desired results. However, the tricky part of the utility was how i can move the items to a sub folder of the list. For example there is a folder 2014 and it contains 12 folders of each month. You want to move the item inside a folder. Keep in mind the hierarchy of SharePoint. Follow below steps. 1. Get SPWeb 2. Get SPList 3. Get List Folders 4. Get Sub Folders of Folders 5. Copy the Item I have divided the steps into Methods. Code below. Get Site,Web and list Objects and Passing them to a method InsertItemIntoFolder. using (SPSite site = new SPSite( "Your Site URL" )) {     using (SPWeb web = site.OpenWeb())     {         SPList sourceList = web.Lists.TryGetList( "Your List Name" );         List < Guid > IID = new List < G...

How to find which pages are using a specific web part in MOSS 2007 or SharePoint 2010 site collection?

I got a utility with the help of one of my colleague to find w here is a custom web part used in SharePoint page? Download the utility from the below link. http://wikisend.com/download/302420/WebPart Finding Utility.zip 1. Open CMD 2. Navigate the path where you have placed the utility 3. Run Utilityname.exe sitecollectionURL nameofthewebpart       GetWP.exe  http:// test.contoso.com   view Where GetWP.exe is the utility name, http://test.contoso.com is the site collection URL and View is the name of the webpart. Full name is not necessary for webpart, you can use any sub string of the name. eg. listviewrollup = view Hope it helps someone. Thank You