当导入Spreadsheet到sharepoint2013会报下面的错:
an unexpected error has occurred -2147467259
The specified file is not a valid spreadsheet or contains no data to import
解决方法:
首先enable ActiveX controls:
Steps to enable ActiveX controls in Internet Explorer
- Select Tools --> Internet Options menu from the Internet Explorer.
- Select the Security tab from the Internet Options dialog.
- Select Local Intranet Web content zone and click Custom Level.
- Make the following options available under ActiveX controls and plug-ins to either Enable or Prompt:
- Download signed ActiveX controls
- Download unsigned ActiveX controls
- Run ActiveX controls and plug-ins
- Script ActiveX controls marked safe for scripting
- Click OK to save the Security Settings dialog.
- Click OK to save and close the Internet Options dialog.
然后执行下面的步骤:
1. Create an Excel file test1.xlsx
2. Add the SharePoint site to Trusted Site. Since you are using Office 365 P1, please uncheck the option of “Require server verification (https:) for all sites in this zone”. Type in the SharePoint site and click Add. Click Close, click OK.
3. Go to the team site, click Site Actions, click More Options.
4. Click List on the left side. Click Import Spreadsheet, click Create.
5. Type in the List name, click Browse… to find the Excel file we created. Click Import.
6. The test file will be opened in Excel. You may need to type in your Microsoft Online Services ID and password.
7. In the Range Type box, choose Range of Cells. Click the Select Range box, then choose all of the Excel file cells using mouse. After that, the blank of this option will be entered automatically. Click Importbutton.
8. After clicking Import, the Excel Spreadsheet will be shown in a list as below:
Please try to import Spreadsheet again using the above steps.