询问者
office online server在带有.net4.7的windows server 2012 r2标准版 上无法启动

问题
-
操作系统:阿里云 windows server 2012 r2标准版,默认安装了windows更新,自带.NET4.7环境并且无法卸载
安装office online依赖环境 .net4.5.2的安装被系统阻止了,安装不了,因为系统本身安装了4.7;
系统提示:你的安装将不会进行;这台计算机中已经安装了.NET 更高的版本
安装office online server后服务就启动不了;提示:本地计算机上的office online启动后停止,某些服务在未由其他服务或程序使用时将自动停止。
安装.net4.5.2开发包后再重装office online任然无法解决,同样的问题;
错误日志提示与 .net版本有关:
查看系统事件的错误信息:
无法启动服务。System.TypeInitializationException: “Microsoft.Office.Web.Common.Log”的类型初始值设定项引发异常。 ---> System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.String.ReplaceInternal(String oldValue, String newValue)
在 System.String.Replace(String oldValue, String newValue)
在 Microsoft.Office.Web.Common.Log.GetQuotedEscapedStringOrNull(Object input)
在 Microsoft.Office.Web.Common.Log.GetMessageForExceptionLogging(String verb, Exception originalException, Tuple`2[] info)
在 Microsoft.Office.Web.Common.Log.TraceWithoutRetraceOnException(UInt32 tag, String verb, Exception originalException, Tuple`2[] extraInfo)
在 Microsoft.Office.Web.Common.Log.WriteEventTag(UInt32 tag, EventId id, Object[] insertionData)
在 Microsoft.Office.Web.Common.Log.TraceWithoutRetraceOnException(UInt32 tag, String verb, Exception originalException, Tuple`2[] extraInfo)
在 Microsoft.Office.Web.Common.Log.WriteEventTag(UInt32 tag, EventId id, Object[] insertionData)
在 Microsoft.Office.Web.Common.Log...
应用程序: Microsoft.Office.Web.AgentManager.exe
Framework 版本: v4.0.30319
说明: 由于未经处理的异常,进程终止。
异常信息: System.OutOfMemoryException
在 System.String.ReplaceInternal(System.String, System.String)
在 System.String.Replace(System.String, System.String)
在 Microsoft.Office.Web.Common.Log.GetQuotedEscapedStringOrNull(System.Object)
在 Microsoft.Office.Web.Common.Log.GetMessageForExceptionLogging(System.String, System.Exception, System.Tuple`2<System.String,System.Object>[])
...
异常信息: System.TypeInitializationException
在 Microsoft.Office.Web.Common.Log.WriteEventTag(UInt32, Microsoft.Office.Web.Common.EventId, System.Object[])
在 Microsoft.Office.Web.Environment.WacServer.AgentManager.AgentManagerApplication.CurrentDomain_UnhandledException(System.Object, System.UnhandledExceptionEventArgs)
错误应用程序名称: Microsoft.Office.Web.AgentManager.exe,版本: 16.0.7726.1027,时间戳: 0x58c3dc77
错误模块名称: KERNELBASE.dll,版本: 6.3.9600.19358,时间戳: 0x5ccfa112
异常代码: 0xe0434352
错误偏移量: 0x00000000000085bc
错误进程 ID: 0xe60
错误应用程序启动时间: 0x01d525d2fb1db534
错误应用程序路径: C:\Program Files\Microsoft Office Web Apps\AgentManager\Microsoft.Office.Web.AgentManager.exe
错误模块路径: C:\Windows\system32\KERNELBASE.dll
报告 ID: 5172eed2-91c6-11e9-80d0-88dcdff343ed
错误程序包全名:
错误程序包相对应用程序 ID:
全部回复
-
你好,
请问你是已经直接在你的windows server 2012 r2上安装Office Online Server吗?
对于Office Online Server,建议你先参考一下这篇文章:计划 Office Online Server,看一下Office Online Server的系统需求。
文章中有提到必须是64位Windows Server 2012 R2,你也可以检查一下自己是否满足要求。
由于你的问题与Office Online Server更相关,我们也建议你到Office Online Server这个论坛发帖:
你可以从中得到更专业的技术支持。但是这是一个英文论坛,所以请在发帖的时候使用英文。
如果有关于非开发类Office的问题,你以后也可以发帖到我们论坛,我们很乐意帮助你解决
Bella Wu
如果以上回复对您有所帮助,建议您将其标记为答复。如果您对我们的论坛支持有任何的建议,可以通过此邮箱联系我们:tnsf@microsoft.com.
- 已建议为答案 Herb GuMicrosoft contingent staff, Moderator 2019年6月25日 10:04