office打开失败,The file is corrupt and cannot be opened

2024-06-09 07:58

本文主要是介绍office打开失败,The file is corrupt and cannot be opened,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

最近收到一个用户反馈,在SharePoint中打开excel文件时弹出下面错误信息“The File is corrupt and cannot beopened.

 

Machine generated alternative text: ¡ The file is corrupt and cannot be opened. OK

 

troubleshooting过程中发现主要原因是Office Applicationsettings设置问题。

 

可以通过下面步骤解决:

  1. 点击File-> Options

Machine generated alternative text: Info SharePoint2Ol6_ H: » Activity SP16 Nov CU Prot Contrc Ins p Before D p H IC Manage Versions . p Protect Workbook

 

  1. 在弹出的设置页面中点击“Trust Center tab”,在详细设置中点击“Trust Center Settings

Machine generated alternative text: Excel Options _fl ÎIISJ General Help keep your documents safe and your computer secure and healthy. Formulas Proofing Protecting your privacy Save Microsoft cares about your privacy. For more information about how Microsoft Excel helps to protect your privacy, please see the privacy statements. Language Show the Microsoft Excel privacy statement Advanced Customize Ribbon Security & more Quick Access Toolbar Visit Office.com to learn more about protecting your privacy and security. Microsoft Trustworthy Computing Microsoft Excel Trust Center The Trust Center contains security and privacy settings. These settings help keep your computer secure. We recommend that you do not change these settings. Irust Center Settings...

  1. 点击Protected tab,将列出的三个选项都取消勾选,点击OK保存

Machine generated alternative text: Trust Center Trusted Publishers Protected View Trusted Locations Protected View opens potentially dangerous files, without any security prompts, in a restricted mode to help minimize Trusted Documents harm to your computer. By disabling Protected View you could be exposing your computer to possible security threats. r Enable Protected View for files originating from the Internet Trusted App Catalogs . r Enable Protected View for files located in potentially unsafe locations Add-ins r Enable Protected View for Outlook attachments® ActiveX Settings Macro Settings Protected View Message Bar External Content File Block Settings Privacy Options

 

  1. 关闭Office Application,在SharePoint中重新点击文件,文件可以正确打开,问题解决。

 

感谢阅读。

这篇关于office打开失败,The file is corrupt and cannot be opened的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1044606

相关文章

Android实现在线预览office文档的示例详解

《Android实现在线预览office文档的示例详解》在移动端展示在线Office文档(如Word、Excel、PPT)是一项常见需求,这篇文章为大家重点介绍了两种方案的实现方法,希望对大家有一定的... 目录一、项目概述二、相关技术知识三、实现思路3.1 方案一:WebView + Office Onl

SQL server配置管理器找不到如何打开它

《SQLserver配置管理器找不到如何打开它》最近遇到了SQLserver配置管理器打不开的问题,尝试在开始菜单栏搜SQLServerManager无果,于是将自己找到的方法总结分享给大家,对SQ... 目录方法一:桌面图标进入方法二:运行窗口进入方法三:查找文件路径方法四:检查 SQL Server 安

Android实现打开本地pdf文件的两种方式

《Android实现打开本地pdf文件的两种方式》在现代应用中,PDF格式因其跨平台、稳定性好、展示内容一致等特点,在Android平台上,如何高效地打开本地PDF文件,不仅关系到用户体验,也直接影响... 目录一、项目概述二、相关知识2.1 PDF文件基本概述2.2 android 文件访问与存储权限2.

Pyserial设置缓冲区大小失败的问题解决

《Pyserial设置缓冲区大小失败的问题解决》本文主要介绍了Pyserial设置缓冲区大小失败的问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面... 目录问题描述原因分析解决方案问题描述使用set_buffer_size()设置缓冲区大小后,buf

在java中如何将inputStream对象转换为File对象(不生成本地文件)

《在java中如何将inputStream对象转换为File对象(不生成本地文件)》:本文主要介绍在java中如何将inputStream对象转换为File对象(不生成本地文件),具有很好的参考价... 目录需求说明问题解决总结需求说明在后端中通过POI生成Excel文件流,将输出流(outputStre

Docker镜像pull失败两种解决办法小结

《Docker镜像pull失败两种解决办法小结》有时候我们在拉取Docker镜像的过程中会遇到一些问题,:本文主要介绍Docker镜像pull失败两种解决办法的相关资料,文中通过代码介绍的非常详细... 目录docker 镜像 pull 失败解决办法1DrQwWCocker 镜像 pull 失败解决方法2总

Python实现Microsoft Office自动化的几种方式及对比详解

《Python实现MicrosoftOffice自动化的几种方式及对比详解》办公自动化是指利用现代化设备和技术,代替办公人员的部分手动或重复性业务活动,优质而高效地处理办公事务,实现对信息的高效利用... 目录一、基于COM接口的自动化(pywin32)二、独立文件操作库1. Word处理(python-d

pip无法安装osgeo失败的问题解决

《pip无法安装osgeo失败的问题解决》本文主要介绍了pip无法安装osgeo失败的问题解决,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一... 进入官方提供的扩展包下载网站寻找版本适配的whl文件注意:要选择cp(python版本)和你py

Pycharm安装报错:Cannot detect a launch configuration解决办法

《Pycharm安装报错:Cannotdetectalaunchconfiguration解决办法》本文主要介绍了Pycharm安装报错:Cannotdetectalaunchconfigur... 本文主要介绍了Pycharm安装报错:Cannot detect a launch configuratio

Java实现将byte[]转换为File对象

《Java实现将byte[]转换为File对象》这篇文章将通过一个简单的例子为大家演示Java如何实现byte[]转换为File对象,并将其上传到外部服务器,感兴趣的小伙伴可以跟随小编一起学习一下... 目录前言1. 问题背景2. 环境准备3. 实现步骤3.1 从 URL 获取图片字节数据3.2 将字节数组