We are always fall in problem to install SharePoint 2010 for the first time. Here is the step by step approach to install SharePoint 2010. This article is very much handy to install SharePoint Foundation 2010. Installation of other version of SharePoint is almost same. Here I have installed Windows 2008 Server in VMWare Workstation
Year: 2013
Populate Dropdownlist with selected Index
This is a demo to populate asp.net dropdownlist by C#. Step 1: Create a asp.net dropdownlist Create a dropdownlist in asp.net page. Here, I created a dropdownlist name ddlStudentInfo. Step 2: Create StudentInfo class Create a student info class to create list of StudentInfo object. public class StudentInfo { public int Id { get; set;
File Upload to Server with ASP.net
File Upload to Server with ASP.net Uploading file to server from client sometimes very tricky. Sometimes it is required that you will not upload file more than certain size. This is the step by step approach to upload file from client to server. Step 1: Add html input type as file Step 2: Create a
How to copy folder with content with C#
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CopyFolder { class Program { static void Main(string[] args) { string sourcePath = @”G:\Mahedee_Share\Created”; string destPath = @”G:\Mahedee_Share\Development”; CopyFolder(sourcePath,destPath); } private static void CopyFolder(string sourcePath, string destinationPath) { try { //Now Create all of the directories foreach (string dirPath in Directory.GetDirectories(sourcePath, “*”,
How to configure IIS for different port
1. Open IIS Manager (run -> inetmgr) 2. In the Connections pane, expand the Sites node in the tree, and then click to select the site for which you want to add/edit binding. 3. Right click on the site and click Edit bindings 4. Select Port on the site binding pane 5. Click Edit button 6. In Edit Site Binding pane type port (ex. 1080) and click Ok
How to change localhost to domain name
How to Create Domain Controller in Windows Server 2008 R2
Domain concept is introduced in windows NT. Domain Controller (DC) is a server that is responsible to maintain security within window server domain. To install Domain Controller (DC) in Windows Server 2008 R2, follow the steps. Step 1: Click “Start -> Administrative tools -> Server Manager -> Roles -> Add Roles” Step 2: Click next
Install SQL Server 2008 R2 – Step by Step
We often fall problem to install SQL Server 2008 R2. Here is the step by step procedure to install SQL Server 2008 R2. Microsoft .NET Framework 3.5 SP1 is the pre-requisite for SQL Server 2008 R2. If it is not installed in your computer, install it before proceed to the setup procedure. Step 1: Run
Difference between String and StringBuilder
String and StringBuilder class both are used to handle string. StringBuilder is an immutable class means that you can insert, append and replace without creating a new StringBuilder instance each time. String is immutable, each time you perform an operation on the string – you are actually creating a new instance of string to replace
Display information by ASP.net Literal Control
The literal control is similar to the Label control. Unlike the Label control, the Literal control does not render its content inside of a tag. You can use the Literal control to display text or HTML content in a browser. Literal control does not support either CssClass or BackColor properties. Literal control has mode property
Call JavaScript from Asp.net code behind
Suppose you want to display confirmation message by javascript from asp.net code behind after saving data. Write the following code in your button event. protected void btnSaved_Click(object sender, EventArgs e) { string msg = “Data saved sucessfully”; Page.ClientScript.RegisterStartupScript(this.GetType(), “Alert”, “
Which Service is using which port?
Every day we fell in some difficulties and want to know which service is using by which port? Ports are divided into three ranges: The well-known ports (from 0 to 1023), the registered ports (from 1024 to 49151) and Dynamic (Private) ports (from 49152 to 65535). The Internet Assigned Numbers Authority (IANA) is responsible for
Configure Windows Server 2008 R2 to install SharePoint 2010
To install SharePoint 2010 on Windows Server 2008 R2 we need to configure server with the following roles and features. Add Roles: Application Server & Web Server To install SharePoint 2010 we need to configure server with the following roles and features. Add Roles: Application Server & Web Server Click “Server Manager” Click “Roles” Click
Get Data Length of a table in SQL Server
Get Column Name, Data Type and Data Length of a table in sql server. Here hrm_employee is a table name. SELECT COLUMN_NAME ‘Column Name’, DATA_TYPE ‘Data Type’, CHARACTER_MAXIMUM_LENGTH ‘Maximum Length’ FROM information_schema.columns WHERE TABLE_NAME = ‘hrm_employee’
Unlock file(s) which is locked by someone in TFS
If you are team project administrator, do the following to unlock or undo checkout. From the Source Control Explorer find the folder containing the locked file(s). Right click and select Find -> Find by Status “Find in Source Control” window will appears Click the Find button A “Find in Source Control” tab should appear showing the file(s) that are checked