Windows error opening Internet shortcut or local HTML file - Firefox: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Extensions: removed DownThemAll. See discussion.)
Line 9: Line 9:


==Extensions==
==Extensions==
[[Problematic extensions]] can cause the issue, including:  
[[Problematic extensions]] can cause the issue, including these and possibly others:  
* [https://addons.mozilla.org/firefox/1865/ Adblock Plus] version 0.7.5.2 (fixed in Adblock Plus version 0.7.5.3 or higher).  [http://adblockplus.org/forum/viewtopic.php?t=1694]
* [https://addons.mozilla.org/firefox/1865/ Adblock Plus] version 0.7.5.2 (fixed in Adblock Plus version 0.7.5.3 or higher).  [http://adblockplus.org/forum/viewtopic.php?t=1694]
* [http://www.google.com/tools/firefox/toolbar/FT3/intl/en/index.html Google Toolbar for Firefox]  (disabling or uninstalling the Google Toolbar extension will stop the error).
* [http://www.google.com/tools/firefox/toolbar/FT3/intl/en/index.html Google Toolbar for Firefox]  (disabling or uninstalling the Google Toolbar extension will stop the error). [http://groups.google.com/group/FFToolbar-group-advanced/browse_thread/thread/ad044e5cf2febcc8/180c9380ec7cc1d3] [http://groups.google.com/group/FFToolbar-Group-Bugs/browse_thread/thread/72935cb2d9acabe/77cdc339cf169b6f]   
* [http://www.downthemall.net// DownThemAll!] (disabling or uninstalling the DownThemAll! extension will stop the error).
[http://groups.google.com/group/FFToolbar-group-advanced/browse_thread/thread/ad044e5cf2febcc8/180c9380ec7cc1d3] [http://groups.google.com/group/FFToolbar-Group-Bugs/browse_thread/thread/72935cb2d9acabe/77cdc339cf169b6f]   


First try updating all extensions ("Tools -> Add-ons -> Extensions -> Find Updates").  If the problem continues, you can disable or uninstall individual extensions and restart Firefox to see if one of them is causing the problem.  Read [[Standard diagnostic - Firefox#Extension issues| this]]  if you need more help.
Try updating all extensions ("Tools -> Add-ons -> Extensions -> Find Updates").  If the problem continues, you can disable or uninstall individual extensions and restart Firefox to see if one of them is causing the problem.  Read [[Standard diagnostic - Firefox#Extension issues| this]]  if you need more help.


If the problem is still not resolved, try the following solutions  (you may need to repeat these steps after each Firefox update):
If the problem is still not resolved, try the following solutions  (you may need to repeat these steps after each Firefox update):

Revision as of 18:42, 27 March 2008

On some Windows systems, when Firefox is not already running and you launch it by opening an Internet shortcut, a local HTML file, or a link in another application, two instances of Firefox may open or Firefox opens 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.".

For example, when Firefox is launched by double-clicking an Internet shortcut icon (or by entering the url via "Start -> Run") you may see an error dialog similar to:

Also, if Firefox is not open and you click a webpage link in a document or spreadsheet, Firefox may open a window with a message that the page could not be found with the address bar showing "FirefoxHTML%5CShell%5COpen%5CCommand" appended to the URL. [1]


Extensions

Problematic extensions can cause the issue, including these and possibly others:

Try updating all extensions ("Tools -> Add-ons -> Extensions -> Find Updates"). If the problem continues, you can disable or uninstall individual extensions and restart Firefox to see if one of them is causing the problem. Read this if you need more help.

If the problem is still not resolved, try the following solutions (you may need to repeat these steps after each Firefox update):

File Types edit

(In Windows XP and Windows 2000)

  1. Open Windows Explorer (or My Computer).
  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 "Use DDE" box is still checked but the "DDE Message" box will be cleared, as shown here)
  7. Repeat for Extension: "(NONE)" File Type: "URL:HyperText Transfer Protocol with Privacy" (and any other protocols you want to fix)
  8. Repeat for Extension: "(NONE)" File Type: "Firefox URL"
  9. Repeat for Extension: "HTM" (or "HTML") File Type: "Firefox Document"

Sources:

Note that the "File Types" user interface that allows you to uncheck the "Use DDE" option, as described above, is not available in Windows Vista [5] so you will need to edit the registry to remove the "ddeexec" key, as shown below.

Registry edit

You will need to manually edit the registry in Windows Vista or in cases where the File Types listing is missing certain entries such as "URL:HyperText Transfer Protocol" (HTTP) and "URL:HyperText Transfer Protocol with Privacy" (HTTPS).

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. Go to "Start -> Run" (or press the windows key+R) then type regedit and click OK
  2. Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec"
  3. Delete the "ddeexec" registry key
  4. Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec" (and any other protocols you want to fix)
  5. Repeat for "HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec"
  6. Repeat for "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec"

Sources:

Related bug reports