Home
%3CLINGO-SUB%20id%3D%22lingo-sub-772780%22%20slang%3D%22en-US%22%3EAn%20unhandled%20win32%20exception%20occurred%20in%20w3wp.exe%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-772780%22%20slang%3D%22en-US%22%3E%3CP%3EAfter%20installing%20Office%202016%20in%20a%20SharePoint%20server%2C%20you%20may%20see%20the%20error%20message%20below%20while%20visiting%20the%20localhost%20site%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E%3CEM%3EAn%20unhandled%20win32%20exception%20occurred%20in%20w3wp.exe%20%5B1472%5D.%20Just-In-Time%20debugging%20this%20exception%20failed%20with%20the%20following%20error%3A%20No%20installed%20debugger%20has%20Just-In-Time%20debugging%20enabled.%3C%2FEM%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CH3%20id%3D%22toc-hId-1597744604%22%20id%3D%22toc-hId-1597744606%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--954412357%22%20id%3D%22toc-hId--954412355%22%3EBackground%3C%2FH3%3E%0A%3CP%3EAfter%20analyzing%20DebugDiag%20dump%2C%20we%20saw%20that%20an%20ISAPI%20Extension%20(OWSSVR%20-%20a%20library%20for%20SharePoint%20Team%20Services)%20caused%20the%20issue.%20This%20library%20got%20damaged%20by%20the%20Office%20installation.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20587px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F124422i0904010963D1C854%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22OWSSVR.jpg%22%20title%3D%22OWSSVR.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-788397978%22%20id%3D%22toc-hId-788397980%22%3E%26nbsp%3B%3C%2FH3%3E%0A%3CH3%20id%3D%22toc-hId--1763758983%22%20id%3D%22toc-hId--1763758981%22%3ESolution%3C%2FH3%3E%0A%3CP%3ERepairing%20the%20SharePoint%20installation%20should%20solve%20the%20issue.%20After%20repairing%20it%2C%20check%20if%20the%20SharePoint%20sites%20work.%20You%20should%20also%20confirm%20that%20Office%20programs%20work%20as%20well.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20%3CSTRONG%3EInstalling%20both%20Office%20and%20SharePoint%20in%20the%20same%20server%20is%20%3C%2FSTRONG%3E%3CSTRONG%3Enot%20supported%3C%2FSTRONG%3E%3CSTRONG%3E.%3C%2FSTRONG%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3EIf%20your%20application%20needs%20to%20work%20with%20Office%20documents%2C%20It%E2%80%99s%20better%20to%20embed%20required%20DLLs%20in%20the%20application%20code%20or%20install%20Office%20Web%20Apps%20Server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20information%20about%20SharePoint%20requirements%2C%20please%20visit%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fsharepoint%252Finstall%252Fhardware-and-software-requirements%26amp%3Bdata%3D02%257C01%257CNedim.Sahin%2540microsoft.com%257Cdc65938eb9ca416b356208d7108deca1%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C636996074051981427%26amp%3Bsdata%3DW%252FhGmFRtReVrv61FnJkyBu9hZCAwIm1bf30hnuGyfp0%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethe%20official%20Microsoft%20documentation%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-772780%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3EAfter%20installing%20Office%202016%20in%20a%20SharePoint%20server%2C%20you%20may%20see%20the%20error%20message%20below%20while%20visiting%20the%20localhost%20site%3A%3C%2FP%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20margin%3A%200px%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CBLOCKQUOTE%20style%3D%22border-left-color%3A%20%23e8e8e8%3B%20border-left-style%3A%20solid%3B%20border-left-width%3A%205px%3B%20box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20%26amp%3Bquot%3B%20segoeui%26amp%3Bquot%3B%2C%26amp%3Bquot%3Blato%26amp%3Bquot%3B%2C%26amp%3Bquot%3Bhelvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2014px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20line-height%3A%201.7142%3B%20opacity%3A%200.8%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%20padding%3A%200px%2024px%200px%2024px%3B%20margin%3A%200px%200px%2024px%200px%3B%22%3E%0A%3CP%20style%3D%22box-sizing%3A%20border-box%3B%20font-family%3A%20inherit%3B%20font-size%3A%2016px%3B%20font-weight%3A%20300%3B%20line-height%3A%201.7142%3B%20margin%3A%200px%3B%22%3E%3CEM%20style%3D%22box-sizing%3A%20border-box%3B%20color%3A%20%23333333%3B%20font-family%3A%20%26amp%3Bquot%3B%20segoeui%26amp%3Bquot%3B%2C%26amp%3Bquot%3Blato%26amp%3Bquot%3B%2C%26amp%3Bquot%3Bhelvetica%20neue%26amp%3Bquot%3B%2Chelvetica%2Carial%2Csans-serif%3B%20font-size%3A%2016px%3B%20font-style%3A%20italic%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EAn%20unhandled%20win32%20exception%20occurred%20in%20w3wp.exe%20%5B1472%5D.%20Just-In-Time%20debugging%20this%20exception%20failed%20with%20the%20following%20error%3A%20No%20installed%20debugger%20has%20Just-In-Time%20debugging%20enabled.%3C%2FEM%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%3C%2FLINGO-TEASER%3E
Microsoft

After installing Office 2016 in a SharePoint server, you may see the error message below while visiting the localhost site:

 

An unhandled win32 exception occurred in w3wp.exe [1472]. Just-In-Time debugging this exception failed with the following error: No installed debugger has Just-In-Time debugging enabled.

 

Background

After analyzing DebugDiag dump, we saw that an ISAPI Extension (OWSSVR - a library for SharePoint Team Services) caused the issue. This library got damaged by the Office installation.

 

OWSSVR.jpg

 

Solution

Repairing the SharePoint installation should solve the issue. After repairing it, check if the SharePoint sites work. You should also confirm that Office programs work as well.

 

Note: Installing both Office and SharePoint in the same server is not supported. If your application needs to work with Office documents, It’s better to embed required DLLs in the application code or install Office Web Apps Server.

 

For information about SharePoint requirements, please visit the official Microsoft documentation.