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

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Related bug reports: added bug 353089)
(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.)
Line 1: Line 1:
On some Windows systems, an error dialog, "Windows cannot find [URL]" may appear (or two Firefox windows/tabs may open) whenever you click on an Internet shortcut or local HTML file. If you are experiencing these problems, try the following:
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==
==File Types edit==
In Windows XP or Windows 2000:
(In Windows XP and Windows 2000)
# Open Windows Explorer  
# Open Windows Explorer  
# Go to Tools -> Folder Options -> File Types
# Go to Tools -> Folder Options -> File Types
Line 11: Line 13:
# Repeat for Extension: "(NONE)" File Type: "URL:HyperText Transfer Protocol with Privacy"  
# Repeat for Extension: "(NONE)" File Type: "URL:HyperText Transfer Protocol with Privacy"  
# Repeat for  Extension: "(NONE)" File Type: "Firefox URL" (and any other protocols you want to fix).
# Repeat for  Extension: "(NONE)" File Type: "Firefox URL" (and any other protocols you want to fix).
# Repeat for Extension: "HTM (or "HTML") File Type: "Firefox Document".
# Repeat for Extension: "HTM" (or "HTML") File Type: "Firefox Document".


Sources:
Sources:
Line 18: Line 20:


==Registry edit==
==Registry edit==
In  cases where the URL entries are missing from the File Types listing you can manually edit the Windows registry as follows.  '''Caution:''' Do not attempt these steps if you are inexperienced or uncomfortable editing the Windows registry.
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.


# In Start -> Run, type "regedit" and press Enter.
# In Start -> Run, type "regedit" and press Enter.
Line 24: Line 26:
# Delete the "ddexec" registry key
# Delete the "ddexec" registry key
#Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec"  
#Repeat for "HKEY_CLASSES_ROOT\HTTPS\shell\open\ddeexec"  
Source: [http://bugzilla.mozilla.org/show_bug.cgi?id=137363#c9 Bug 137363 comment 9]
Sources:
*[http://bugzilla.mozilla.org/show_bug.cgi?id=137363#c9 Bug 137363 comment 9]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=372016#c7 Bug 372016 comment 7]
   
   
==Related bug reports==
==Related bug reports==
*[https://bugzilla.mozilla.org/show_bug.cgi?id=353089 Bug 353089 – Fix / remove ddeexec hack]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=353089 Bug 353089 – Fix / remove ddeexec hack]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=370053 Bug 370053 – Clicking a URL shortcut icon opens two instances of Firefox]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=370053 Bug 370053 – Clicking a URL shortcut icon opens two instances of Firefox]
*[https://bugzilla.mozilla.org/show_bug.cgi?id=370073 Bug 370073 Failure to load a web shortcut if Firefox is not already running]  
*[https://bugzilla.mozilla.org/show_bug.cgi?id=372016 Bug 372016 Windows cannot find 'http:]
[[Category:Issues (Firefox)]]
[[Category:Issues (Firefox)]]

Revision as of 16:23, 23 March 2007

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