Wednesday, April 25, 2012

SharePoint 2010 Redirect Web Part

This is a sandbox web part for SharePoint 2010.

The web part will redirect a user to a given page if that user is effectively part of a SharePoint group. So If a user is in Active Directory group and the AD group is in the given SharePoint group, the user will be redirected.

Please use the following Link

http://sharepointredirect.codeplex.com/

what is a SharePoint redirect what part?The SharePoint redirect Web parts is a SharePoint 2010 sandbox solution. It gives you a Web parts that you can place on any SharePoint page. The web parts will automatically redirects the user to any specified page based on the user's membership to a SharePoint group whether this membership is a direct membership or an indirect membership.

A direct membership means that the user is directly added to the SharePoint group. An indirect membership means that the user for example belongs to an active directory group and that active directory group is part of the SharePoint group.

installation

This solution is simple. The only file you need is the WSP file. And the only access you need is to be a SharePoint site collection administrator.

Simply navigate to the site collection site settings page link like on solutions. Add a solution by selecting the WSP file. Then activate the solution. Once you do that browse to any page where you want and the Web part and try to insert a web part to the page. Under the custom Web part category you will see the Web part.

configuration

Configuring the web part is easy. Simply edit the web parts and you'll see three main fields to to use. The first one is the SharePoint group name. This is the group that the current user will be tested against and the user will be redirected based on whether they belong to that group or not. The second field is then redirect to page. This is the page to be redirected to event the user belongs to that SharePoint group. The last field is a status field which simply either makes the web part active or inactive.

Uses
This web part is very useful in any SharePoint environment. Espeically in hosted SharePoint environments where uploading server side code is not allowed.

Software requirements (SharePoint Server 2010)

These are Minimum requirements

Database server in a farm - One of the following:

The 64-bit edition of Microsoft SQL Server 2012.

The 64-bit edition of Microsoft SQL Server 2008 R2.

The 64-bit edition of Microsoft SQL Server 2008 with Service Pack 1 (SP1) and Cumulative Update 2.

Note:
We do not recommend that you use CU3 or CU4, but instead CU2, CU5, or a later CU than CU5.

The 64-bit edition of Microsoft SQL Server 2005 with Service Pack 3 (SP3).


Single server with built-in database


The 64-bit edition of Windows Server 2008 R2 Standard, Enterprise, Data Center, or Web Server; or the 64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, Data Center, or Web Server.

If you are running Windows Server 2008 without SP2, the Microsoft SharePoint Products Preparation Tool installs Windows Server 2008 SP2 automatically.

Note:
You must download an update for Windows Server 2008 and Windows Server 2008 R2 before you run Setup. The update is a hotfix for the .NET Framework 3.5 SP1 that is installed by the Preparation tool. It provides a method to support token authentication without transport security or message encryption in WCF.

KB979917 - QFE for Sharepoint issues - Perf Counter fix & User Impersonation (http://go.microsoft.com/fwlink/p/?LinkId=192577)

For Windows Server 2008 SP2, download the Windows6.0-KB979917-x64.msu (Vista) file.

For Windows Server 2008 R2, download the Windows6.1-KB979917-x64.msu (Win7) file.

For information, see the related KB article Two issues occur when you deploy an ASP.NET 2.0-based application on a server that is running IIS 7.0 or IIS 7.5 in Integrated mode (http://go.microsoft.com/fwlink/p/?LinkId=192578).

The preparation tool installs the following prerequisites:
Web Server (IIS) role

Application Server role

Microsoft .NET Framework version 3.5 SP1

SQL Server 2008 Express with SP1

Microsoft Sync Framework Runtime v1.0 (x64)

Microsoft Filter Pack 2.0

Microsoft Chart Controls for the Microsoft .NET Framework 3.5

Windows PowerShell 2.0

SQL Server 2008 Native Client

Microsoft SQL Server 2008 Analysis Services ADOMD.NET

ADO.NET Data Services Update for .NET Framework 3.5 SP1

A hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF.

Windows Identity Foundation (WIF)

Note:
If you have Microsoft "Geneva" Framework installed, you must uninstall it before you install the Windows Identity Foundation (WIF).


Front-end Web servers and application servers in a farm

The 64-bit edition of Windows Server 2008 Standard, Enterprise, Data Center, or Web Server with SP2; the 64-bit edition of Windows Server 2008 R2 Standard, Enterprise, Data Center, or Web Server; or the 64-bit edition of Windows Server 2008 R2 Service Pack 1 (SP1) Standard, Enterprise, Data Center, or Web Server. If you are running Windows Server 2008 with SP1, the Microsoft SharePoint Products Preparation Tool installs Windows Server 2008 SP2 automatically.

Note: You must download an update for Windows Server 2008 and Windows Server 2008 R2 before you run Setup. The update is a hotfix for the .NET Framework 3.5 SP1 that is installed by the Preparation tool. It provides a method to support token authentication without transport security or message encryption in WCF.


KB979917 - QFE for Sharepoint issues - Perf Counter fix & User Impersonation (http://go.microsoft.com/fwlink/p/?LinkId=192577)

For Windows Server 2008 SP2, download the Windows6.0-KB979917-x64.msu (Vista) file.

For Windows Server 2008 R2, download the Windows6.1-KB979917-x64.msu (Win7) file.

For information, see the related KB article Two issues occur when you deploy an ASP.NET 2.0-based application on a server that is running IIS 7.0 or IIS 7.5 in Integrated mode (http://go.microsoft.com/fwlink/p/?LinkId=192578).

The preparation tool installs the following prerequisites:
Web Server (IIS) role

Application Server role

Microsoft .NET Framework version 3.5 SP1

Microsoft Sync Framework Runtime v1.0 (x64)

Microsoft Filter Pack 2.0

Microsoft Chart Controls for the Microsoft .NET Framework 3.5

Windows PowerShell 2.0

SQL Server 2008 Native Client

Microsoft SQL Server 2008 Analysis Services ADOMD.NET

ADO.NET Data Services Update for .NET Framework 3.5 SP1

A hotfix for the .NET Framework 3.5 SP1 that provides a method to support token authentication without transport security or message encryption in WCF.

Windows Identity Foundation (WIF)

Note: If you have Microsoft "Geneva" Framework installed, you must uninstall it before you install the Windows Identity Foundation (WIF).


Client computer A supported browser.

Optional software

Environment Optional software
Single server with built-in database and front-end Web servers and application servers in a farm
Microsoft SQL Server 2008 R2 to work with PowerPivot workbooks.

Windows 7 or Windows Vista.

SQL Server Remote BLOB Store installation package from the Feature Pack for Microsoft SQL Server 2008 R2.

The preparation tool installs the following optional software:

Microsoft SQL Server 2008 R2 Reporting Services Add-in for Microsoft SharePoint Technologies 2010 (SSRS) to use Access Services for SharePoint Server 2010.

Microsoft Server Speech Platform to make phonetic name matching work correctly for SharePoint Search 2010.

Client computer
Microsoft Office 2010 client.
Microsoft Silverlight 3.


Access to applicable software

The Web Server (IIS) role and the Application Server role can be enabled manually in Server Manager.

In scenarios where installing prerequisites directly from the Internet is not possible or not feasible, you can install the prerequisites from a network share. For more information, see Install prerequisites from a network share (SharePoint Server 2010).
SharePoint Server 2010 Standard Trial (http://go.microsoft.com/fwlink/p/?LinkId=197413)

SharePoint Server 2010 Enterprise Trial (http://go.microsoft.com/fwlink/p/?LinkId=197414)

2010 Server Language Packs for SharePoint Server 2010, Project Server 2010, Search Server 2010, and Office Web Apps 2010 (http://go.microsoft.com/fwlink/p/?LinkId=197415)

Windows Server 2008 R2 and SharePoint Server 2010: Better Together (white paper)

Business Productivity at Its Best: Microsoft Office 2010 and SharePoint Server 2010 Better Together (white paper)

Windows Server 2008 (http://go.microsoft.com/fwlink/p/?LinkId=197426)

Windows Server 2008 R2 (http://go.microsoft.com/fwlink/p/?LinkId=197428)

Windows Server 2008 R2 SP1 (http://go.microsoft.com/fwlink/p/?LinkId=214566)

SQL Server 2008 R2 (http://go.microsoft.com/fwlink/p/?LinkId=197429)

SQL Server 2008 (http://go.microsoft.com/fwlink/p/?LinkID=179611)

SQL Server 2005 (http://go.microsoft.com/fwlink/p/?LinkId=197431)

Microsoft SQL Server 2008 SP1 (http://go.microsoft.com/fwlink/p/?LinkId=166490)

Cumulative update package 2 for SQL Server 2008 Service Pack 1 (http://go.microsoft.com/fwlink/p/?LinkId=165962)

Cumulative update package 5 for SQL Server 2008 (http://go.microsoft.com/fwlink/p/?LinkId=197434). Download the SQL_Server_2008_RTM_CU5_SNAC file.

Microsoft SQL Server 2005 SP3 (http://go.microsoft.com/fwlink/p/?LinkId=166496)

Cumulative update package 3 for SQL Server 2005 Service Pack 3 (http://go.microsoft.com/fwlink/p/?LinkId=165748)

Microsoft Windows Server 2008 SP2 (http://go.microsoft.com/fwlink/p/?LinkId=166500)

Windows Server 2008 with SP 2 FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/p/?LinkID=160770)

Windows Server 2008 R2 FIX: A hotfix that provides a method to support the token authentication without transport security or message encryption in WCF is available for the .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/p/?LinkID=166231)

Microsoft .NET Framework 3.5 Service Pack 1 (http://go.microsoft.com/fwlink/p/?LinkId=131037)

Microsoft SQL Server 2008 Express Edition Service Pack 1 (http://go.microsoft.com/fwlink/p/?LinkId=166503)

Windows Identity Foundation for Windows Server 2008 (http://go.microsoft.com/fwlink/p/?LinkID=160381)

Windows Identity Foundation for Windows Server 2008 R2 (http://go.microsoft.com/fwlink/p/?LinkID=166363)

Microsoft Sync Framework v1.0 (http://go.microsoft.com/fwlink/p/?LinkID=141237)

Microsoft Office 2010 Filter Packs (http://go.microsoft.com/fwlink/p/?LinkId=191851)

Microsoft Chart Controls for Microsoft .NET Framework 3.5 (http://go.microsoft.com/fwlink/p/?LinkID=141512)

Windows PowerShell 2.0 (http://go.microsoft.com/fwlink/p/?LinkId=161023)

Microsoft SQL Server 2008 Native Client (http://go.microsoft.com/fwlink/p/?LinkId=166505)

Microsoft SQL Server 2008 Analysis Services ADOMD.NET (http://go.microsoft.com/fwlink/p/?linkid=160390)

KB979917 - QFE for Sharepoint issues - Perf Counter fix & User Impersonation (http://go.microsoft.com/fwlink/p/?LinkId=192577)

For Windows Server 2008 SP2, download the Windows6.0-KB979917-x64.msu (Vista) file.

For Windows Server 2008 R2, download the Windows6.1-KB979917-x64.msu (Win7) file.

ADO.NET Data Services Update for .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/p/?LinkId=163519) for Windows Server 2008 SP2

ADO.NET Data Services Update for .NET Framework 3.5 SP1 (http://go.microsoft.com/fwlink/p/?LinkId=163524) for Windows Server 2008 R2 or Windows 7

Microsoft Silverlight 3 (http://go.microsoft.com/fwlink/p/?LinkId=166506)

Microsoft Office 2010 (http://go.microsoft.com/fwlink/p/?LinkID=195843)

SQL Server 2008 R2 Reporting Services Add-in for Microsoft SharePoint Technologies 2010 (http://go.microsoft.com/fwlink/p/?LinkId=192588)

SQL Server Remote BLOB Store installation package from the Feature Pack for Microsoft SQL Server 2008 R2. For the download, go to the Download Center (http://go.microsoft.com/fwlink/p/?LinkID=177388).

Microsoft Server Speech Platform (http://go.microsoft.com/fwlink/p/?LinkID=179612)

Speech recognition language for English (http://go.microsoft.com/fwlink/p/?LinkID=179613)

Speech recognition language for Spanish (http://go.microsoft.com/fwlink/p/?LinkID=179614)

Speech recognition language for German (http://go.microsoft.com/fwlink/p/?LinkID=179615)

Speech recognition language for French (http://go.microsoft.com/fwlink/p/?LinkID=179616)

Speech recognition language for Japanese (http://go.microsoft.com/fwlink/p/?LinkID=179617)

Speech recognition language for Chinese (http://go.microsoft.com/fwlink/p/?LinkID=179618)

Office Communicator 2007 R2 (http://go.microsoft.com/fwlink/p/?LinkId=196930)

Microsoft SharePoint Designer 2010 (32-bit) (http://go.microsoft.com/fwlink/p/?LinkId=196931)

Microsoft SharePoint Designer 2010 (64-bit) (http://go.microsoft.com/fwlink/p/?LinkId=196932)
The 64-bit edition of Windows Server 2008 Standard, Enterprise, Data Center, or Web Server with SP2

Hardware requirement => SharePoint Server 2010

Hardware requirements — Web servers, application servers, and single server installations

The requirements in the following table apply both to installations on a single server with a built-in database and to servers running SharePoint Server 2010 in a multiple server farm installation.

Component Minimum requirement

Processor - 64-bit, four cores

RAM - 4 GB for developer or evaluation use , 8 GB for production use in a single server or multiple server farm

Hard disk - 80 GB for system drive

You must have sufficient space for the base installation and sufficient space for diagnostics such as logging, debugging, creating memory dumps, and so on. For production use, you also need additional free disk space for day-to-day operations. Maintain twice as much free space as you have RAM for production environments. For more information, see Capacity management and sizing for SharePoint Server 2010.

Hardware requirements—Database servers

The requirements in the following table apply to database servers in production environments with multiple servers in the farm.

Component Minimum requirement Processor - 64-bit, four cores for small deployments , 64-bit, eight cores for medium deployments

RAM - 8 GB for small deployments , 16 GB for medium deployments


Note: These values are higher than those recommended as the minimum values for SQL Server because of the distribution of data required for a SharePoint Products 2010 environment

Hard disk - 80 GB for system drive
Hard disk space is dependent on the size of your SharePoint content.

What are the different Types of Upgrade method used in Sharepoint 2010

Before you run any process to upgrade from Microsoft Office SharePoint Server 2007 to Microsoft SharePoint Server 2010, you have to determine which upgrade approach to take.

Use the information in this article to help compare the pros and cons for each approach and to review information about special cases that might influence your approach


Approach Description Pros Cons
In-place upgrade You can install SharePoint Server 2010 on the same hardware. You can also upgrade the content and settings in the server farm as part of a single process. Farm-wide settings are preserved and upgraded. Customizations are available in the environment after the upgrade, although manual steps may be required to upgrade or rework them.Servers and farms are offline while the upgrade is in progress. The upgrade proceeds continuously. Consequently, you must allocate enough time for all content to be upgraded in sequence.
Database attach upgrade You can upgrade the content for the environment on a separate farm. The result is that you do not upgrade any of the services or farm settings. You can upgrade the databases in any order and upgrade several databases at the same time. While each database is being upgraded, the content in that database is not available to users.You can upgrade multiple content databases at the same time, which results in faster upgrade times overall than an in-place upgrade. You can use a database attach upgrade to combine multiple farms into one farm.The server and farm settings are not upgraded. You must manually transfer settings that you want to preserve from the old farm to the new farm. Any customizations must also be transferred to the new farm manually. Any missing customizations may cause unintended losses of functionality or user experience issues. Copying databases over a network takes time and bandwidth. You must plan for that. You need direct access to the database servers.

What is Service Application Framework?

 => Replacement for the Shared Services Provider  in MOSS 2007
=> API provided by backend application servers and consumed by front-end application servers.
=> Used for developing middle-tier applications that are hosted in SharePoint and provide data and   
      resources to other SharePoint features
=> Enables services to be shared between computers on a server farm
=> Load balance and manage services
=> Out of the box - 20 built in services
=> Certain objects automatically backed up and restored
=> Ideal for deploying, managing and discovering WCF service clients and endpoints.
=> Windows Powershell support
=> Timer job infrastructure available at Service-scope
=> Use of SharePoint configuration store and support for storing data in SharePoint managed custom database is available


Load Balancing

=> Use Round robbing load balancing
=> Service application proxy method invocations must be routed thru the front end web server to an
      appropriate app server by using a load balancing tool.
=> Calls between frontend and app servers to require separate external load balancer than the load         
      balancing for front-end web servers
=> SPRoundRobinServiceLoadBalancer can be enhanced or replaced by third party.

Management and Administration

=> Services plug their management UI into SharePoint Service Management page
=> Common admin tools such as upgrade, backup, restore and account management
=> Common UI to manage, start, stop, group, associate, federate and backup SharePoint services.
=> Can define specialized admin roles and can be delegated to users who are not farm admins
=> Security trimmed

Security

•Claims-based identity model  Example - Search service

Benefits

The Service Application Framework allows developers to provide load balanced middle-tier resources that can be managed through SharePoint and leverage the full power of SharePoint 2010.

Monday, April 23, 2012

Installing SharePoint 2010 SP1

****  Key Points to Remember while installing SP1 for Sharepoint ****

=>  The packages may require up to four times their file size in remaining disk space during installation
      So make sure that you have sufficient disk space

=> Restart the computer at the end of the installation.

=> If you are using Office Web Apps in a mixed version environment, where Office Web Apps has SP1-or-later applied while SharePoint Server 2010 remains on the RTM version, you must install the following two updates before you install SP1 for Office Web Apps:

    • 2510639  (http://support.microsoft.com/kb/2510639/ )
    • 2510648  (http://support.microsoft.com/kb/2510648/ )
  • Install the service packs in the following order on every server in the farm:
    1. Service Pack 1 for SharePoint Foundation 2010
    2. Service Pack 1 for SharePoint Foundation 2010 Language Pack (if applicable)
    3. Service Pack 1 for SharePoint Server 2010
    4. Service Pack 1 for SharePoint Server 2010 Language Pack (if applicable)
  • After installing Service Pack 1 you must run the SharePoint 2010 Products Configuration Wizard Just incase it fails or there are any issues .

    Run the Command : psconfig –cmd upgrade –inplace b2b -wait

    One time on every server in the farm. This step updates the farm to the latest version and is required in order to have full SharePoint functionality. If you do not run the wizard, the farm will run with reduced capacity. i.e; Search will not be able to index content

    You must restart the User Profile Synchronization service after installing Service Pack 1

    http://technet.microsoft.com/en-gb/library/ee721049.aspx#StartUPSSProc


  • After the SP1 is installed, the Workflow feature is disabled when a new site collection is created. To use the Workflow feature in a new site collection, enable it in the Site Collection Settings page.



  • After you are done it is strongly recommend that you install the install the June 2011 Cumulative Update refresh package.


  • The June Cumulative Update includes several important security and bug fixes that are not included Service Pack 1.

  • 2536601  (http://support.microsoft.com/kb/2536601/ ) Description of the SharePoint Foundation 2010 cumulative update package (SharePoint Foundation server-package): June 30, 2011

    2536599  (http://support.microsoft.com/kb/2536599/ ) Description of the SharePoint Server 2010 cumulative update package (SharePoint server-package): June 30, 2011

    Friday, February 3, 2012

    Visual Upgrade in 2010 , On all sites in a web application

    Upgrade all the sites in a web application in SharePoint 2010 . You can Use this SharePoint PowerShell code to accomplish

    $SPwebApp = Get-SPWebApplication "http://SP2010.com"
     
        foreach ($SPsite in $SPwebApp.Sites)
        {
           foreach($SPweb in $SPsite.AllWebs)
            {
             
               $SPweb.UIVersion = 4
           $SPweb.Update()
        write-host $spweb.url
            }
        }
    read-host  #just to pause

    Users cannot see the checked out files in the folder/ library

    I Came across a Issue today wherein the user opened a ticket for the below issue Issue : Users cannot see the checked out files in the fo...