Blogroll

Friday, August 2, 2013

Today we are going to discuss one of the errors that we have noticed in SharePoint Health Analyzer. as per that exception, here is the reflected information.

Exact Exception: Expired sessions are not being deleted from the ASP.NET Session State database.

Mentioned explanation: If expired sessions are not deleted, the server that hosts the ASP.NET Session State database may run out of disk space and the SharePoint farm may cease to function.

Remedy reflected: Connect to the server that hosts the ASP.NET Session State database, start the SQL Server Agent service, and verify that a DeleteExpiredSessions job is registered for the database. If you are using SQL Server Express, the SQL Server Agent service is not available. For more information about this rule, http://technet.microsoft.com/library/ff805085.aspx

Thursday, August 1, 2013

Here we go with one more error message
along with step-by-step resolution for the whole SharePoint community.

Problem description:

One of my departmental colleague is
trying to upload a file in SharePoint site and getting the following error
message:

Error message:

Server Error in ‘/’
Application

The specified file is larger
than the maximum supported file size.

Imp notes:-

The error message is self explanatory
for those who are well versed with the SharePoint functionality, but it is
quite understandable to get the confusion for those who have recently migrated
to this new SharePoint version, started learning SharePoint recently and so
many reason.

But nothing to worry, that’s why I am
here to provide the detail instructions as how we can resolve this issue
completely.

Little background on
this:-

If you are facing this error message
then let me clear that this limit is already defined somewhere and that’s why
you are getting this exception.

In SharePoint 2010, we have a central
console from where we can control all the things which is termed as ‘Central
Administration’

So let’s explore this
central administration to find out this defined limit.

-Open the SharePoint 2010 Central
Administration

-Application management

-manage web applications

-select the correct web application

-Top side- On the web application
Ribbon

-click the down arrow and select
General settings button

-Go to ‘maximum upload size’ section

By default its 50MB

-Enter the appropriate value as per
your requirements and select OK

Note: This setting will be
applicable for the complete web application i.e. applicable for all the site
collections which are a part of that web application.

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…

But
the strange thing was the item did not exist, how did I find out this? It’s
very simple…

Let’s do
some analysis on the error message again!!!

The “xxxname of the workflowxxx” workflow has ended unexpectedly
for ‘xxxname of the itemxxx’.

“name of the workflow” failed to start.

Click here to view the workflow status.

-now try to click on name of the workflow item

-as soon as we clicked on that item then we got the following
error message:

File not found.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: xxxx-xxxx-xxxx-xxxxx

Date and Time: xxxx-xxxxxx

From the above exception, it’s very clear that the item does not
exist.

Issue resolved. We are good now…

If you have any queries/questions regarding the above mentioned
information then please let me know, also if you have any additional resolution/valuable
inputs apart from the mentioned above then please share so that it would be
valuable for the complete community… Thank you.

As per this article, we can increase this default value to 7000 by using the following command:

$app = get-spwebapplication http://portal.sharepoint2010.com

$app.UserDefinedWorkflowMaximumComplexity = 7000

$app.Update ()

Again the best practices are saying we need to take every step by considering the farm performance as the maximum limit is 10000 and you cannot increase more than that so it’s better if we restructure our workflows with respect to reusability.

If you have any queries/questions regarding the above mentioned information then please let me know. If you have any additional resolution or valuable inputs which would be useful for the whole SharePoint community then please share…