01 June, 2012

Mystery of save site as template in SharePoint 2010

Whenever this word “mystery” comes into the picture then lot of questions arises as what exactly it is, How exactly it works, is it really same as SP2007 and so many things…
Today I want to share some issues that I have experienced and want to help you if you come across the same. By doing this, I want to save your time as well as the headache while troubleshooting the issue. Okay, let starts…
First of all-new things to highlight first:
SharePoint 2007 V/S SharePoint 2010
Site Templates
Solutions
/_catalogs/wt/Forms/Common.aspx
_catalogs/solutions/Forms/AllItems.aspx
saved as .STP
Saved as .WSP
No activation
Activation exist

In SharePoint 2010, when we save any site as template then it will get stored under solution gallery (site actions-site settings-Galleries-solutions)
Now suppose the requirement is:
You want to transfer any site/subsite from one site collection to another then how we will do/How exactly we will proceed ?
It’s very easy:
§  Open the source site on which you are working on/ that you want to transfer
§  Site actions
§  Site settings
§  Save site as template (site settings-site actions-Save site as Template)
§  It will provide you a box in which you provide the template name details
§  Once you click OK then it will save the template in solution gallery
§  Click on the template name and it will give you the option to save it to desktop
§  Now go to the destination site (site actions-site settings-galleries-solutions)
§  Upload the solution that you have saved in previous steps
§  That’s it-Done!!
Not able to see the uploaded site under custom tab
Here the mystery arises J
We have executed each and every step in correct order but still not able to see the uploaded template under custom tab/how we can create a subsite if we can see that saved template?
Don’t worry guys-here is the solution:
§  Open the site where you have uploaded that .WSP file/Template
§  Site actions
§  Site settings
§  Galleries
§  Solutions
§  Hover your mouse to the dropdown of that template
§  You will see the option of ‘Activate’

§  That’s it-as soon as you activates the solution, it will be ready to use and you can see the template name under ‘Custom Tab’.

Now suppose the requirement is:
After deploying the solution, I still cannot see the template when I create new site collection via Sharepoint Central Administration
Here is the answer for this: If you want to have the template available in the default templates list when creating a site collection it has to be installed as a farm solution.  That means creating a Web Template or a custom site definition.  You can take the sandbox solution template and import it into Visual Studio as the basis for a Web Template.
I think most of doubts has already been clear after reading the above mentioned information…but please don’t worry, if you have any queries/questions/confusion then please let me know. I would be more than happy to help you as well as resolves your issues.
Thank you

31 May, 2012

Site collection basics SharePoint 2010


Every single min we talks about site collections as they are the heart core section of SharePoint. There are so many things that we usually do on site collections that consist of changing of site collection name, creation, deletion, change site quota, activating some features…… n so many things J

Today I want to share some basics with all of you so that you can work on the following sections individually... Yes, without asking for anybody’s help. That’s the main objective of this article.

How to delete a site collection in SharePoint 2010?
§  Open the Central Administration
§  Application Management
§  Site collections
§  Delete a site collection
§  Select the appropriate site link
§  Click OK

How to create a site collection in SharePoint 2010?
§  Open the Central Administration
§  Application Management
§  Site collections
§  Create site collections
§  Select the web application on which you wants to create a site collection
§  Enter the name of the site and URL as per your requirements
§  Select the template
§  Enter the primary and secondary admins
§  Select the storage quota that you want to assign
§  Click Create

How to Change site collection administrators?
§  Open the Central Administration
§  Application Management
§  Site collections
§  Change site collection administrators
§  Select the site collection from the dropdown list for which you want to change the admins
§  Change the admins as per their ID's
§  Click OK

How to change the quota for site collection?
§  Open the Central Administration
§  Application Management
§  Site collections
§  Configure quotas and locks
§  Select the appropriate site collection from the dropdown
§  Assign a new quota as per your requirements
§  Click ok

How to View all site collections?
§  Open the Central Administration
§  Application Management
§  Site collections
§  Open the Central Administration
§  Application Management
§  View all site collections
§  Select the correct web applications from the dropdown
§  You will see the list of site collections underneath

How to change the name of the site collection?
§  Open the site collection on which you are working
§  Site actions
§  Site settings
§  Under Look and Feel
§  You will see a link named as "Title, description, and icon"
§  Change the name in the title field
§  Click OK

How to add a link in quick launch?
§  Open the site collection on which you are working
§  Site actions
§  Site settings
§  Under Look and Feel
§  Navigation
§  You will see two sections here i.e. Global and Current navigation
§  If you want to add a link in quick launch then we need to select "Current Navigation"
§  Add Link
§  Enter the title and specific URL
§  Click OK twice

Note: If you want to add the site link in the top navigation section then you need to refer the Global navigation section.

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 J

Thank you.

28 May, 2012

The segment is already unlocked (Error code: 0x8007009E)

One of our users opened an incident ticket in which he was trying to save a notebook from OneNote 2010 and synchronize it using SharePoint 2010 in a document library but he was getting the following error message:
The segment is already unlocked (Error code: 0x8007009E)
This error message was tricky one and initially I didn’t know where to start the troubleshooting. Below are the following steps that I checked to debug:
Troubleshooting done:
§  Reduce the name of the notebook to a shorter one but didn’t make the difference
§  User has created too many sections inside the notebook so reduces the name for sections also but still no results
As per Microsoft, OneNote notebooks are typically stored in Document Libraries on SharePoint. If the SharePoint library you’re using has any of the following properties enabled, it could cause a synchronization error in Microsoft OneNote 2010:
·         Required check-in / check-out
·         Minor versions
·         Any required Properties columns
That’s it, I think the above mentioned guidelines are more than sufficient to resolve the issue J
Resolution:
Change the content type for the document library to 'Optional'. 
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 J
Thank you.

24 May, 2012

Cannot complete this action SharePoint 2010

One of colleague who is working in a different organization called me yesterday for SharePoint help. He told me that he was working on semantic restores and accidently restored the library pages i.e. displayform.aspx, editform.aspx, newform.aspx etc… Due to this action, he was not able to open the document library and was getting the following error message:
Cannot complete this action
Please try again.
Troubleshoot issues with Microsoft SharePoint Foundation.
Correlation ID: e0998560-69eb-4e08-96fe-3411577ebd63
Date: 5/24/2012
There are so many ways by which we can troubleshoot this issue:
1.   Are we able to open the document library by means of SP site?
-open the SharePoint site
-view all site content
-Under document libraries section
-you will see that affected document library
-click on it and check the results
As per my knowledge, it has to reflect the same error message.
2.   Try to map your SharePoint site by means of shared drive concept
-How to create this shared drive?
·         Click Start, right-click Computer, and then click Map network drive...
·         In the Map Network Drive dialog box, click Connect to a Web site that you can use to store your documents and pictures.
·         In the Add Network Location wizard, click next.
·         Click Choose a Custom Network Location, and then click next.
·         In the Internet or Network Address box, paste in the site address you had copied to the Clipboard, and then click next.
·         Enter a name for the network location.

-Once the shared drive created then you can copy all the documents which are present in you library that is not working. So it means that there will be no DATA LOSS J that’s the main thing, correct?
3.   Custom lists and libraries section on your SharePoint site
-Open the SharePoint 2010 site collection on which you are working
-site actions
-site settings
-Under site administration
-custom list and libraries
-select the library in which we are facing the problem
-once you click on it then it will redirected to library settings page
-by which of this page, we can create a new view
-try to create a new view and your problem will be fixed.
The number of options which are explained above will definitely helps you to prevent data loss as well as do a effective troubleshooting that will fix the issue J
After all of this also, if the issue remains then I am always there to help youJ
Please let me know in case of any queries/questions. I would be more than happy to help you as well as resolves your issues J
Thank you.

23 May, 2012

The SOAP message cannot be parsed

Guys

I am back again to share some valuable information with all of you. This time the issue was with InfoPath forms.

Problem Description: I was getting the following error message while trying to publish the InfoPath form to a SharePoint site.

Error Message: The SOAP message cannot be parsed.

Started research on this and found important article that resolved my issueJ. That article is published by Microsoft and we (my complete team) wants to thanks Microsoft for sharing this vital information.

Troubleshooting done:
·         Checked the compatibility by means of form options
·         Checked the trust level by means of form options
·         Checked the VB scripting and deprecated code
·         Checked the submit options and browser compatibility

Resolution: 


References:


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 J