Posts

Showing posts from September, 2010

Access Denied Host Header Sharepoint 2010 Windows Server 2008 R2

If you are running into a weird issue, where you get prompted for your credentials repeatedly in your local sharepoint server and was denied access to the site, even though you are using an administrator account, and if this happens only when you create a nice host header and on 80 port, then you are here at the right place - Just read the below. Method 1 works for me :  Click  Start , click  Run , type  regedit , and then click  OK . In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0 Right-click  MSV1_0 , point to  New , and then click  Multi-String Value . Type  BackConnectionHostNames , and then press ENTER. Right-click  BackConnectionHostNames , and then click  Modify . In the  Value data  box, type the host name or the host names for the sites that are on the local computer, and then click  OK . Quit Registry Editor, and then restart the IISAdmin service. Reference :  http://support.microso

Branding your Search Center in Sharepoint 2010

The OOTB search center doesn't have any navigation and the minimal.master doesn't show any top navigation. You could see the detail description of the issue here and John Ross explained the scenario here However, The best simple solution is posted here  http://shopsharepoint.com/blog/7-branding-your-search-center-in-sharepoint-2010.aspx ' Branding SharePoint 2010 Search Centers '

Add Vs Upload a document in a document library - Sharepoint 2010

Image
The document library provides a small link at the bottom that says "Add document" but it does show an upload pop up when you click that link. It definitely misleads users. So, here is few simple steps you could do to provide a link that can actually open a new document. Normal behavior : Things you could do to get the following output is specified below: 1. Create a Content Editor webpart under your library that can have the following HTML script 2. Now, to remove the original "Add document" link, goto the library webpart and set the Chrome Type to None. The original one will disappear. Working with SharePoint document libraries

Customize your document library view based on the workflow status

Image
If you are looking to customize the doc view based on the workflow status, it's not straight forward to give the filter column with "Approved" status. No, it doesn't work with any Text enetered. You have to follow the following table for the status you want to filter by. Status Value Not Started 0 Failed on Start 1 In Progress 2 Error Occurred 3 Canceled 4 Completed 5 Failed on Start(Retrying) 6 Error Occurred (Retrying) 7 Canceled 15 Approved 16 Rejected 17

Sharepoint 2010 Document Libraries doesn't have item-level privileges

This is a simple cool post for solving the above issue : http://www.endusersharepoint.com/EUSP2010/2010/04/09/configure-item-level-permissions-for-document-libraries-–-part-2-–-sharepoint-2010-edition/

Deploying a custom workinflow from SPD to a Prod environment

If you are creating a custom workflow or a resuable workflow through SPD 2010 for the first time, you'll end up with a question about how to move the same to production. I tried the following : 1. Create the workflow in SPD 2. Save it as Template (Saves a soln file in the Site Assets folder) 3. Download the wsp file - Ref -  http://technet.microsoft.com/en-us/library/ee662509.aspx 4. Move the wsp file to prod and deploy it - Ref -  http://technet.microsoft.com/en-us/library/ff607872.aspx But it didn't deploy the same in my Prod environment. Well, I should say it deployed but wasn't available on my Workflow list Finally, I opened the prod site from SPD and published it directly. It worked without flaw.

Cannot save the property settings for this Web Part. Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION))

I personally hate this post...but it did work for my developer : If you are using the "using" statement on the webpart page load , you might end up getting this. Wrong Coding for this scenario : using(SPWeb oWeb  = SPControl.GetContextWeb( Context )) { .... } Correct way of using : SPSite site = new SPSite(SPContext.Current.Site.ID); -- site.Dispose();

Ribbon & Workflow Customization

few nice posts on Ribbon Customization : http://msmvps.com/blogs/cobrien/archive/2010/01/25/adding-ribbon-items-into-existing-tabs-groups-ribbon-customization-part-2.aspx http://www.sharepointnutsandbolts.com/2010/01/customizing-ribbon-part-1-creating-tabs.html http://koenvosters.wordpress.com/2009/11/05/howto-add-a-button-to-the-ribbon-in-sharepoint-2010/ http://patrickboom.wordpress.com/2010/04/19/extending-the-ribbon-with-a-send-unique-link-button/ WF Customization: http://office.microsoft.com/en-us/sharepoint-designer-help/video-create-an-approval-workflow-in-sharepoint-designer-2010-VA101897477.aspx

Looking for a Hyper-V Sharepoint 2010 image??

here you go... http://www.microsoft.com/downloads/details.aspx?FamilyID=751fa0d1-356c-4002-9c60-d539896c66ce&displaylang=en