SharePointCafe Admin

  • Error – The user does not exist or is not unique SharePoint 2010

    .

    Currently I was doing some settings for super accountIn this context, I executed below command in powershell window. stsadm -o setproperty -propertyname portalsuperreaderaccount -propertyvalue account -url “<site-url>” But my site stops working and got below screen while access url with error message. “The user does not exist or is not unique SharePoint 2010“ So I…

  • MasterPages in SharePoint 2013

    .

    As we know that there are huge changes in look and feel of SharePoint 2013 while compare to SharePoint 2010. This is all because of Master Page. There are 2 types of MasterPage which is being used in SharePoint 2013. Oslo masterpage and Seattle masterpage On Oslo masterpage left nav is removed and in Seattle…

  • Migrate SharePoint 2010 Application to SharePoint 2013 Step by Step

    .

    Migrate SharePoint 2010 to SharePoint 2013, Step by StepIn this blog, I will explain about migration from SharePoint 2010 to SharePoint 2013 which I did.PrerequisiteBe ready with a new SharePoint 2013 FarmThe first Step is related to Database as Data is important. To avoid data loss first set Database to read only. To do this go to…

  • Show Hide div area in Angular JS

    .

    This is my second post on angular js. In this post I have create 2 radiobutton and will show hide a div area on basis of selection.Create a “AngularModelController.js” file and write below code:/// <reference path=”angular.min.js” />var myApp = angular.module(‘angularApp’, [])myApp.controller(“angularController”, function ($scope) {    $scope.message = “This is my Angular JS post”;});Below is the…

  • SQL Server Interview Questions Part2

    .

    Few important questions for SQL Server asked ASP.Net Developer. Part- 2  Indexes-Indexes are used to query data faster from a table. Indexing avoids full table scan. Create Index IX_customer_amount on tblcustomer (purchase_amount ASC) So this index will store purchase amount in ascending order.Purchase amount20005000550075009000 To view all indexes on a table either go to object…

  • Use SharePoint Searchservice to get content from public site

    .

    How to crawl a public website content into a SharePoint site?Just now i developed this module, the scenario is:I have a page in SharePoint and I want to search content from other public websites and want to show the result in a data source into my Page.First you need to configure search service.Create scope, each…

  • SQL Server Interview Questions.

    .

    In this blog, we will see some of the important SQL Interview Questions and Answers. 1. What is a Primary Key? The primary key is used to uniquely identify a record. A table can not have more than one primary key.If a table has userid, email, passport no. and userid is the primary key then how to maintain the…

  • JQuery Tutorial

    .

    What is JQuery? · Jquery is a light weight java script library.· JQuery is cross browser.· Easy to write compare to java script. $(document).ready is a jquery event. It fires as soon as the DOM is loaded.This event is fired before all the images, css are fully loaded. $(window).load event fires when DOM and all…

  • Improve ASP.Net Website performance using PageAdapter

    .

    If you are working on a website then there might be a chance to handle a large amount of data on a public site. Generally, we are binding code with Gridview like this: Gridview1.Datasource = dataset;GridView.DataBind(); After that our page loads data and it looks ok, but when we look into view source of the…

  • Active Directory with C# Programming

    All about Active Directory with C# Programming

    .

    In this blog, We will perform operations with Active Directory with C# Programming. Some of the operations such as enabling users, and disabling users. Before moving ahead, We will first understand – What is an Active Directory. What is Active Directory? Active Directory is a central database for an organization. It keeps the record in…

  • ,

    HTML Form Validations

    .

    In this blog, we will see HTML form validation code in JavaScript. My another blog on AMP HTML and Angular JS.Form validation for Alphabet only: Sometimes you may require allowing the only alphabet in a particular input field. For Eg first name and last name, a field should not allow any other character apart from…

  • How to access SharePoint List with List Web Service

    .

    SharePoint List Web service allow developers to access, manipulate List and List items through a service url. Generally List web service url format is : http://site/_vti_bin/lists.asmx Now lest start consuming this service and manage SharePoint List. Open this url: http://spsite:1985/_vti_bin/lists.asmx Open Visual Studio 2010. Right click on project and add service reference. Then click on Advanced……

  • Bind Drop-down with SharePoint List and display list items in a Gridview

    .

    In this blog, I will explain about below point through C# code:1. Bind all list in a dropdown2 Load List items in a Gridview once a user changes list name in dropdown. You need to create a visual webpart in Visual studio 2010. Visual WebPart ASCX code: <asp:DropDownList ID=”ddlList” AutoPostBack=”true” runat=”server”     onselectedindexchanged=”ddlList_SelectedIndexChanged”></asp:DropDownList><p>    <asp:Label…

  • Difference between Stored Procedure and Function in SQL

    .

    Stored Procedure vs Function 1)Functions must return a value. Stored procedure need not be. 2)Stored procedures can be called using EXEC command where as Functions can be called from another SQL Statement. 3)Stored Procedures are precompiled. Functions are not precompiled. 4)Generally Stored procedures are used for executing business logic where as Functions are used to…

  • All about Managed Metadata Services in SharePoint 2010

    .

    What is Metadata? Metadata is data about data i.e. information about some object. Managed Metadata Service is a feature of enterprise content management. Managed metadata allows same content type to be used across multiple site collection, this is called content type hub. It helps to make search more easy and friendly. For eg – There…

  • Configure FBA (Form Based Authentication) in SharePoint 2010

    .

    Go to %windir%Microsoft.NetFramework64v2.0.50727 , and run aspnet_regsql.exe

  • How to create site definition in SharePoint 2010

    .

    How to create site definition in SharePoint 2010? Let’s start this blog by understanding the difference between Site Definition and Site Template.Site Template is a ready made layout that we can use to create a site. It has pre-defined top nav, quick launch, list etc. Site Definition is a custom layout that we can create.…

  • SharePoint Interview Questions and Answers

    .

    Below are few important SharePoint interview questions and their answers. SharePoint Interview Questions and Answers Q. Explain Below code  using (SPSite site = new SPSite(SPContext.Current.Web.Url)) // Gets the absolute url of the website           using (SPWeb web = site.RootWeb) //  Gets the root website of site collection using (SPWeb web = site.OpenWeb())// OpenWeb…

  • ,

    Important C# Interview Questions and Answers

    .

    In this blog, I have collected important C# interview questions and answers and their answers, which will help you in preparing your interview. If you are an ASP.Net or ASP.Net Core programmer or developer who is preparing for an interview, then believe that you are reading the right blog. Whether you are a fresher or have…

  • Important ASP.Net Interview Questions and Answers

    .

    In this blog, I have collected important ASP.Net interview questions and answers. Q. HTTP Handler vs HTTP Module in ASP.Net HTTP handler is a process which runs against an HTTP request. Based on file extension HTTP handler executes. Custom HTTP handler can be created on specific requirement. Generic Web handler (.ashx) – Default HTTP handler for all…


RSS
YouTube
YouTube
Instagram