04 November, 2013

Sorry, something went wrong – SharePoint 2013

I am an owner of one group on Facebook where people used to ask their queries and community people replied with appropriate answers. One of the question/query reported by one user where he is getting an error message- Sorry, something went wrong while opening office documents with respect to office web apps.

Exact error message:-
Sorry, something went wrong
An error has occurred on the server.
Technical Details
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: a85Kdd9g- jht 1- 50e6- 6gdd- 164d14296a0t

I have started my research and found this article which reflects the exact resolution-http://support.microsoft.com/kb/2761265

Thanks to Microsoft once again!

Note: if you think that the above mentioned article does not resolves the issue then Please use the correlation id from the error message and check the ULS logs and update your findings here so that we can check and try to find out the resolution.

If you have any queries/questions regarding the above mentioned information then please let me know, Thank you.


Some Important references:







31 October, 2013

This workbook is larger than the maximum workbook size allowed to be opened in the browser

Today we faced one more new issue and it was quite easy to understand and predict what will be the resolution! But today’s article is especially for those who are business managers/IT analyst/vice presidents/governance etc. - who does have access to the servers.

To display a workbook in an Excel Web Access Web Part, you must add the Web Part to a page and then connect the workbook to the Web Part by entering the workbook URL or UNC in the Excel Web Access tool pane. As a final step, you can customize the Web Part by selecting properties in the Excel Web Access tool pane for the Web Part.

User reported an issue that he is trying an excel file in the excel web access webpart (EWA) and getting the following error message-
This workbook is larger than the maximum workbook size allowed to be opened in the browser.
 
Here is the step by step resolution:
1)     Open the central administration
2)     Application management
3)     Manage service applications
4)     Excel service application
5)     Click on Trusted File locations
6)     Select the document library link where your excel files are stored
7)     Go to the section termed as “Workbook Properties”
8)     Maximum workbook size
9)     By default its set to 10MB
10) Set it as per your requirement – like 50MB/100MB
11) Click OK


Go back to your site now where you were facing the problem -> refresh the page and check the results!

It should be resolved now. 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.

28 October, 2013

October 2013 Cumulative Update

October 2013 Cumulative Update Packages for SharePoint Foundation 2013 and SharePoint Server 2013 have been released

October 2013 CU for SharePoint Foundation 2013 - KB 2825674 http://support.microsoft.com/kb/2825674

October 2013 CU for SharePoint Server 2013 - KB 2825647 http://support.microsoft.com/kb/2825647

Note: This is build 15.0.4551.1001 of the cumulative update package.

SharePoint Server 2010 Training for Beginners

Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008
These instructions enable you to get started with an environment that is specifically suited to developing SharePoint custom solutions.
http://msdn.microsoft.com/en-us/library/ee554869.aspx

Introduction of SharePoint Server 2010 site templates
Videos provide in the following link is a quick preview of the templates, you can go through them quickly and decide which template is best for you. 
http://office.microsoft.com/en-us/sharepoint-server-help/a-preview-of-the-sharepoint-server-2010-site-templates-HA101907564.aspx

Getting started with SharePoint Server 2010
http://office2010.microsoft.com/en-us/sharepoint-server-help/getting-started-with-sharepoint-server-2010-HA010371435.aspx

What is SharePoint : Capabilities & Benefits
http://sharepoint.microsoft.com/en-us/Pages/default.aspx

SharePoint 2010 for End Users
http://sharepoint.microsoft.com/en-us/product/benefits/End-User/Pages/default.aspx

Learn SharePoint Server 2010 - IT Pros
http://technet.microsoft.com/en-us/sharepoint/ee410529

SharePoint 2010 Developer Training Course
http://msdn.microsoft.com/en-us/gg620703

SharePoint 2010 Resources for Developers
http://sharepoint.microsoft.com/en-us/resources/Pages/Developer-Training-Guide.aspx

SharePoint 2010 Developer Resource Centers
http://msdn.microsoft.com/en-us/sharepoint/bb964529.aspx

Developer Best Practices Resource Center | SharePoint 2010
http://msdn.microsoft.com/en-us/sharepoint/ff660756.aspx

SharePoint Developer Center: Download -Code & Templates
http://msdn.microsoft.com/en-us/sharepoint/default
 

http://www.techsolutions.net/SharePointSolutions.aspx

Advance - SharePoint Training Course
SharePoint 2010 and Windows Phone 7 Training Course
http://msdn.microsoft.com/en-us/SharePointAndWindowsPhone7TrainingCourse

SharePoint and Silverlight Training Course
http://msdn.microsoft.com/en-us/SharePointAndSilverlightTrainingCourse

SharePoint 2010 and Windows Azure Training Course
http://msdn.microsoft.com/en-us/SPAzureTrainingCourse

23 October, 2013

Failed to download Excel Services chart

Playing with excel is day to day task! Excel services and its errors are full of excitement :)

Today we got one ticket that user is facing some problem while displaying excel document by means of excel web access webpart. Further probing, we came to know that he is trying to display some chart by means EWA and getting the error as mentioned below:

Failed to download Excel Services chart

There is no need to troubleshoot this error we have a predefined setting in the central administration so easy resolution!

Let me describe step by step so that there would be no confusion.

Resolution:
1)   Open the Central Administration
2)   Manage service applications
3)   Excel service application
4)   Click on it
5)   Manage trusted file location settings
6)   Click on the trusted location of that web application
7)   In the Workbook Properties section, there is a "Maximum Chart Size" setting that is "1" (meaning the maximum chart size is 1MB) by default.
8)   Increase that and then click OK.

That’s it, you are done! Check the site on which you were facing the problem and that should be resolved now.

In case of any queries/questions then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

Product applies to:
1)   SharePoint Server 2010
2)   SharePoint Foundation 2010
3)   SharePoint Server 2013
4)   SharePoint Foundation 2013

22 October, 2013

The Compressed (zipped) Folder is invalid or corrupted

Issue: Whenever my client tried to open a .zip files from SharePoint it throws the below error message.

Background: One of my clients had zipped the .excel files in on his local desktop and uploaded to SharePoint site. There files contains the project level information and was needed to extract after two years. When he clicked the file to open from SharePoint had encountered the issue.

Now the task begins of a SharePoint admin.

Troubleshooting:

Tried to open the file from SharePoint site, no go.

Downloaded the file on desktop of the client, no go.

Tried the same steps at my end, no success.

Strange this accessing file on SharePoint server also does give the same error.

With the above basic stuff, it was clear that it is something to deal with the zip file itself as it doesn’t seems to be SharePoint issue anymore.

Being a digger try to dig some more in it and seems like something to deal with the excel documents zipped may be was in protected mode.

Client was having no clue for this.

Resolution: Tried to find the Repair tool on the internet and million thanks to Christina Marley who created a zip file repair utility which when ran has repaired the file and is available for download here. Christina MarleyChristina Marley


Asked the user to download the files and repair them with the utility.

However, you can also find some other relevant repairing tools which may provide the evaluation version or you may need to buy the licence version of the tool.


If you feel any difficulty in understanding the tool or have any query I would be happier to help you.
Applied to: SharePoint 2007, WinZip, and WinRAR. Windows XP.


21 October, 2013

Exception from HRESULT: 0x80041050

Error message: /sites/Sharepoint].xml" contains the following virus: "Reason:= ".

If you want to open this file, you'll need to clean the file using your own virus scanning software. Do you want to save the file to your computer and attempt to clean it.



Background: A user reported that he tried to open an InfoPath form from a SharePoint site and got the error message mentioned above. There is no error occurring when opening any other file. If he clicks yes, and saves the file on the local desktop, he gets the exception error:Exception from HRESULT: 0x80041050”

 Troubleshooting:

Tried opening the file on the same site, get error message.
Tried to download the file, get the exception error message.
Tried opening the other file on the same site and it is opening fine.
The only issue was with the one file.

Resolution:

Based on the TechNet article http://technet.microsoft.com/en-us/library/dd795107(v=office.12).aspx  


To determine whether or not the file is actually infected, you will need to look at the error message for the specific error code 0x80041050. This means that the item is virus-infected. If the item is virus-infected, either delete the infected item, or attempt to clean it using your virus scan application. If the item is not virus-infected, restart the content deployment job.

You can also try to look if there is Virus infected file in the SQL Content DB by running the following query:

Create a new query and run:Select *
from AllDocs
where (VirusStatus > 0) and (VirusStatus is not null)

If you get any results this is your issue!  (Given that you don't actually have some virus in that file.)
Run the next query: Update AllDocs
set VirusStatus = null
where (VirusStatus > 0) and (VirusStatus is not null)


Applies to: WSS 3.0, SharePoint 2007.
 

20 October, 2013

Event ID 5586

Issue: Event ID: 5586 Generated in the SharePoint server.

Error: Event ID 5586 generated in SharePoint server application event logs.

Event Type:      Error
Event Source:  Windows SharePoint Services 3
Event Category:            Database
Event ID:          5586
Date:                09/10/2013
Time:               10:24:22
User:                N/A
Computer:        ++++++++++++
Description:
Unknown SQL Exception 1035 occurred. Additional error information from SQL Server is included below.

Background:
As a part of daily health check on the server, I have noticed allot many occurrences of the event ID 5586 on multiple servers.

This is something occurs on regular intervals but not specific to one server.

By looking some of the reference on the internet I happened to find the TechNet Article which talk about the possible resolution of this error.

Resolution:
This error occurs in both the versions of the SharePoint i.e. 2007 and 2010; however in my case it was reported for the SharePoint 2007.



Great thanks to MS to keep the record of the most relevant event IDs and sharing the possible remedies

If you feel any difficulty in following any of resolution listed in the articles, do let me know. I would be more happy to help you put with.

Products Applies to:
1)      SharePoint 2007
2)      SharePoint Server 2010
3)      Windows Sever 2003
4)      Windows Server 2008
5)      SQL Server 2005 and SQL Server 2008.

19 October, 2013

The named item cannot be displayed

Before we start troubleshooting on this, let’s try to understand the term-

What is meant by name item? - In this view, you can only display one or more named items in the workbook. A named item can be one of the following:
1)      A chart
2)      An Excel table
3)      A PivotTable report
4)      A PivotChart report
5)      Named range of cells.

How I encountered this error? – I have added an excel web access web part on my SharePoint site collection, modify the webpart and entered the details for workbook location and name item field by specifying tab7 inside the excel spreadsheet as I don’t want to display my spreadsheet in the EWA.

As soon as I clicked ok, the excel web access webpart throws an exception as follows:
The named item cannot be displayed. The name item is either not available in the workbook or was not selected as a name item for viewing when the workbook was published. The name item may also be located in a hidden range of cells or in a collapsed outline.

Action taken / troubleshooting done:
1.       Checked the status of excel service application and it was fine
2.       Checked the excel service status by means of Central Administration- services on server and it was fine too.
3.       Need to isolate the problem first- whether its farm specific or file specific or EWA web part specific.
4.       Checked the document library where all the excel documents were stored. Clicked on the dropdown of any excel file and selected ‘view in browser’ – it opens up fine!
5.       Came back to the excel web access webpart- modify it and remove the name item field and kept it blank – click apply & checked the results
6.       With the above action- the excel web access web part loads the excel file without any problems.
7.       So far so good! Still trying to find out the resolution!

Resolution:-

Change Published Items within a Workbook: -
When we initially published our workbook to Excel Services, we simply gave it a name and accepted the default values. Whenever we click the Save icon, rather than re-publishing the workbook, we’re merely saving the data back to the document library. The significance here is that when publishing a workbook to Excel Services, we have the option of specifying additional metadata, but when saving, the metadata is not changed. We received the error because the metadata did not contain details of our new named item.

1.       Open the excel file on your desktop (not from the SharePoint site, if you don’t have saved on the desktop then please save it.)
2.       On the top ribbon- click on File
3.       Click on Share
4.       Publish to Excel Services
5.       Current location
6.       Save as - automatically displays the contents of our Excel Workbooks document library
7.       Click Publish to Excel services to open the save as dialogue
8.       Excel Services Options button now appears in the bottom
9.       Excel Service Options button
10.   Here we need to define or overwrite metadata for the document

In the Excel Services Options dialog’s Show tab, select Items In The Workbook from the drop-down list.

Check the All Named Ranges and the All Charts options to ensure that they will be available for use by the EWA web part

Click Save to complete the publishing process

That’s it- You are done!

Make the necessary changes inside the excel web access (EWA) and check the results.

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.