Category Archives: Uncategorized

Having issues with adding SharePoint 2010 WebControls to your custom web part

You try to add SharePoint WebControl to your custom web part. You don’t seem to see the web part under the Microsoft.SharePoint.WebControls Namespace.
The issue is that the WebControls do not work on Sandbox Solutions.

Follow these steps the change your existing project to turn the project off as Sandbox solution –
1. Click on the project and check the properties window or press F4.
2. On Properties you will change the value of Sandboxed Solution property to False.

Once the above changes are done now you can use the SharePoint Web Controls on your web part.

Happy Coding….

Leave a comment

Posted by on February 1, 2012 in Uncategorized


Changing order of tabs on Search Center

Following steps explains how you can change the tabs order on the Search Center in SharePoint 2010.

Here is how my Search Center displays. It has All Sites and Directory.






Click on Site Actions-> View All Site Content






Click on Tabs in Search Pages

The Tabs in Search Pages list displays as follows






Click on List Ribbon






Click on List Settings






Click the url at the top and change listedit.aspx to reorder.aspx






I moved directory to order 1.






Click Ok.

The list will show it based on the position you set. But on the Search Center it will not show the right order. It will still display as –






Go back to the Tabs in Search Pages by Click Site Actions->View All Site Content and click on Tabs in Search Pages. Edit the Directory Item and just click on Save. Your screen should display as –






If you are interested in the Search Center displaying the Directory Search by default, you can change the welcome page as follows –
Click on Site Actions -> Site Settings






Click on Welcome Page






Click on Browse button









Click on People page and click ok.
Click Ok on the Welcome Page.
Now the Search Center will display the Directory Tab by default.


Posted by on January 24, 2012 in Uncategorized


SharePoint 2010, Document Library Windows Explorer View and IE 8 Issues

I have been working with a client on getting their Document Library working through their mapped drives. We had some interesting issues with this implementation.

Issue # 1: Whenever the client clicked on Open in Windows Explorer through the SharePoint site it used to take too much time to open up the popup window and display the files. This is not related to IE 8. This is a general issue.

Solution: Follow these steps –

  • Click on Tools -> Internet Options
  • Click on Connections Tab.
  • Click on Lan Settings button.
  • Uncheck Automatically Detect Settings.

The reason for slowness is explained in this nice blog

Issue # 2: On some computers the Open in Windows Explorer works and on some of them it does not. You will be prompted around 3 times to enter your credentials. After that you will see an error “Your client does not support opening this list with Windows Explorer.”

Workaround: (I am not going to call this as a solution)

After researching more it was found that if you restarted the webclient service then this would work fine.

If you restarted the machine then this would work fine too.

This was only having issues when you are logging off the machine.

We saw some forum answers which we tried but it would work for some time and then would not work again. One of the forums it was suggested by Microsoft to do the following –

Go to regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WebClient\Parameters\FileAttributesLimitInBytes

Change the value from 1000000 to 100000000.

For some users it seemed that this solution worked. But for some users it would not work for this client. After some more research and the pattern in the way they were logging off we found out that they were never closing the IE browser while they were on the SharePoint site or when they were in Windows Explorer or on their mapped drive.

So, we recommended them to close their browser and the Windows explorer and then log off and to our surprise the Windows explorer started working again.

Based on numerous forums it was pointed out that this is not a SharePoint issue but an IE 8 issue. That makes me think that looks like when we logoff with IE still running it does not disconnect the session with the SharePoint web application and hence the next time you try to login it was generating the error.

Interesting the above works in IE7.

I hope this resolves some of the frustration SharePoint guys are having.

1 Comment

Posted by on January 12, 2012 in Uncategorized


Get XML part for Search Results

If you are interested in getting the XML part for the Search results paste the following code in XSL Editor under Display Properties.

<?xml version=”1.0″ encoding=”UTF-8″?>
<xsl:stylesheet version=”1.0″ xmlns:xsl=”“>
<xsl:output method=”xml” version=”1.0″ encoding=”UTF-8″ indent=”yes”/>
<xsl:template match=”/”>
<xmp><xsl:copy-of select=”*”/></xmp>

This will give you the search results in XML string.

Leave a comment

Posted by on January 3, 2012 in Uncategorized


Visio and Workflows on SharePoint 2010 Part II video has been uploaded.

This video demo presentation covers –
1. Exporting SharePoint Designer Workflow to Visio.
2. Adding flow to the workflow.
3. Exporting workflow from visio to SharePoint Designer.
4. Adding logic on SharePoint Designer and deploying the workflow to SharePoint.

Visit the following youtube link …

Leave a comment

Posted by on December 20, 2011 in Uncategorized


Thanks to Microsoft on recognizing the community contributions

On Wednesday I received this surprise email from Microsoft. Initially I was under the impression that it was a spam. But after looking at it closely I realized that it was real. Following was the email –

Dear Ameet,

Congratulations! We’re pleased to inform you that your contributions to Microsoft online technical communities have been recognized with the Microsoft Community Contributor Award.

The Microsoft Community Contributor Award is reserved for participants who have made notable contributions in Microsoft online community forums such as TechNet, MSDN and Answers. The value of these resources is greatly enhanced by participants like you, who voluntarily contribute your time and energy to improve the online community experience for others.

Becoming a Microsoft Community Contributor Award recipient includes access to important benefits, such as complimentary resources to support you in your commitment to Microsoft online communities. To find out more about the Microsoft Community Contributor Award and to claim your recognition, please visit this site:

Log-on Questions? Please contact Microsoft Community Contributor Global Administrator at

Thank you for your commitment to Microsoft online technical communities and congratulations again!

Nice of Microsoft to recognize other contributors too.

Leave a comment

Posted by on April 29, 2011 in Uncategorized