Good old Office Web Apps

%3CLINGO-SUB%20id%3D%22lingo-sub-1710330%22%20slang%3D%22en-US%22%3EGood%20old%20Office%20Web%20Apps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1710330%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20everyone%2C%20sorry%20to%20bring%20back%20that%20kind%20of%20subject%20but%20I%20am%20facing%20a%20little%20issue.%20Some%20background%2C%20we%20still%20need%20to%20use%20our%20SharePoint%202013%20environment%20for%20some%20time%20and%20I%20have%20to%20get%20rid%20of%20our%20old%20server%202008%20R2%20that%20are%20still%20around.%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20I%20added%20a%20new%20server%202012%20R2%20for%20some%20test%20and%20I%20have%20installed%20the%20Office%20Web%20Apps%20on%20it%20as%20proposed%20on%20a%20MS%20guide%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwebappsserver%2Fdeploy-office-web-apps-server%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDeploy%20Office%20Web%20Apps%20Server%20-%20Office%20Web%20Apps%20Server%20%7C%20Microsoft%20Docs%3C%2FA%3E).%20I%20am%20running%20it%20as%20a%20single%20https%20server.%20The%20Apps%20are%20not%20installed%20on%20the%20system%20drive%2C%20they%20are%20on%20the%20D%20drive.%3C%2FP%3E%3CP%3EI%20have%20ran%20the%20commands%20to%20link%20it%20to%20the%20dev%20SharePoint%202013%20environment%20and%20all%20seems%20to%20be%20fine%20except%20for%20Excel%20documents%20that%20are%20not%20able%20to%20be%20opened.%3C%2FP%3E%3CP%3EThe%20errors%20I%20have%20in%20the%20event%20viewer%20are%26nbsp%3BThere%20was%20an%20error%20in%20communicating%20with%20Excel%20Calculation%20Services%20http%3A%2F%2FServerName%3A809%2Fecs%2FExcelService*.asmx%20exception%3A%20The%20underlying%20connection%20was%20closed%3A%20An%20unexpected%20error%20occurred%20on%20a%20receive.%3CBR%20%2F%3E%5BSession%3A%3CBR%20%2F%3EUser%3A%20NT%20AUTHORITY%5CNETWORK%20SERVICE%5D.%20event%20ID%205239.%3C%2FP%3E%3CP%3EI%20have%20compared%20the%20environment%20with%20the%20current%20prod%20and%20I%20can't%20seem%20to%20see%20any%20differences.%3C%2FP%3E%3CP%3EBoth%20environment%20seem%20to%3A%3C%2FP%3E%3COL%3E%3CLI%3ERun%20the%20AppPool%20as%20NetworkServices.%26nbsp%3B%3C%2FLI%3E%3CLI%3ENot%20using%20the%20Excel%20Calculation%20Services%20(not%20listed%20in%20SharePoint%20Central%20Admin)%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI%20have%20notice%20that%20the%20site%20being%20mentioned%20in%20the%20error%20is%20http%20and%20not%20https.%3C%2FP%3E%3CP%3ESo%2C%20is%20there%20a%20way%20to%20validate%20that%20we%20are%20not%20using%20the%20Excel%20Calculation%20Services%3F%3C%2FP%3E%3CP%3EIs%20there%20someone%20with%20some%20experience%20in%20configuring%20web%20apps%20that%20can%20give%20a%20hand%20on%20that%20one%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEdit%3A%20I%20have%20reinstalled%20my%20Office%20Web%20Apps%20on%20the%20same%20server%20but%20this%20time%20on%20the%20C%20drive%2C%20same%20problems%3A(%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThank%20you%20very%20much%3C%2FP%3E%3CP%3EMathieu%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1710330%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi everyone, sorry to bring back that kind of subject but I am facing a little issue. Some background, we still need to use our SharePoint 2013 environment for some time and I have to get rid of our old server 2008 R2 that are still around. 

So I added a new server 2012 R2 for some test and I have installed the Office Web Apps on it as proposed on a MS guide (Deploy Office Web Apps Server - Office Web Apps Server | Microsoft Docs). I am running it as a single https server. The Apps are not installed on the system drive, they are on the D drive.

I have ran the commands to link it to the dev SharePoint 2013 environment and all seems to be fine except for Excel documents that are not able to be opened.

The errors I have in the event viewer are There was an error in communicating with Excel Calculation Services http://ServerName:809/ecs/ExcelService*.asmx exception: The underlying connection was closed: An unexpected error occurred on a receive.
[Session:
User: NT AUTHORITY\NETWORK SERVICE]. event ID 5239.

I have compared the environment with the current prod and I can't seem to see any differences.

Both environment seem to:

  1. Run the AppPool as NetworkServices. 
  2. Not using the Excel Calculation Services (not listed in SharePoint Central Admin)

I have notice that the site being mentioned in the error is http and not https.

So, is there a way to validate that we are not using the Excel Calculation Services?

Is there someone with some experience in configuring web apps that can give a hand on that one?

 

Edit: I have reinstalled my Office Web Apps on the same server but this time on the C drive, same problems:(

Thank you very much

Mathieu

1 Reply
Highlighted

@Mathieu Desjardins 

 

OK so I did found the solution to my problem. 

It look like when using a version of .net framework superior to 4.5.2 you need to Unable the legacy JIT:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
Then, add the following:
Value name: useLegacyJit
Type: DWORD (32-bit) Value (also called REG_WORD)
Value: 1

After activating that setting and did a IIS reset, the excel workbook where correctly opening. 

Maybe that part should be added to the documentation page? I know the product end of life is 2023 but still relevant information to have.