Windows error opening Internet shortcut or local HTML file - Firefox

From MozillaZine Knowledge Base
Revision as of 16:23, 23 March 2007 by Alice Wyman (talk | contribs) (Clarified that Firefox does open, added full error dialog, noted that the fix may need to be repeated after a Firefox update. Added current bug report.)
Jump to navigationJump to search

On some Windows systems, if Firefox is not already running and you click an Internet shortcut or local HTML file, two instances of Firefox may open, or Firefox may open along with the error dialog, "Windows cannot find <url or path to file>. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search."

Try the following to fix the problem (you may need to repeat these steps after a Firefox update):

File Types edit

(In Windows XP and Windows 2000)

  1. Open Windows Explorer
  2. Go to Tools -> Folder Options -> File Types
  3. Select Extension: "(NONE)" File Type: "URL:HyperText Transfer Protocol"
  4. Click "Advanced". In the "Edit File Type" window, select "open" and click "Edit"
  5. Uncheck "Use DDE" (the dialog should then hide the lower part)
  6. Click OK for that dialog and the next one (afterwards the DDE message box will be cleared, as shown here).
  7. Repeat for Extension: "(NONE)" File Type: "URL:HyperText Transfer Protocol with Privacy"
  8. Repeat for Extension: "(NONE)" File Type: "Firefox URL" (and any other protocols you want to fix).
  9. Repeat for Extension: "HTM" (or "HTML") File Type: "Firefox Document".

Sources:

Registry edit

In cases where the entries are missing from the File Types listing, you can manually edit the registry. Caution: Editing the registry incorrectly can damage your system. Do not attempt these steps if you are inexperienced or uncomfortable using the registry editor.

  1. In Start -> Run, type "regedit" and press Enter.
  2. Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec".
  3. Delete the "ddexec" registry key
  4. Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec"

Sources:

Related bug reports