

- When microsoft word stops working imeme pdf#
- When microsoft word stops working imeme code#
- When microsoft word stops working imeme windows#
Marshal.FinalReleaseComObject(wordDocument)

WordDocument.Close(ref oFalse, ref oMissing, ref oMissing) Ref oMissing, ref oMissing, ref oMissing, Ref objSourceFilePath, ref oFalse, ref oTrue, WordDocument.Range(ref missing, ref missing).Text = "" WordDocument = (ref missing, ref missing, ref missing, ref missing)
When microsoft word stops working imeme code#
This is the code that is used for document generation: object templateName = "d:\\xyz.dotm"

When the first request is received the winword.exe starts at memory consumption of around 20000K. I notice that with every request of document generation, the memory consumption increase by about 400-800K and when it reaches around 63000K, it stops working. After having sent certain number of requests for document generation, the .Application stops working/responding.įrom looking at the task manager, I know that this happens when the winword.exe process has consumed around 63000K of memory.

When microsoft word stops working imeme pdf#
On the Add-Ins screen, uncheck the little box next to the active Add-Ins and click on OK to save the change.Īfter disabling Word Add-Ins, restart Microsoft Word and see if the problem of Microsoft Word Not Responding is fixed.Īs mentioned above, you can try to isolate the particular Add-in that is causing problems on your computer by disabling Add-Ins one by one.I am using Microsoft Office Interop to generate some Word and PDF documents. In the right-pane, select Word Add-ins and click on the Go… button.ĥ. In Word Options screen, click on the Add-ins in the left pane. In the menu that appears, scroll down and click on Options.Ĥ. Once you are in Microsoft Word, click on the File tab.ģ. Note: Open Microsoft Word in Safe Mode, in case you are unable to open Word program.Ģ. Open Microsoft Word Program on your computer and open a blank document. Hence, follow the steps below to disable Microsoft Word Plug-ins (if any) installed on your computer.ġ. Disable Plugins and Add-InsĮxternal Plugins either installed by you or sometimes added automatically can interfere with proper functioning of Microsoft Word. If this fixes the problem, you can follow the next method to disable active plug-ins one by one to identify the Add-in causing the problem on your computer. Now try opening the non-responsive Word File again on your computer. On the Run command window, type winword.exe /safe and click on OK to start Microsoft Word in Safe Mode.ģ. Opening Microsoft Word in safe mode, disables all the Plug-ins and Add-on programs installed on your computer.Ģ. Wait for the repair program to restart Word and repair Microsoft Office program. Note: If the Repair option is not available, right-click on Change > select Repair in the pop-up and click on Continue. On the next screen, right-click on Microsoft Office and click on the Repair option in the menu that appears. In the Run Command Window, type appwiz.cpl and click on OK.ģ. Right-click on the Start button and click on Run.Ģ. The problem of Microsoft Word not responding might be due to corrupted program files.ġ. On the next screen, click on Set as Default option.Īfter setting Microsoft XPS Document Writer as the default printer, open Microsoft Word and see if the problem is fixed. In the right-pane, click on Microsoft XPS Document Writer and click on Manage.ģ. After setting Microsoft XPS Document Writer as the default printer, open Microsoft Word and see if the problem is fixed. On the next screen, click on Printers & Scanners in the left pane. Open Settings > click on Printers & Scanners.Ģ. Hence, follow the steps below to switch the default printer on your computer to Microsoft XPS Document Writer and see if this helps in fixing the problem.ġ. Microsoft Word can become unresponsive if it is unable to communicate with the printer attached to your computer. In most cases, the problem can be fixed by disabling Add-ins, repairing program files and other methods as provided below.
When microsoft word stops working imeme windows#
Windows will close the program and notify you if a solution is available”. “Microsoft Word has stopped working – A Problem caused the program to stop working correctly.
