• If you have access to MSDN Subscription then long awaited SharePoint Beta 2 is available on there! 

    Please sign up for our latest demos on SharePoint 2010 here: http://www.sharepointengine.com/Events.aspx
  • SharePoint Pharma Deployment User Group led by Les Jordan is a great way to learn from peers in Life Science Industry. Plan is to meet first Tuesday of every month. Topics will cover both Business and Technical Aspects along with Case Studies and Issues faced at Pharma companies specially in content management space.

    It was great experience attending both meetings at PDUG and also BioIT alliance meeting held in Boston last month.

    Also there is live feed for this meeting for remote users.
  • Recently got issue from our client in which only one web site was having issue accessing all pages under /_layouts/ directory.

    Error that pops up: /_layouts/_layouts/application.master does not exist

    Issue we figured out was caused by a novice developer who used SharePoint Designer to change few pages under Layouts Directory on production box!

    Issue Resolution that worked for us :)

    1. Go to IIS Web Site that is having this issue and make sure that layouts Folder under web site has below icon:

    In our case it was changed to a Gear Icon.

    If it is a Gear Icon then you can right click and check this setting under Virtual Directory Tab:

    Above is correct setting as it should be in ideal configuration, if that is not the case then you can reset it by clicking on Remove tab that would be enabled across Application name.

    Hope this helps to avoid entire reconfiguration!
  • It took a while to figure out creating a custom content type based of Wiki Page via User Interface.
    By default wiki content type belongs to Hidden group in SharePoint (_hidden) and there is not option to select it as base type while creating custom content type.

    Here are the steps to accomplish this:

    1. Go to Content Type Gallery from Site Settings Page and Click on Task

    2. Notice marking in the Url - Change 0x108 to 0x010108 and hit enter

    3. ou should be able to see wiki page content type:

    4. Click on Name, Description and Group

    5. Change Group from _Hidden to Document Content Type and Click Ok

    6. Make sure you see Wiki Content Type associated with Document Content Type Group

    7. Go back to Site Content Type Gallery and Click on New Content Type and you will see that now you have an option to have new content type that can be inherited from wiki page:

    Please post your comments if you have any questions or feedback.

  • While configuring Office SharePoint Search you get an error - An unhandled exception occured in the application

    Possible Cause - In User Name field - domain is required - search account should be "domain name\Account Name", make sure this is the case and try again.
  • As an administrator you checked out master page either via SharePoint designer or from Pages Library in publishing site in MOSS 2007. And suddenly all the users who had access to the site just fine starts getting access denied messages.

    Make sure you check in master page to resolve this issue.

    There are other possible reasons for access denied message -

    Even though master page is checked in users are getting access denied message but as an admin you can login fine to the site. This can be caused by a custom control on the Master Page or page layout or a web part that tries to accomplish things that are beyond logged user's access levels. Make sure you analyze simply by removing web parts first and if this does not resolve then remove custom controls or custom code blocks from the master page.

    Hope this got you moving further!
  • After installing VS 2008 SP1, I couldn't open a solution in .NET.


    Unable to Open Web Site http://localhost:xxx. To access Web sites on local IIS Web Server, you must run Visual Studio under and Administrator account and have access to the IIS metabase. Alternatively, install FrontPage Server Extensions (FPSE) and then grand FPSE access to users who will run Visual Studio


    I haven't looked in to resolution yet but will update once I have it.
  • Bob has excellent post explaining ease of using content types and rolling them up with Content Query Web Part:


    Here is the post of customizing CQWP for extending its OOB functionality:

  • Visual Studio has bunch of extensions that it has released over period to support applications like SharePoint, InfoPath, Office etc.

    When you try to open project that was built by using one of the template provided by this extensions you end up getting error:

    Project type is not supported by this installation.

    Here are the steps you can follow to over come this issue and finding the tool kit that is required by the project:

    1. Open ProjectName.csproj in notepad
    2. Find out node and get Guids and Google it, more than likely you will know exact kit that is required.

    Happy Programming!
  • This post is intented for .NET developers who are new to SharePoint, I will be listing out help ful tools that are available to speed up development and for SharePoint customizations.

    Please add your suggestions and other tools that you know of.

    WSP Builder - Available in CodePlex for building web parts, features and workflows - their plugin for Visual Studio will help you build wsp deployment packages easily.

    U2U CAML Query Builder - This tool is available that will help you build CAML Query that are used for SharePoint Lists for retrieving data

    SharePoint Solution Generator - For building Site Definitions and List Definitions, I have faced issues with this tool for sites with customizations but you definitely want to try this - if it goes through it saves lot of time building custom definitions

    Best Practice Analyzer - Make sure your databases are configured correctly

    SharePoint Comunity Kit - Available on CodePlex has free web parts and other tools

    SharePoint Application Templates - 40 templates available from Microsoft Site
  • Cannot get Membership Provider with name . The membership provider for this process was not properly configured. You must configure the membership provider in the .config file for every SharePoint process.

    Steps to resolve this in IIS 7.0

    When you manually configured web.config entries as you would have done in IIS 6.0, IIS 7.0 does not recognize this membership provider unless it is added by going into IIS Manager >> Site Settings >> Providers >>

    Add both membership provider and role provider entries in .NET Users and .NET Roles in here and above issue is resolved.

    Also make sure this is done in all web applications - Central Admin, Windows Authentication Web App and Extended Web Application
  • This is second post on integrating youtube with SharePoint, in last post I described how to upload video in Youtube, in this post I will go over for retrieving youtube video and set chrome player to play it -

    Here are two methods for setting chrome player to play video by video id:

    void SetChromePlayer(string sVideoID)
    ChromePlayerString = @"

    You need Flash player 8+ and JavaScript enabled to view this video.


    public string jscript = "";
  • There are number of intergration points between YouTube, Google services through api provided by Google: http://code.google.com/apis/youtube/overview.html

    You will need need Client Id and Developer Key for using Google's data service API, you can apply it from above link. There is also sample code available for reference for .NET developers - http://code.google.com/apis/youtube/code.html#sample_code

    Here is the code snipped for uploading video to YouTube:

    Web Part User Interface Button Upload Code:

    FileUploadField.Value = FileUrl;
    oVideoUploadData = new VideoUploadData();
    Stream iStream = VideoFileUpload.PostedFile.InputStream;
    oVideoUploadData.UploadToYouTube([Title], [Description], [Category], [Keywords],
    iStream, [FileName], _listName, sSiteUrl, sWebUrl);

    /// Method to upload the video to YouTube from the webpart page

    public bool UploadToYouTube(string sTitle, string sDescription, string sCategory, string sKeywords, Stream iStream, string fname, string ListName, string SiteUrl, string WebUrl) {
    SPSite CurrentSite = new SPSite(SiteUrl);
    SPWeb CurrentWeb = null;
    CurrentWeb = CurrentSite.OpenWeb(WebUrl);

    YouTubeEntry VideoEntry = new YouTubeEntry();
    VideoEntry.Media = new MediaGroup();
    VideoEntry.Media.ExtensionElements.Add(new Private());
    VideoEntry.Media.Description = new MediaDescription(sDescription);
    VideoEntry.Media.Title = new MediaTitle(sTitle);
    VideoEntry.Media.Keywords = new MediaKeywords(sKeywords);
    MediaCategory category = new MediaCategory(sCategory);
    category.Attributes["scheme"] = YouTubeService.DefaultCategory;
    VideoEntry.MediaSource = new MediaFileSource(iStream, fname, "video/quicktime");
    YouTubeEntry createdEntry = service.Upload(VideoEntry);
    string sUri = createdEntry.Id.AbsoluteUri;
    string[] SlashSplitArray = sUri.Split('/');
    string sVideoId = SlashSplitArray[SlashSplitArray.Length - 1].ToString();
    CurrentWeb.AllowUnsafeUpdates = true;
    SPList CurrentList = CurrentWeb.Lists["" + ListName + ""];
    SPListItem VideoItem = CurrentList.Items.Add();
    VideoItem["Title"] = sTitle;
    VideoItem["Video ID"] = sVideoId;
    VideoItem["Comments"] = sDescription;
    VideoItem["Category"] = sCategory;
    VideoItem["Keywords"] = sKeywords;
    VideoItem["List ID"] = _listid;
    VideoItem["Web ID"] = _webid;
    VideoItem["List Item ID"] = _itemid;
    _error = false;
    // } }
    catch (GDataRequestException gdre)
    _exceptionOccured = gdre;
    WriteToEventLog(gdre.Message, EventLogEntryType.Error, "Upload in YouTube");
    _error = true;
    catch (Exception ex)
    _exceptionOccured = ex;
    WriteToEventLog(ex.Message, EventLogEntryType.Error, "Upload in YouTube");
    _error = true;
    _running = false;
    return _error;

    void SetService(SPWeb CurrentWeb)
    SPList ShareTubeConfigurationList = CurrentWeb.Lists["ShareTube Configuration Settings List"];
    SPQuery ConfigurationQuery = new SPQuery();
    ConfigurationQuery.Query = "";
    SPListItemCollection ConfigurationItemCollection = ShareTubeConfigurationList.GetItems(ConfigurationQuery);
    SPListItem ConfigurationItem = ConfigurationItemCollection[0];
    _developerkey = ConfigurationItem["Developer Key"].ToString();
    _configurationkey = ConfigurationItem["Client ID"].ToString();
    _applicationTitle = ConfigurationItem["Title"].ToString();
    _userName = ConfigurationItem["User Name"].ToString();
    _password = ConfigurationItem["Password"].ToString();
    _itemid = ConfigurationItem.ID.ToString();
    _listid = ShareTubeConfigurationList.ID.ToString();
    _webid = CurrentWeb.ID.ToString();
    string PasswordString = null;
    string Passwordtext = null;
    string[] Passwordstr;
    Passwordstr = _password.Split('#');
    Passwordtext = Passwordstr[1];
    Passwordtext = Passwordtext.Remove(Passwordtext.Length - 1, 1);
    string Passwordstore = Passwordtext;
    Security sec = new Security();
    string DecPassword = sec.Decrypt(ref Passwordtext);
    service = new YouTubeService(_applicationTitle, _configurationkey, _developerkey);
    service.setUserCredentials(_userName, DecPassword);
    catch (Exception ex)
    WriteToEventLog(ex.Message, EventLogEntryType.Error, "SetService error");
  • Here are the steps to programmatically migrate documents from Site Scape Forum (now owned by Novell) to SharePoint -

    1. Make archive copy of site scape forum documents
    2. Parse this archive file and extract meta data propeties
    3. Using SharePoint web services upload this documents to selected SharePoint site

    Points to consider:

    Make a console application that can run on site scape or any other box other than SharePoint.
    Email me if you would like to get this tool
2013 © SharePoint Engine All rights reserved. Developed By Binary Republik