Pages

Subscribe:

Monday, March 21, 2011

One or more field types are not installed properly after upgrade from SharePoint 2007 to 2010


After the database attach upgrade from SharePoint 2007 to 2010 server. When trying to open the Web Application Home Page got the following Error,













Browsing lot of blogs, i found the solution for the above Error.

Solution:

1. When you face the above error, Check the SharePoint Server Publishing Infrastructure feature is Activated or not.
2. If the Feature is in Active,then Deactivate the Feature and
3. Enter http://yourdomain/Relationships%20List/AllItems.aspx, the RelationShip List will be opened.
4. Delete the Relationships list.
5. Reactivate the feature. Now the name field name should be correct.


Monday, March 14, 2011

SharePoint Learning Kit in SharePoint 2010

Install SharePoint Learning Kit to the Farm

Download SharePoint Learning Kit from http://slk.codeplex.com. The current version for this blog post is SLK-SP2010-Beta2.zip.

image

Extract all the files located in the downloaded zip to c:\SLK\.

image

Open the SharePoint 2010 Management Shell

image

In a later stage we will be running a pre-written PowerShell command script that is stored in the install files. We have to enable scripts to be run. Run the following command.

   1: Set-ExecutionPolicy Unrestricted

It will then ask you if you are sure. Type ‘Y’ and press enter.

image

Set the location of the folder we extracted earlier.

   1: set-location c:\slk

image

This now allows us to run a pre-written PowerShell command that has been written to install the SLK feature into the SharePoint 2010 farm.

The script only has 2 lines of code but to run this command type the following into the same cmdlet.

   1: .\addsolution.ps1

When this script has been run you will be give a table view of the solution installed. It will state that the deployment is not ‘Deployed’. This is fine as we will deploy it in the next few steps.

image

Now open the SharePoint Central Administration website and from the list down the left hand side select System Settings.

image

Under Farm Management you will see Manage farm solutions – select this link.

image

You will now see a list of all the solutions you have deployed in this farm. In the list you will see sharepointlearningkit.wsp and that the status is ‘Not Deployed’.

Click ‘sharepointlearningkit.wsp’ which will take us to the deployment page.

This page gives us some information about the solutions we are deploying. Click on ‘Deploy Solution’.

image

It will now ask where you want to deploy the solution. Click OK to deploy.

image

SharePoint Learning Kit is now deployed to your farm.

Create the SLK Database

SLK will use its own database to store information such as grades. It won’t be a large database but it still has to be created.

In Central Admin click on Application Management and at the bottom you will SharePoint Learning Kit Configuration. Click on Configure SharePoint Learning Kit.

image

On the configuration page you will be able to add the database server and a new database. At the bottom click OK.

image

If you are using SQL Server Express edition you will need to put in the SQL instance name a well. Refer to this post if you are using this database. http://www.bfcnetworks.com/sharepoint-learning-kit-installing-on-single-server-farm/

There are 2 steps left, one is to add the web part and the other is to enable the site for SharePoint Learning Kit.

Deploy the SLK Assignment Web Part

Navigate in your browse to your SharePoint Site.

Click on Site Actions and then Site Settings at the top

image

Under Site Collection Administration you will see Site collection features. Click this link.

image

You are now given a list of all the features you can enable in your site collection. In the list you will see ‘SharePoint Learning Kit – Assignment List Web Part’. Click Activate to install the web part.

image

The web part is now enabled on your site.

Enable a site for SLK

Navigate in your browse to the SharePoint site you want to enable for SLK.

Click on Site Actions and then Site Settings at the top

image

Under Site Action you will see Manage site features. Click this link.

image

In the list you will notice there are 3 features that a site can be Activated.

  • SharePoint Learning Kit
  • SharePoint Learning Kit – Assign Self
  • SharePoint Learning Kit – Assign to Site

image

Active these are you will be able to use SLK in your site.