[Fix] “There Was A Problem Sending The Command To The Program” Error Message In Windows - Arewaconnect24

Breaking

Catch the Latest updates from northern Nigeria. We love to serve you...

STAY WITH US

BANNER 728X90

Monday, 3 September 2018

[Fix] “There Was A Problem Sending The Command To The Program” Error Message In Windows



Any time I encounter a problem in life I guess people encounter the same problems too. So I write about how I tried to solve them.


QUESTION
I installed windows 7 on my PC (personal computer) and I installed Microsoft office 2010 and each time I tried opening a document it displays an error message.
What can I do?
What’s the solution?
Whats next?

SOLUTION
For me its is very easy…I don’t know of your PC. So try this…
Check the list of programs installed on your PC by clicking your control panel, look for any program that opens word or office documents, once you’ve seen it,  uninstall it and try opening the document again…

I hope your problem has been solved…
If it doesn’t work read below



There was a problem sending the command to the program.
There_Was_Problem_Sending_Command_To_Program.png
There was no problem in the file. Also the error message was coming only once. After clicking on the OK button and trying to open the file again, it opened without any problem. It was happening each time I started my computer.
I searched and found various solutions for this problem. So today in this tutorial, I'm going to share all possible solutions to fix this irritating issue. I hope it'll come handy for some people.
PROBLEM DESCRIPTION:
When you try to open a Microsoft Office file such as a Word document, Excel spreadsheet, Access database file, etc, you receive following error messages:
There was a problem sending the command to the program.
OR
Windows cannot find the file, Make sure you typed the name correctly, and then try again.
OR
Cannot find the file (or one of its components). Make sure the path and filename are correct and that all required libraries are available.
After getting the error message, following things might happen:
CASE 1: The error message is shown only once and you'll be able to open the file in second attempt.
CASE 2: The error message is shown each time you try to open the file.
PROBLEM REASON:
According to Microsoft KB article, this problem occurs due to Dynamic Data Exchange (DDE) feature. DDE is a type of communication protocols which is used by Windows to open certain filetypes which require this protocol for communication between source and target programs.
DDE mechanism is used to prevent unnecessary opening of multiple instances of a program if one instance of that program is already running in background. So basically DDE helps Windows in saving computer resources so that you get better performance from your computer.
Now lets talk about our problem! The above mentioned error message appears when Windows sends DDE command to MS Office application but Windows fails to connect with the application, thus it shows the error message in return.
PROBLEM SOLUTION:
We talked about 2 cases above! If CASE 1 is applicable to you i.e. you receive the error message only once and then you are able to open the file, you can ignore this problem. Nothing bad is going to happen with your computer.
But if CASE 2 is applicable to you and you are not able to open the file, then you can try following solutions:
SOLUTION 1:
1. Open the Microsoft Office program and open its Options window. Click on Office ORB or FILE menu present in the ribbon and then click on Options.
2. Now go to Advanced tab and scroll down to bottom. You'll find "Ignore other applications that use Dynamic Data Exchange (DDE)" option present in General section.
Ignore_Dynamic_Data_Exchange_DDE_Option.png
3. Make sure its unchecked. If its enabled in your system, disable it by unchecking the checkbox.
4. Apply changes and restart Office program. It should fix the problem.
PS: If the option is not enabled, first enable the option and then restart the Office program. Now again disable the option and then again restart the Office program. It should fix the problem.
SOLUTION 2:
If the above mentioned solution doesn't work for you, try following method. Basically we are going to re-associate Office program as default application to open the filetype:
1. Right-click on the Office file and select "Open with" option.
Microsoft_Excel_Spreadsheet_Open_With_Option.png
2. If you are using Windows 7 or earlier Windows versions, click on Browsebutton.
If you are using Windows 8 or later, click on More Options link and then click on "Look for another app on this PC" option.
3. Now go to "C:\Program Files\Microsoft Office\Office..." folder in Browse dialog box and select the correct EXE file. For example, if you are trying to open .xlsx file, select EXCEL.EXE file. If you are trying to open .docx file, select WINWORD.EXE file.
Make sure "Always use this application for this file type" or similar option is enabled in Open with window.
4. That's it. It should fix the problem.
SOLUTION 3:
Sometimes this error message occurs when "Run as administrator" option is enabled for the program. You can fix it using following steps:
1. Open Start Menu or Start Screen and look for the Office program shortcutwhich is causing this problem such as Word, Excel, etc.
2. Once you find the shortcut, right-click on it and select Properties option.
PS: If you can't find the Properties option, first select "Open file location" option from the context menu. It'll open a new window. Now again right-click on the Office program shortcut present in the new window and now you'll get Propertiesoption.
3. Now go to Compatibility tab and uncheck/disable all given options specially "Run this program as administrator".
Program_Shortcut_Compatibility_Settings.png
4. Apply changes and it should solve the problem.
SOLUTION 4:
You can also try to delete "Data" key from Registry to fix this issue. This key stores basic settings related to window size, position and toolbars. If you delete the key, it'll reappear as soon as you launch Office program. So there is no harm in deleting this key from Registry.
To delete the key, follow these simple steps:
1. Press WIN+R keys together to launch RUN dialog box. Now type regedit in RUN and press Enter. It'll open Registry Editor.
2. Now go to following key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office
3. Under this key, you'll find sub-keys with the name 10.0, 11.0, 12.0, etc depending upon which Office suite version is installed in your computer.
Expand the 10.0 or other number key and you'll see keys with the name Word, Excel, Access, etc.
4. Expand the key associated to the program which is causing problems. For example, if Microsoft Word is causing problems, expand Word key and you'll see Data key under it.
5. Select Data key and press Delete key to delete it.
That's it. Re-launch Office program and now it should work without any problem.
SOLUTION 5:
You can also try to repair Microsoft Office suite with the help of following steps:
1. Open Control Panel and click on Programs and Features icon.
2. Now click on Microsoft Office entry present in the list and click on "Change" button.
3. Now select "Repair" option and click on "Continue" button.
It'll repair Microsoft Office files and settings and it should fix the problem.
SOLUTION 6:
A few readers have reported that a 3rd party software "AVG PC TuneUp" can also cause this issue. So if you are also facing this problem and you have "AVG PC TuneUp" software installed in your computer, try to uninstall it. It may also fix the issue.
According to our reader "David 963", AVG PC Tune-up disabled Microsoft Office from starting until the the program started and therefore would not open an individual worksheet or document until the actual program was opened. He didn't uninstall AVG PC TuneUp but he opened the program and went to the "Optimize" tab and clicked "Disable Programs" option. Then he enabled Microsoft Office suite.
According to our reader "NELU", disabling Defense+security level in Comodo Antivirus fixed this issue.
SOLUTION 7: (shared by Phil)
1. Press WIN+R keys together to launch RUN dialog box. Now type regedit in RUN and press Enter. It'll open Registry Editor.
2. Now go to following keys one by one:
HKEY_CLASSES_ROOT\Excel.Sheet.8\Shell\Open\Command
HKEY_CLASSES_ROOT\Excel.Sheet.12\Shell\Open\Command
3. In right-side pane, the value of (Default) would be set to something like following:
C:\Program Files\Microsoft Office\Office12\EXCEL.EXE /dde
You need to replace /dde present at the end of the string with /e "%1"
Close Registry Editor and it should fix the issue.
SOLUTION 8: (shared by Leslie)
1. Press WIN+R keys together to launch RUN dialog box. Now type regedit in RUN and press Enter. It'll open Registry Editor.
2. Now go to following keys one by one:
HKEY_CLASSES_ROOT\Word.Document.12\shell\Open\
HKEY_CLASSES_ROOT\Word.DocumentMacroEnabled.12\shell\Open\
3. Under Open key, you'll find ddexec sub-key. Delete ddexec key.
Close Registry Editor and it should fix the issue.
SOLUTION 9: (shared by Peter)
1. Press WIN+R keys together to launch RUN dialog box. Now type regedit in RUN and press Enter. It'll open Registry Editor.
2. Now go to following key:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Excel\Options
NOTE: The 16.0 key name may be differ like 10.0, 11.0, 12.0, etc depending upon which Office suite version is installed in your computer.
3. In right-side pane, change the value of DDEAllowed to 1
Close Registry Editor and it should fix the issue.
SOLUTION 10: (shared by CMECb)
Disabling protected view may also fix this problem. Check out following tutorial to turn off protected view:

No comments:

Post a Comment