A great reference for the basics you need to know about JAVA, like structure, input/output, data types, and functions. Check out below links
Monday, December 15, 2014
Tuesday, November 04, 2014
Sunday, March 23, 2014
Tuesday, January 14, 2014
Backup / Restore SharePoint site collection using PowerShell or STSADM commands
- Backup Using PowerShell
Backup-SPSite <URL of the site collection (Ex, http://server_name/sites/site_name)> -Path <full path to the backup file (Ex, C:\Backup\site_name.bak)>
- Backup Using STSADM
stsadm -o backup -url <URL of the site collection (Ex, http://server_name/sites/site_name)> -filename <full path to the backup file (Ex, C:\Backup\site_name.bak)> -overwrite
- Restore Using PowerShell
Restore-SPSite <URL of the site collection (Ex, http://server_name/sites/site_name)> -Path <full path to the backup file (Ex, C:\Backup\site_name.bak)> -Force
- Restore Using STSADM
stsadm -o restore -url <URL of the site collection (Ex, http://server_name/sites/site_name)> -filename <full path to the backup file (Ex, C:\Backup\site_name.bak)> -overwrite
Note: Using of -overwrite or -Force to overwrite an existing backup file or site collection if it already exists.
Monday, January 13, 2014
SharePoint configration database connection string
- SharePoint 2007
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0\Secure\ConfigDB
- SharePoint 2010
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\14.0\Secure\ConfigDB
- SharePoint 2013
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0\Secure\ConfigDB
Sunday, January 12, 2014
Install SharePoint solution using PowerShell or STSADM commands
First make sure to log in to SharePoint server (Application server is preferred) with Farm admin account and run PowerShell or command line as administrator
- Install Solution Using PowerShell
> Add-SPSolution <solution file name>
> Install-SPSolution -Identity <solution name> -WebApplication <virtual server url> -GACDeployment
- Install Solution Using STSADM
> stsadm -o addsolution -filename <solution file name>
> stsadm -o deploysolution -name <solution name> -url <virtual server url>
- Uninstall Solution Using PowerShell
> Uninstall-SPSolution -Identity <solution name> -AllWebApplications
> Remove-SPSolution -Identity <solution name>
Sunday, January 05, 2014
Read Only / Non-Editable TextBox
To make Text box Read only (or Non-Editable) without disable it and appear on gray style by adding the following attributes to TextBox tag
<asp:TextBox ID="txtBox1" runat="server" onkeypress="return
false;" onpaste="return false;" Text="Read Only TextBox" />
OR
<asp:TextBox ID="txtBox2" runat="server" ReadOnly="true" Text="Read Only
TextBox" />
contenteditable="false" Or unselectable="on"
Saturday, January 04, 2014
Subscribe to:
Posts (Atom)