Wednesday, March 23, 2011

Sharepoint 2010 Certification Drive

Preparing for a Sharepoint 2010 certificate 070-667, 070-668, 070-573, 070-576??

I see a nice initiative by www.shopSharepoint.com. Click below to their Blogs



Tuesday, December 07, 2010

Interesting but an annoying thing with Visual WebPart Renaming

When you rename the Visual Webpart, you might want to change the folder structure in which the user controls are deployed on the ControlTemplates and the safecontrol entries. You might need change all the new information (namespace, class name, folder name) in the SharepointProjectItem.spdata file.

Where to find this, I did a search on the project with the old name, boom I got this file opened automatically.

Saturday, December 04, 2010

Running a sharepoint windows app in x64 Vs x86

If you execute the following line of code on a Windows app and get the error on red specified :
=================================================================

SPSite site = new SPSite("http://yoursite.com"); 
SPWeb web = site.OpenWeb();
=================================================================
Error : The Web application at http://yoursite.com could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
=================================================================

Issue is : you are not targetting the X64 - targeting x64 or AnyCpu & .NET 3.5 Framework in your Windows Application will resolve this issue.
=================================================================

Wednesday, November 17, 2010

Workflow as wsp - Create, Deploy & Move it to Production

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. Hope this helps.

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

Tuesday, September 28, 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 : 

  1. Click Start, click Run, type regedit, and then click OK.
  2. In Registry Editor, locate and then click the following registry key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0
  3. Right-click MSV1_0, point to New, and then click Multi-String Value.
  4. Type BackConnectionHostNames, and then press ENTER.
  5. Right-click BackConnectionHostNames, and then click Modify.
  6. 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.
  7. Quit Registry Editor, and then restart the IISAdmin service.

Saturday, September 25, 2010

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'