首页 技术 正文
技术 2022年11月15日
0 收藏 542 点赞 3,806 浏览 1041 个字

 

建议大家在微软的组件出现问题时,在GOOGLE上搜索解决方案,一般来说,总有结果:

 带格式化文本控件( RichText)的模板如果在InfoPath的浏览器中加载,可能出现 COM 组件的80040154错误 中错误在作者的IE上显示是如下一串字串 : 检索 COM 类工厂中 CLSID 为 {52F5D46F-CBEA-4D07-BCB7-7296853F0CF2} 的组件时失败,原因是出现以下错误: 80040154。 

解决方案就是在命令行输入一行这个:

regsvr32 “C:\Program Files\Common Files\Microsoft Shared\OFFICE12\htmlchkr.dll”

如果是OSS 2007 就是红字,如果是OSS 2010,这个红字要替换成:office14

笔者找到的解决方案英文附后:

Question

  • 解决方案:带格式化文本控件( RichText)的模板如果在InfoPath的浏览器中加载可能出现 COM 组件的80040154错误                    I have a few rich text fields in a browser enabled infopath 2010 form. When I tried to submit it an error apppeared.

    Retrieving the COM class factory for component with CLSID {52F5D46F-CBEA-4D07-BCB7-7296853F0CF2} failed due to the following error: 80040154. System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {52F5D46F-CBEA-4D07-BCB7-7296853F0CF2} failed due to the following error: 80040154. at Microsoft.Office.InfoPath.Server.DocumentLifetime.EventRichTextChange.HtmlToCleanXHtml(String html, Boolean makeDomCompatible)

    …..

    I deleted all rich text fields the form was submitted successfully.

    Is this a bug of Infopath 2010? Is any ways to use rich text fields?

    Best Regards,

    Malnor

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,965
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,486
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,331
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,114
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,747
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,782