09 December, 2011

How to transfer the document library from one site collection to another site in SharePoint 2010

We always transfer the documents from one document library to another but it would be great if I can transfer the complete library from one place to another.
Conditions will be:
1.   Movement of document library from parent site to subsite
2.   Movement of document library from one site collection to another
3.   To make the replica of one document library and create another one by means of archiving purposes
This information will be basic but very vital for the beginners who have started learning sharepoint from the ground level and document library will be undoubtedly important from business perspectives as we use it on daily basis.
So let’s start how we will achieve this requirement:
1.   Open the document library that you wants to transfer from one place to another
2.   Under library toolsàselect Library
3.   Library settings (please refer the mentioned screenshot)
4.   Under permissions and management
5.   Save Document Library as Template

When you will do this then it will ask to provide File name and Template name, make sure to select the check box that specifies “Include Content” and click OK
6.   The above action will save the library under list template gallery (/_catalogs/lt/Forms/AllItems.aspx)
7.   Now go to the list template gallery
8.   Click on the file name that you have provided and it will ask you save the template to your desktop
Now depending upon the project requirement, you can use this template anywhere.
Suppose if you want to create a same library under subsite then you can create now you can get this file under View all site contentàCreate
Suppose if you wants move this library to another site collection then simply upload the template file (that we have saved to desktop) to the list template gallery of another site collection (this is the site collection where you wants the library to move/Designate)

Here are the detailed steps in case of any confusion:
  1. Lets go source SharePoint site collection
  2. Site Actions
  3. Site Settings
  4. Galleries
  5. List Templates
  6. Click on the file name that you have provided and it will ask you save the template to your desktop
  7. Now switch to Destination SharePoint site collection
  8. Site actions
  9. Site settings
  10.  Galleries
  11.  List Templates
  12.  simply upload the template file (that we have saved to desktop) to this list template gallery
 That’s it-Now you will find this uploaded template under library creation path i.e. site actionsà View all site contentàCreate
I hope the above mentioned information is pretty much neat and clear but still please don’t hesitate if you have any queries/questions

08 December, 2011

How to create a document library in SharePoint Server 2010?

1.     Open your SharePoint site
2.     Select “Site Actions” from the left hand side top corner(refer below mentioned screenshot)

 
3.     Select View all site contentàCreate
4.     As soon as you will click create then it will redirect to page where all types of list’s and libraries options are available
5.     Select the appropriate document library as per your project requirement
6.     Enter the title and URL name
7.     Click createàthat’s it, document library will be successfully created.

If you wants to check the more options then it will Permissions, Navigation and Navigation inheritance (please refer the below mentioned screenshot)

Microsoft has published an awesome document on this:

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

References:
4.     Assembling Documents on SharePoint 2010 Sites by Merging Content from Excel, PowerPoint, and Word: http://msdn.microsoft.com/en-us/library/ff519529.aspx

An error has occurred. Please contact your system administrator if this problem persists.

While working with a user yesterday, i have noticed that users could not view Excel files in browser and getting the below mentioned error message:

Error Message:
An error has occurred.
Please contact your system administrator if this problem persists. 

ULS Logs shows the following entry:
There was an error in communicating with Excel Calculation Services http://sharepoint:28963/SPAdmin/ExcelCalculationServer/ExcelService.asmx exception: The request failed with HTTP status 401: Unauthorized.

Checked the event viewer and found the following:

Event Viewer entries:
Event Type:        Error
Event Source:    Office SharePoint Server
Event Category: Excel Services Web Front End
Event ID:  5234
Date: 12/7/2012
Time: 2:50:06 PM
User: N/A
Computer: XXX
Description:
No Excel Calculation Services is available in the farm.[User:
SHAREPOINT\system]

Event Type:        Error
Event Source:    Office SharePoint Server
Event Category:  Excel Services Web Front End
Event ID: 5239
Date: 12/7/2012
Time: 2:50:06 PM
User:                     N/A
Computer: XXX
Description:
There was an error in communicating with Excel Calculation Services
http://sharepoint:28963/SPAdmin/ExcelCalculationServer/ExcelService.asmx
exception: Unable to connect to the remote server
[Session: (null)
User: SHAREPOINT\system].

Troubleshooting Done:

1-checked this article: http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/8bba2694-7276-4505-85a5-02f91b92bb1d  which states that find the ssp which is giving the problem and recycle the app pool to which the ssp is referrencing.

2-http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/321cb536-39d6-4ee9-b9ef-65db9e133d97but cannot apply this resolution as in my case the excel services are running fine for other portals and not working for only one web application.

3-http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/5968cb82-2e65-44c0-bfa8-ce05d70154ff this article has mentioned 3 fixes which will varies from the farm to farm i.e. enviornment to enviornment.

4-Checked alternate access mappings as per this article:http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/c0c59a6a-1cf6-4280-a2ca-9667b2cadd33/ but AAM seetings are fine in our enviornment.

5-Ran this below mentioned commands but no results:
stsadm -o setsharedwebserviceauthn -negotiate
stsadm -o execadmsvcjobs

6-checked SSP pool account is running or not as per this article: http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/85310dd3-a7e7-4673-b258-b0fec7823b8d  but it is fine and no problems

7-excel services are running or not is already checked: http://njbblog.blogspot.com/2008/04/sharepoint-v3-error-excel-services.html

Resolution that fix our issue:
If you get this problem the solution in my case was to by pass the proxy for local requests, this was done by editting the web.config for the relevant web app & adding:

<system.net>

<defaultProxy>

<proxy proxyaddress="http://<ProxyServer>:<port>" bypassonlocal = "true"/>

</defaultProxy>

</system.net>
------------------------------------------
what we have added in this: bypassonlocal = "true"

Issue has been resolved and excel services started working without any issues, 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, Thanks

Move files from one document library to another document library in SharePoint Server 2010

I have created two document libraries named as Source Library and Destination Library, now we have a requirement- How to transfer the documents from one library to another.
Please follow the below mentioned steps and let me know in case of any issues:
1-Open two document libraries in separate browsers/internet explorers
2-Click on LIBRARY on the top for both the document libraries
3-Select "Open with Explorer" for both the document libraries


4-this will open up a new window in which you can see you documents
5-now simply copy it and paste it in the destination document library
Note: It will take some time to transfer depending upon the size of the documents
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
References:
1.   How to: Access, Copy, and Move Files:

2.   Document library planning (SharePoint Server 2010)

3.   Move the contents of a document library using explorer view.
http://msmvps.com/blogs/shane/archive/2006/01/12/move-the-contents-of-a-document-library-using-explorer-view.aspx