设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

ACC2000:嵌入或链接 Word 文档时出现“A Problem Occurred While 

1970-1-1 08:00| 发布者: Microsoft| 查看: 11154| 评论: 0

 

适用于

初学者:要求具备单用户计算机的用户界面知识。

本文仅适用于 Microsoft Access 数据库 (.mdb)。

重要说明:本文包含有关修改注册表的信息。修改注册表之前,一定要备份注册表,并且一定要知道在发生问题时如何还原注册表。有关如何备份、还原和编辑注册表的信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

256986 Microsoft Windows 注册表说明

症状

当您尝试启动 Microsoft Access 或者链接(嵌入)Microsoft Word 文档时,您可能会收到以下错误信息之一:
A problem occurred while Microsoft Access was communicating with the OLE server.Try one or more of the following:

*Make sure you're connected to the network server where the OLE server application is located.
*Close the OLE server and restart it outside of Microsoft Access.Then try the original operation again from within Microsoft Access.
*Reinstall the OLE server to ensure that it's registered.

- 或者 -


A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX Control.

Close the OLE server and restart it outside of Microsoft Access.Then try the original operation again in Microsoft Access.

- 或者 -


A problem occurred while accessing the OLE object.

*The OLE server may not be available because it's on a network server and you lost the connection.Try re-establishing the connection.
*The OLE object may be stored in a linked file, but the file isn't available.Activate the OLE server outside of Microsoft Access, and then open the file containing the OLE object to verify that it still exists and can be accessed.

原因

您在计算机上安装了 Norton AntiVirus 2000、Norton AntiVirus 2001 或 Norton AntiVirus 2002。您可能还运行了 Norton 公司提供的 LiveUpdate,并且为 Norton AntiVirus 2001 和 Norton AntiVirus 2002 安装了 Script Blocking 更新。

解决方案

要解决此问题,请使用下列方法之一。

方法 1:关闭 Norton AntiVirus Script Blocking

注意:Norton AntiVirus 2000 不支持 Script Blocking 功能。如果您正在使用 Norton AntiVirus 2000,请参见“方法 2”以获得解决办法。

对于 Norton AntiVirus 2001 或 Norton AntiVirus 2002:

  1. 启动 Norton AntiVirus。
  2. 单击选项。如果在单击选项后出现一个菜单,则请单击 Norton AntiVirus。注意,将出现 Norton AntiVirus Option 对话框。
  3. 单击 Script Blocking(脚本堵塞)。
  4. 单击清除 Enable Script Blocking (recommended)(启用脚本堵塞(推荐))复选框。
  5. 单击确定
注意:在您使用完 Access 后,您可以再次打开 Script Blocking。

有关更多信息,请参见 Norton 产品文档或访问以下 Symantec Web 站点:

http://service4.symantec.com/SUPPORT/nav.nsf/b69c799adfa31ecc85256aa30052f4d0/259a4b15fa285bfb85256a2b007f29c2?OpenDocument

如果此链接无效,请在下面 Symantec Web 站点的 Symantec 知识库中搜索文档号 2001041119095106:

http://www.symantec.com/search/

方法 2:关闭 Microsoft Office 的 Norton AntiVirus Office 插件


注意:此方法将关闭 Norton AntiVirus 安装期间安装的病毒扫描插件。在 Microsoft Office 程序中,此插件可以扫描感染宏病毒的文档。关闭此插件后,Norton AntiVirus 将无法扫描打开的文档。不过,Norton AntiVirus 自动保护功能通过扫描任何运行、下载、打开、创建或删除的文件,仍可继续提供不间断的保护。有关 Norton AntiVirus 的更多信息,请参见产品文档。

对于 Norton AntiVirus 2002:

  1. 启动 Norton AntiVirus。如果它是 Norton SystemWorks (NSW) 或 Norton Internet Security (NIS) 的一部分,请启动 NSW 或 NIS,然后单击 Norton AntiVirus
  2. 单击 Options(选项),然后单击 Miscellaneous(其他)。
  3. 在“How to keep Microsoft Office documents protected”(如何保护 Microsoft Office 文档)部分中,单击清除 Enable Office(启用 Office)插件。
  4. 单击 OK(确定),然后退出 Norton Antivirus。
对于 Norton AntiVirus 2001:

  1. 启动 Norton AntiVirus。如果它是 Norton SystemWorks (NSW) 或 Norton Internet Security (NIS) 的一部分,请启动 NSW 或 NIS,然后单击 Norton AntiVirus
  2. 单击Options(选项),然后单击 General(常规)。
  3. 在“Office 2000 plug-in”(Microsoft Office 2000 插件)部分中,单击清除 Enable(启用)插件。
  4. 单击 OK(确定),然后退出 Norton Antivirus。
对于 Norton AntiVirus 2000:

  1. 单击开始,然后单击运行
  2. 打开框中,键入下列命令之一(具体取决于您正在运行的操作系统和软件),然后按 Enter 键。键入命令时包括引号。
    • 安装了 Norton AntiVirus 的 Windows 95 或 Windows 98:
      "C:\Windows\System\Regsvr32" -U "C:\Program Files\Norton AntiVirus\OfficeAV.dll"
      						
    • 安装了 SystemWorks 的 Windows 95 或 Windows 98:
      "C:\Windows\System\Regsvr32" -U "C:\Program Files\Norton SystemWorks\Norton AntiVirus\OfficeAV.dll"
      						
    • 安装了 Norton AntiVirus 的 Windows NT 或 Windows 2000:
      "C:\Winnt\System32\Regsvr32" -U "C:\Program Files\Navnt\OfficeAV.dll"
      						
如果该命令成功运行,您会收到如下信息:

DllUnregisterServer in C:\Program Files\Norton AntiVirus\OfficeAV.dll succeeded.

如果命令不成功,请搜索硬盘以查找 OfficeAV.dll 文件。您计算机上 OfficeAV.dll 的路径可能与信息中显示的路径不同。找到 OfficeAV.dll 后,记下该文件的位置,然后再次按照这些步骤操作,但是这一次,请将步骤 2 中命令的 "C:\Program Files\Norton AntiVirus\OfficeAV.dll" 部分更改为您计算机上 OfficeAV.dll 的路径。


有关更多信息,请参见 Norton 产品文档或访问以下 Symantec Web 站点:

http://service4.symantec.com/SUPPORT/nav.nsf/df0a595864594c86852567ac0063608c/2efb6ccf3c61c14c852567ee0058f96a?OpenDocument

如果此链接无效,请在下面的 Symantec Web 站点的 Symantec 知识库中搜索文档号 1999091612160606:

http://www.symantec.com/search/

方法 3:重新安装 Norton Antivirus

对于所有版本的 Norton AntiVirus,请执行下列操作:
  1. 删除 Norton AntiVirus,然后重新启动计算机。
  2. 启动 Word。
  3. 帮助菜单上,单击“检测与修复”。
  4. 重新安装 Norton AntiVirus,然后重新启动计算机。

更多信息

重现此问题的步骤

  1. 安装 Norton AntiVirus 2000。
  2. 创建一个新的 Access 2000 数据库。
  3. 创建下面的表格,然后将表格保存为 Table1
    表格:Table1
       ----------------------------
    字段名称:ID
    数据类型:自动编号
    索引:有(有重复)
    
    字段名称:测试
    数据类型:OLE 对象
    
    表格属性:Table1
       ------------------------
    主关键字:ID
    					
  4. 创建一个基于表格 Table1 的窗体。将此窗体保存为 OLETest
  5. 在“窗体”视图中打开 OLETest 窗体。
  6. 右键单击“测试”字段,然后单击插入对象
  7. 单击插入对象对话框中的“由文件创建”。
  8. 输入指向 Microsoft Word 文档的路径,或者单击浏览按钮选择一个路径。
  9. 单击确定关闭插入对象对话框。

    注意,您将收到本文“症状”一节中提到的错误信息之一。

参考

有关 Office 程序中此现象的其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

243579 OFF2000:在安装 Norton AntiVirus 的情况下使用 Word 2000 的程序中出现的错误信息


Microsoft 提供了第三方联系信息以便于您寻求技术支持。这些联系信息如有更改,恕不另行通知。Microsoft 不保证此第三方联系信息的准确性。


本文中提到的第三方产品由 Microsoft 以外的其他公司提供。对于这些产品的性能或可靠性,Microsoft 不作任何暗示保证或其他形式的保证。

这篇文章中的信息适用于:

  • Microsoft Access 2000
最近更新: 2004-2-20 (1.0)
关键字: kberrmsg kbprb KB295824

Microsoft和/或其各供应商对于为任何目的而在本服务器上发布的文件及有关图形所含信息的适用性,不作任何声明。 所有该等文件及有关图形均"依样"提供,而不带任何性质的保证。Microsoft和/或其各供应商特此声明,对所有与该等信息有关的保证和条件不负任何责任,该等保证和条件包括关于适销性、符合特定用途、所有权和非侵权的所有默示保证和条件。在任何情况下,在由于使用或运行本服务器上的信息所引起的或与该等使用或运行有关的诉讼中,Microsoft和/或其各供应商就因丧失使用、数据或利润所导致的任何特别的、间接的或衍生性的损失或任何种类的损失,均不负任何责任,无论该等诉讼是合同之诉、疏忽或其它侵权行为之诉。

最新评论

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-4-26 21:52 , Processed in 0.071196 second(s), 16 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

返回顶部