05 March, 2013

Approval Workflow Error : "An error has occured in Approval"

I have came accross 2 -3 tickets in this week in which the user gets an error in the approval workflow. I knew the solution to it but the user wanted something documented . So tried to check on my blog if i have posted it and found that it was not . so adding to the list .

Issue : Error on Approval Workflow : "An error has occured in Approval"

User has a SharepPoint OOB Approval workflow which can be created through the site and easily be attached to a document library and it starts manually or automatically when a new document gets created and get the required approvers to review and approve the document for publishing.

How to configure a Approval workflow :

For a document library or list

Go to Settings->Workflow Settings->Add Workflow
Choose the Approval workflow from the list, make it start on item creation go to the next page.

Select the approvers and check "Update the approval status"

Click Finish and the workflow is created .

Although this is a easy way to configure the workflow It might end-up with a error:

 Error  System Account :  An error has occured in Approval

A small setting can change the whole error .

This is an approval workflow which should after getting the approvals update the approval status of the document .

The workflow will start and run flawlessly until the end and when it will try to update the approval status.If this setting under Versioning settings is not set  to require content approval it will fail to update the status and thorws the error.

An error has occured in Approval

So, if you come accross an Approval Workflow

Go into the document library settings and go to Versioning Settings Page

Set "Require content approval for submitted items to?"

To Yes and everything should be fine.

This would not make any changes to the Existing status of the workflow . Terminate the workflow and run it again .

01 March, 2013

New Learning Roadmaps for SharePoint 2013

A learning roadmap is a way of organizing content (articles, white papers, videos, blog posts, etc.) to provide a customized and optimized learning path for a technology, feature, product, or solution. Starting with prerequisites and then moving on to introductory, intermediate, and advanced learning goals, learning roadmaps enables a novice to ramp up quickly and an experienced technology person to build more expertise in a particular area.
My colleagues on the SharePoint IT pro writing team have been very busy publishing the following additional learning roadmaps:
If you need to technically ramp up in any of these areas, take a look at these articles to understand the prerequisite knowledge and then dive in.
See Learning roadmaps for SharePoint 2013 for the complete list for SharePoint 2013.
See Learning Roadmaps Portal for the complete list across Microsoft products. To create your own learning roadmap, see the Learning Roadmap Template.

Missing server side dependencies



We have done the migration from SharePoint Server 2007 to SharePoint 2010. After the successful migration, when we checked the HEALTH ANALYZER reports then we have seen the following errors:

Exception#1:
[MissingFeature] Database [WSS_Content_101] has reference(s) to a missing feature: Id = [fc5e2840-0b48-42eb-9ad7-076f5add58ad]. The feature with Id fc5e2840-0b48-42eb-9ad7-076f5add58ad is referenced in the database [WSS_Content], but is not installed on the current farm. The missing feature may cause upgrade to fail. Please install any solution which contains the feature and restart upgrade if necessary.

Exception#2:
[MissingWebPart] WebPart class [8d6034c4-a416-e535-281a-6b714894e1aa] is referenced [20] times in the database [SharePoint_AdminContent_8c793f3b-123c-4965-81b3-b7bbed64d8ae], but is not installed on the current farm. Please install any feature/solution which contains this web part. One or more web parts are referenced in the database [SharePoint_AdminContent_8c793f3b-123c-4965-81b3-b7bbed64d8ae], but are not installed on the current farm. Please install any feature or solution which contains these web parts.

Exception#3:
[MissingSetupFile] File [themes\THEME\alldaydefault_granite.gif] is referenced [4] times in the database [WSS_Content], but is not installed on the current farm. Please install any feature/solution which contains this file. One or more setup files are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these files.

Exception#4:
Assembly [Nintex.Workflow.Features, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12] is referenced in the database [WSS_Content], but is not installed on the current farm. Please install any feature/solution which contains this assembly. Remedy: One or more assemblies are referenced in the database [WSS_Content], but are not installed on the current farm. Please install any feature or solution which contains these assemblies.

Long series of messages, it’s very difficult to troubleshoot this all messages/exceptions in a single shot so I have targeted one exception: [Missing Feature]

As per the error message, we have the following details as follows:

Name of the database: WSS_Content_101
Feature ID: fc5e2840-0b48-42eb-9ad7-076f5add58ad
Site Collection Link: No Info
Site collection ID: No Info

Hmm...Really difficult to delete this feature if we don’t have a site collection links.

I think if we have a site ID/Link then it’s very simple to delete this feature but the problem is there are so many features which are throwing exceptions against the same database name so there might be so many site collections.

Resolution:
Million Thanks to Codeplex Team

These types of errors can be cleaned up using the SharePoint Feature Administration and Clean Up Tool on Codeplex: http://featureadmin.codeplex.com

Product Applies To:
SharePoint Server 2010
SharePoint Server 2013
SharePoint Foundation 2010

Important Note:
My Troubleshooting is still going on to find out the resolution for further exceptions. Will keep you posted regarding each and every exception. Thank you.

If you have any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues…

Thank you.

27 February, 2013

Feature enhancements in SharePoint 2013 than SharePoint 2010.

SharePoint 2013 general model remain same as SharePoint 2010 but has few platform level improvements and new capabilities like
• Shredded Storage
• SQL Improvements
• Cache Service
• Request Management
• Themes
• Sharing

In terms of Service Applications:
• New service applications available and improvements on existing ones
• Office Web Apps is no longer a service application
• Web Analytics is no longer service application, it’s part of search

Enterprise content Management
• Policies:
• Site-level retention policies compliance levels has been extended to sites
• Policies include Retention policy for sites and Team Mailbox associated with site
• Project closure and expiration policy

• Designed for managing discovery cases and holds
• Establishes a portal through which you can access discovery cases to conduct searches, place content on hold, and export content
• eDiscovery capabilities
• Support for searching and exporting content from file shares
• Export discovered content from Exchange and SharePoint
• Team folders
• Seamless integration of Exchange and SharePoint to provide best of both world and end user flexibility

Web Content Management
• Support the tools and workflows designers usage
• Variations & Content Translation
• Search Engine Optimization
• Cross Site Publishing
• Video & Embedding
• Image renditions
• Clean Urls
• Metadata navigation

Social
• Microblogging
• "Share content, links, and media"
• Follow people, sites, content, and conversations"
• Activity Feeds
• Provides a view into recent activity related to content, links, media, and people"
• Communities
• Community sites with self-service administration and moderation
• Modern community features such as achievements and reputation
• Discussions
• Modern discussion boards
• Blogs
• Client application integration
• "Categories, comments, and moderation "

Search
• New Search architecture with one unified search
• Personalized search results based on search history
• Rich contextual previews



Outlook 2007/2010: What is the character limit for a link to open?

As I just shared the Character limitation of URL in Sharepoint .

Outlook Hyperlink also has its own limitation

One of my user was copying a shortcut as a hyperlink in Outlook and it opened the site with a empty Document Library .

I Compared the shortcut url with the one sent as hyperlink in the outlook and found that the one sent to the users is not a complete url/link . so thought their might be some limitation to that too .   

Based on my research, this is what i found

Outlook 2013 – Seems no limitation.
Outlook 2010 – 1033 characters
Outlook 2007 – 1033 characters
Outlook 2003 – 256 characters

Readers - if you find any descripancies in the numbers (limitations ) please comment so that we can keep this post updated .