none
Web服务器上安装Office2003和Office2007冲突么? RRS feed

  • 问题

  • 现状:Web服务器上有一些应用系统:
    有几个Web系统用Excel 2003和Word 2003,使用到COM服务等;
    有2个Web系统应用到Excel2007和Word2007,Word2007是Word转PDF的功能,也使用到COM服务等。
    问题:后安装的Office2007,造成饮用Office2003的Web系统中的功能都不能用了。
    线索:COM服务中,Microsoft Excel Application和Microsoft Word Document的属性中Local Patch都指向Offcice2007的目录。

    不晓得是不是Office2003和Office2007真的冲突造成2个不能安装在同一台Web服务器上。
    大家有什么好办法么?
    2009年9月28日 12:07

答案

  • 该问题已结帖,请参考
    A. I had migrated the web applications using Office 2007 com service to another web server, and they work well.
    B. I had tested to import Excel 2003's the registry to replace Excel 2007's registry, and the applications using excel 2003 com service work well.

    About B case, the detail is as following.
    Base Info.:
        Server 1: office 2003 installed first, office 2007 installed later.
        Server 2: only office 2003 installed
        The path of office 2003 is same on Server 1 and Server 2.
    I. export the registry from server 2.
        HKEY_CLASSES_ROOT\CLSID\{00020818-0000-0000-C000-000000000046}
        HKEY_CLASSES_ROOT\CLSID\{00024502-0000-0000-C000-000000000046}
    II. backup and delete office 2003's registry on server 1.
    III. import the registry file from server 2 to server 1.
    IIII. testing application using office 2003 com service on server 1, and the result is the function is okay.

    I got a information that the reason maybe the excel format is xml but not common excel application.
    Maybe excel 2007 could not support to open or read excel that generated by xml format.

    Even so, I got 2 usful info.:
    1. We can use registry to control com service.
    2. We'd better setup Office 2003 and Office 2007 on different web server.


    Reference:
    http://support.microsoft.com/kb/948615 (we can smell the format issue here.)

    • 已标记为答案 Peter.Tang 2009年9月29日 13:20
    2009年9月29日 13:20

全部回复

  • 也无所谓冲突,Microsoft Excel Application和Microsoft Word Document的属性 要么指向 office 2003 要么指向 office 2007, 它并没有版本区分。

    内网的web server 一般负载不重,做两个虚拟机做web server吧,呵呵。 这样用很方便。
    2009年9月29日 6:03
    版主
  • 这么说我只有把Office 2003和Office 2007分别放在不同的Web Server咯?

    2009年9月29日 6:21
  • 该问题已结帖,请参考
    A. I had migrated the web applications using Office 2007 com service to another web server, and they work well.
    B. I had tested to import Excel 2003's the registry to replace Excel 2007's registry, and the applications using excel 2003 com service work well.

    About B case, the detail is as following.
    Base Info.:
        Server 1: office 2003 installed first, office 2007 installed later.
        Server 2: only office 2003 installed
        The path of office 2003 is same on Server 1 and Server 2.
    I. export the registry from server 2.
        HKEY_CLASSES_ROOT\CLSID\{00020818-0000-0000-C000-000000000046}
        HKEY_CLASSES_ROOT\CLSID\{00024502-0000-0000-C000-000000000046}
    II. backup and delete office 2003's registry on server 1.
    III. import the registry file from server 2 to server 1.
    IIII. testing application using office 2003 com service on server 1, and the result is the function is okay.

    I got a information that the reason maybe the excel format is xml but not common excel application.
    Maybe excel 2007 could not support to open or read excel that generated by xml format.

    Even so, I got 2 usful info.:
    1. We can use registry to control com service.
    2. We'd better setup Office 2003 and Office 2007 on different web server.


    Reference:
    http://support.microsoft.com/kb/948615 (we can smell the format issue here.)

    • 已标记为答案 Peter.Tang 2009年9月29日 13:20
    2009年9月29日 13:20