Monday, March 28, 2011

Run Office Web Apps with Word on Domain Controller

Background

I recently ran into the following issue with installing Office Web Apps on my development VM. I have actually never had a reason to install it on my development VM and I had installed Office Web Apps successfully in other environments with no issues. Well I installed and configured it correctly however I when I clicked on a Word document, all the resources on the VM would be consumed and I would have to do an iisreset to get the machine back. It was locking up.

I went into the logs and would see stuff like the following which was not very helpful. It was basically just saying it was timing out.

Office Viewing Architecture chm3 Medium AppManager returning InProgress: Timed out waiting for conversion. QueuePosition: 0, Document: F02b4c7ef340141e298462b60da796b79m71b525a303cb49139385d0a0eb96c7a8m4501bccac02f49b3bb49ff9e8e22ccd7m, Format: _v00000000-0000-0000-0000-000000000101, RequestId: 9a372be4-3ee8-4854-a8a3-b22ab2ac0f57 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture 2uu1 Unexpected ConvertingServiceProxy exception System.TimeoutException: The HTTP request to 'http://win-osd73bv7a62:32843/f0746a013b45414a8d41ad579bc16cf0/Conversion.svc' has exceeded the allotted timeout of 00:00:20. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The request was aborted: The request was canceled. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(S... 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture 2uu1 Unexpected ...endAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Office.Web.Conversion.Framework.Remoting.IConvertingService.EndProcessRequest(IAsyncResult asyncResult) at Microsoft.Office.Web.Conversion.Framework.Remoting.ConvertingServiceProxy.EndProcessReques... 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture 2uu1 Unexpected ...t(IAsyncResult asyncResult) 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture b4vx Unexpected Call to the backend http://win-osd73bv7a62:32843/f0746a013b45414a8d41ad579bc16cf0/Conversion.svc failed: System.TimeoutException: The HTTP request to 'http://win-osd73bv7a62:32843/f0746a013b45414a8d41ad579bc16cf0/Conversion.svc' has exceeded the allotted timeout of 00:00:20. The time allotted to this operation may have been a portion of a longer timeout. ---> System.Net.WebException: The request was aborted: The request was canceled. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result) ... 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture b4vx Unexpected ... at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result) at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Office.Web.Conversion.Framework.Remoting.IConvertingService.EndProcessRequest(IAsyncResult asyncResult) at Microsoft.Office.W... 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture b4vx Unexpected ...eb.Conversion.Framework.Remoting.ConvertingServiceProxy.EndProcessRequest(IAsyncResult asyncResult) at Microsoft.Office.Web.Conversion.Viewing.RequestDispatcher.OnResponseReceived(IAsyncResult ar) 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture e6cq Medium SharepointServiceLoadBalancer.ReportFailedUri: http://win-osd73bv7a62:32843/f0746a013b45414a8d41ad579bc16cf0/Conversion.svc 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Office Viewing Architecture b4vw Medium RequestDispatcher: dispatching request for document F02b4c7ef340141e298462b60da796b79m71b525a303cb49139385d0a0eb96c7a8m4501bccac02f49b3bb49ff9e8e22ccd7m to http://win-osd73bv7a62:32843/f0746a013b45414a8d41ad579bc16cf0/Conversion.svc. 442b152e-8b89-4a90-b252-4ef2f24bc6b6

Resolution

I stumbled across a resolution here - http://gallery.technet.microsoft.com/ScriptCenter/44ac3193-e7cc-4428-ae14-98177b5feab2/

The problem was Office Web Apps does not like to be installed on the same machine where a Domain Controller is installed. Well since this is a local development environment, I have a self-contained domain controller installed. Go figure. You will NOT get this on MSDN as part of the SharePoint 2010 install instructions.

No comments: