Microsoft Office Web Apps och VMware

Den här artikeln skrevs av Tom Schauer, teknisk specialist.

Flera problem uppstår när du installerar Microsoft Office Web Apps eller Office Online Server på en enhet som inte är en systemenhet med hjälp av VMware. Problemet ligger i att ställa in Microsoft Office Web Apps CacheLocation eller RenderingCacheLocation på en icke-systemenhetsplats med funktionen HotAdd/HotPlug i VMware.

Det finns många möjliga symptom på det här problemet, mest synligt när du visar/redigerar dokument. Du kan till exempel se följande fel i ULS-loggarna (SharePoint Unified Logging Service).

Här är ett exempel (med ULS-posten) på det ovanliga beteende du ser:

"Microsoft Word Online"

"Det uppstod ett problem och vi kan inte öppna det här dokumentet. Om detta händer igen kan du försöka öppna dokumentet i Microsoft Word."

Skärmbild av felet i loggarna för SharePoint Unified Logging Service (U L S).

Här är ett exempel på vad du ser i ULS-loggarna:

03/14/2014 14:02:40.53 w3wp.exe (UTMSSP01:0x1620) 0x0BB8 SharePoint Foundation General ai1wu Medium System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:    at Microsoft.SharePoint.SPWeb.GetList(String strUrl)     at Microsoft.SharePoint.SPWeb.get_SiteAssetsLibrary()     at Microsoft.SharePoint.Utilities.SPWOPIHost.GetHomeUrlForFile(SPFile file, Boolean isAttachment)     at Microsoft.SharePoint.SoapServer.Wopi.RunCheckFile(HttpContext context, CommonRequestData requestData, CommonResponseData responseData)     at Microsoft.SharePoint.SoapServer.Wopi.ProcessRequestCore(HttpContext context, CommonRequestData requestData, CommonResponseData responseData)     at Microsoft.SharePoint.SoapServer.Wopi.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 33bd837e-42a2-4d46-89cf-e992045d4964

Åtgärd

Den mest tillförlitliga lösningen är att avinstallera Microsoft Office Web Apps eller Office Online Server och sedan installera om (på enhet C), tillämpa uppdateringar och återskapa servergruppen.

Du kan också använda metoden som anges i följande artikel för att lösa problemet:

Inaktivera funktionen HotAdd/HotPlug i virtuella datorer med ESXi 5.x och ESXi/ESX 4.x (1012225)