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

From MozillaZine Knowledge Base
Jump to navigationJump to search
(added Windows Vista information and references)
m (→‎Registry edit: trimmed down)
Line 24: Line 24:
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).  
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 Windows Registry Editor.
'''Caution:''' Editing the registry incorrectly can damage your system.  Do not attempt these steps if you are inexperienced or uncomfortable using the Registry Editor.
# Go to "Start -> Run" (or press the windows key+R) then type <tt>regedit</tt> and click OK
# Go to "Start -> Run" (or press the windows key+R) then type <tt>regedit</tt> and click OK
# Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec"  
# Use the directory tree hierarchy to navigate to "HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec"  
Line 32: Line 32:
# Repeat for "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec"
# Repeat for "HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec"


Sources:
'''Alternate method:'''
*[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]


===Alternate method===
# Go to "Start -> Run" (or press the windows key+R)  then type <tt>regedit</tt> and click OK
# Press the windows key+R to open the Run box and type <tt>regedit.exe</tt>
# Navigate to HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Application\Topic
# Navigate to HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Application\Topic
# Change (Default)'s value to <tt>System</tt> and, in ddeexec, delete the Default value of <tt>"%1",,0,0,,,,</tt> (This will fix launching urls.)
# Change (Default)'s value to <tt>System</tt> and, in ddeexec, delete the Default value of <tt>"%1",,0,0,,,,</tt>  
# Repeat for HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Application\Topic (This will fix launching html files from your desktop.)
# Repeat for HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Application\Topic  
# Repeat for HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application\Topic
# Repeat for HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application\Topic
# Repeat for HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application\Topic
# Repeat for HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application\Topic (and any other protocols you want to fix)
# Repeat for HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application\Topic
# Repeat for HKEY_CLASSES_ROOT\gopher\shell\open\ddeexec\Application\Topic


Source:
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]
*[http://forums.mozillazine.org/viewtopic.php?p=2791095#2791095 MozillaZine forum post]
*[http://forums.mozillazine.org/viewtopic.php?p=2791095#2791095 MozillaZine forum post]



Revision as of 00:22, 6 April 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" (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 as described above is not available in Windows Vista [1] so you will need to edit the registry.

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 "ddexec" 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"

Alternate method:

  1. Go to "Start -> Run" (or press the windows key+R) then type regedit and click OK
  2. Navigate to HKEY_CLASSES_ROOT\FirefoxURL\shell\open\ddeexec\Application\Topic
  3. Change (Default)'s value to System and, in ddeexec, delete the Default value of "%1",,0,0,,,,
  4. Repeat for HKEY_CLASSES_ROOT\FirefoxHTML\shell\open\ddeexec\Application\Topic
  5. Repeat for HKEY_CLASSES_ROOT\HTTP\shell\open\ddeexec\Application\Topic
  6. Repeat for HKEY_CLASSES_ROOT\https\shell\open\ddeexec\Application\Topic (and any other protocols you want to fix)

Sources:

Related bug reports