SharePoint Error: There are currently no approval tasks assigned to you

Sometimes you get this error "There are currently no approval tasks assigned to you" with SharePoint sites based on "Publishing site with workflow" template and usually your user have the all rights (Full Control) 


1- Make sure that you are using new user with any roles that you want Ex:Full control but it should be different than Farm Administrator (System Account) as we usually do this mistake in our development machine

2- The important part to allow your user to approve your content, it should be to add your User inside the SharePoint Approval Group


The SharePoint development best practice is you shouldn't use the Farm Administrator in you development machine or testing because this is not real case in production and according to the system account user role, he passed everything


Handling custom HTTP error messages on IIS 7 by SharePoint 2010

HTTP errors are returned to the client when something goes wrong on the server. Error status codes are returned if the requested file isn't found (404), or due to coding errors in the web page (500), and due to temporary issues such as failed database connections (500). The most common errors are 404 (file not found) and 500 (application) errors.

Check the following list of IIS errors

  • 400 Error (bad request)
  • 401 Error (unauthorized)
  • 403 Error (forbidden)
  • 404 Error (not found)
  • 500 Error (internal server error)

How to Custom HTTP Errors?

To implement SharePoint support of the custom HTTP error you have to editing in WebConfig file by adding the below section inside <system.webServer> tag and then you can replace "/Pages/404.aspx" with your own dynamic page.

<httpErrors errorMode="Custom" existingResponse="Auto">
     <remove statusCode="404" subStatusCode="-1" />
           <error statusCode="404" prefixLanguageFilePath="" path="/Pages/404.aspx" responseMode="ExecuteURL" />

Actually the important part in the above snippet code is in <httpErrors errorMode="Custom" existingResponse="Auto"> because if you are working in SharePoint Config file you have to add to the httpErrors element setting error mode to custom and this will inform IIS to you out custom page.  


This configuration is just supported in newest versions of IIS starting from IIS7

Difference between List Definition, List Template and List Instance

25. January 2012 01:04 by Mahmoud Farhat in SharePoint 2010  //  Tags:   //   Comments (0)

 List Definition:

A list definition defines a schema for a SharePoint list. It contains information on what views are being used, which columns and content types are being used, and other metadata information.

List Template:

A list template can either be created by end users through the SharePoint user interface using an existing list as a pattern or using an existing list instance. If based on a user-created list it is called a custom list template. A custom list template includes everything that defines the list, including list columns and site columns used by the list, content types used by the list, views defined for the list, and so on.


A list template may sound like a list definition but they are effectively the same thing, a pattern for a SharePoint list. They differ mainly in how they are created:

- A list templates are created in SharePoint or SharePoint designer.
- A list definitions in Visual Studio.

List Instance:

A list instance is an instance of a specific SharePoint list definition or list template. All of its data is stored in the relevant content database. Typically a list in SharePoint used by end users to enter and view data and it is based on either a list template or list definition.

Addison Wesley - SharePoint 2010 Development with Visual Studio 2010

Changing Master Page for SharePoint 2010 Blog Site

I created a blog site in SP2010 and I faced some problems and I will explain them step by step with each solution, after blog site created then from the Site Actions => Site settings, I didn’t find the master page feature enabled to change the custom development master page so you having to enable publishing features to be able to do this through the UI.

After applying the custom master page to change, the new master page did not render on the blog site.
And according to Microsoft Support ( this just happen if you using a template other than one of the templates on the Publishing tab of the New SharePoint Site page, and they suggested work around on this issue, to use system master to apply the custom master page and actually I don’t know if this is a bug in Microsoft or not but if you compelled you have to use this solution till now.
Good luck and I hope this information is helpful to you and please feel free to write your comment.