Skip to main content

Posts

Showing posts from August, 2012

How to Use JQuery for a div in webpart to slideup and slidedown, in updatepanel.

Q) I have used JQuery for a div in webpart to slideup and slidedown, in updatepanel , as... $(document).ready( $(function () { $("#userClose").click(function () { $('#userDetailsShow').slideUp('3000', function () { $('#userDetailsHide').slideDown('3000'); } ); });  Its working fine but giving error:-- "object doesn't support this property or method 'call' in JQuery v1.4.3.min.js," Solution: $(document).ready( function () { $("#userClose").click(function () { $('#userDetailsShow').slideUp('3000', function () { $('#userDetailsHide').slideDown('3000'); }); });  You have an extra “$(“  before “function()” that would not be necessary.  If still not working - Are you using any other javascript libraries other than jQuery. If you are using Prototype and jQuery you might see an error similar to this. Because both are using ‘$’ related syntax for object acc...

How to Configuring Active Directory Domain Service (AD DS) in Windows Server 2012

Configuring Active Directory Domain Service (AD DS) in Windows Server 2012: Windows Server 2012 introduces a new features with a key emphasis on Cloud integration.  Windows continues to grow and mature as an operating system with the latest iteration being more secure, reliable and robust and more importantly making it easily interoperable with other systems. Installing Windows Server 2012: The first step is to boot up from the CD or ISO image and select your language settings. Select your Language and input options and then click on Next . Click Install Now Select the operating system you want to install.  I have selected Windows Server 2012 Release Candidate Server with a GUI.  The other option is server core which was first introduced in Windows 2008 and is a minimal install with no GUI but provides remote management through Windows PowerShell and other tools. Click Next Accept the License terms Click Next ...

Installing SharePoint2013 on Windows 2012 Server

Installing SharePoint2013 on Windows 2012 Server With SQL Server 2012: Part1 More Information about  hardware and software requirements on Sharepoint 2013 from the following Microsoft TechNet article; http://technet.microsoft.com/library/cc262485(office.15).aspx The setup environment will comprise of the following; Windows 2012 Server Release Candidate running SQL 2012 RTM Windows 2012 Server Release Candidate running Active Directory Domain Services (AD DS) Windows 2012 Server Release Candidate running Exchange 2013 Consumer Preview Windows 2012 Server Release Candidate running SharePoint 2012 Consumer Preview Windows 8 Consumer Preview Client running Office 2013 Consumer Preview Installing SQL 2012  on Windows 2012 Server: Prerequisite: If you don’t have your Active Directory in place for your test environment, you can follow my step by step guide in Configuring Active Directory (AD DS) in Windows 2012 . For SQ...

How to Move a SharePoint 2010 Content Database to a Different Drive or Specified folder?

The SQL server is running out of drive space . The solution is to move the ContentDB There are two ways of going about this.  One is to move to a new server instance. More information The second solution is to move the database file to a new drive To detach and attach the database in the same instance, we don’t need to tell SharePoint to do anything differently. With that said there are a couple of tricks you can use to minimize downtime. Start by moving only one ContentDB at a time. This will allow the other sites located in other ContentDBs to stay online. Also, setting the ContentDB to read-only and doing a copy backup users can still access the sites and data, but can’t write. This should help to insure data consistency during the move. Just be sure to remove the read-only attribute of the “ copied ” ContentDB before attaching.  In SQL Server, you can move the data, log, and full-text catalog files of a user database to a new location by specif...

How to Change the Master Page for All Sites in Sharepoint 2010 Using Console Application

 Change the Master Page for All Sites in Sharepoint 2010 Using Console Application: using System; using System.Collections.Generic; using System.Linq; using System.Data; using System.Collections; using System.Text; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; namespace UpdateMasterPages {     class Program     {            static void Main(string[] args)         {             using (SPSite currentSite = new SPSite("http://server/sites/"))             {                 SPWebCollection webCollection = currentSite.AllWebs;                 foreach (SPWeb web in webCollection)                 {                     string masterPageUrl = string...

How to Change the Master Page for Single Subsite in Sharepoint 2010 Using Console Application

Change the Master Page for Single Subsite in Sharepoint 2010 Using Console Application: using System; using System.Collections.Generic; using System.Linq; using System.Data; using System.Collections; using System.Text; using System.IO; using Microsoft.SharePoint; using Microsoft.SharePoint.Administration; namespace UpdateMasterPages {     class Program     {         static void Main(string[] args)         {             using (SPSite currentSite = new SPSite("http://server/subsite/"))             {                SPWebCollection webCollection = currentSite.AllWebs;                SPWeb web = currentSite.OpenWeb();                     try                     {   ...

How to Change the UI Version of the Sharepoint Using Console Application

How to Change the UI Version of the Sharepoint Using Console Application: After Migrate Sharepoint 2007 to Sharepoint 2010,you need change the version of your site otherwise it looks similar to Sharepoint 2007 site. using System; using System.Collections.Generic; using System.Linq; using System.IO; using System.Text; using Microsoft.SharePoint; using System.Collections.ObjectModel; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.Administration; namespace VisualUpgrade {     class Program     {         static void Main(string[] args)         {             using (SPSite siteCollection = new SPSite("http://server/sites/"))             {                 SPWebCollection sites = siteCollection.AllWebs;                 foreach (SPWeb ...

How to Implement The Claims Based Authentication(FBA-Form Based Authentication)

SharePoint 2010 supports FBA, Like WSS 3.0 or MOSS 2007. It's a feature of ASP .Net which we use with SharePoint. SharePoint 2010 you can create web applications using Classic Based Authentication or Claims based Authentication. However, FBA can only be configured with web applications created using Claims Based Authentication. What are the differences between Classic Mode Authentication and Claims based Authentication? Classic Mode Authentication: It refers to the integrated windows authentication. You cannot configure the Forms based authentication if your web application is using Classic Mode Authentication. You can convert a web application from Classic Mode Authentication to Claims Based Authentication. However, that can only be done using PowerShell commands and its an irreversible process. I have detailed steps to convert the web application from Classic Mode authentication to Claims Based Authentication. Claims Based Authentication: SharePoint 2010 is built on Wi...