Tuesday, 30 October 2012

The operation could not be completed in MS-InfoPath


If the error: “Microsoft InfoPath. The operation could not be completed” arises, it would actually mean that you haven’t created a top level site collection.
First go to your Admin Site then follow the steps below.
On Site Collections, click on the Create site collections link.
Then from the drop down list, Select the web application where you wanted to create the site collection.
Give the title and the description then select “/” from the URL drop down list.
Then choose a template for your site and enter the primary site collection Administrator and OK.

Friday, 26 October 2012

Server Error in ‘/’ Application


In SharePoint 2010 we would go into IIS, find our virtual directory and change the CallStack from false to true and the customErrors mode from On to Off.

Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config and set Customerrors mode="Off".

If still error will arrise then do the following:

Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\ADMIN\web.config

From customErrors section set the value to off.

Sunday, 21 October 2012

How to Import Export a SharePoint Subsites

1. Navigate to Central Admin
2. From the Central Admin screen – select ‘Backup and Restore’











3. Form here click ‘Export a site or list’ from the Granular Backup links:





4. Select the relevant Site collection from the drop down






5. Once you’ve selected the Site collection, site and list select a file location (note the .cmp file extension and the fact that it needs to be a network location)
6. Select the version number: 





7. You’re now good to go and can hit ‘start Export’
8. Once you’ve started the Export, you’ll get a screen notifying you about the status









9. Once done you’ll notice 2 files:
          i)   The actual file
          ii)   A log file which is handy in case things don’t go so well.
10. SharePoint 2010′s Central Admin doesn’t have a UI to facilitate the importing of this so you’ll have to use PowerShell .
11. Open the PowerShell  in Administrative mode nad type the below command.
Import-SPWeb -Identity http://win-8qo9cqdq6hn:13000 -Path c:\Backupsharepoint\Customer11000.cmp -includesecurity –force
12. Upon navigating back to your SharePoint list you should notice it on the root /homepage of your site which is where it was imported to.


Using stsadm
Open the Command Prompt on the SharePoint server as an administrator.

C:\>stsadm -o export -url  http://siteurl/site1 -filename c:/site1.cmp -includeusersecurity

C:\>stsadm -o import -url http://newsiteurl/site1 -filename c:/site1.cmp -includeusersecurity

Survey in sharepoint 2010


1. Open your site collection.
2. Go to Site Actions ->Click on All site content option.
3. Then click on create option on the top.
















4. Select survey from the options and give some name and click on create.












5. A new page will open in which you will enter a question or questions for the survey.



















6. Type the required question in the question box.
7. Choose how the answer will show. A number of options are there. Choose the required one.
8. If you want that user have to response to that question then select “Yes” on “Require a response to this question”.
9. If you want that the users will enter different values without any similarity with each other then Choose “Yes” on “Enforce Unique values”.
10. Enter the options you want to show for the question.
11. Choose the option how you want to show the options i.e. in drop down or  in radio button etc.














12. If you want to add another question in the survey then click on “Next Question” button otherwise choose “Finish” button.
13. Survey option will show in LHS navigation pane.