Re: View Source Restriction Error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Ramesh [MVP] (ramesh_at_nojunkmails.com@mvps.org)
Date: 06/27/04


Date: Sun, 27 Jun 2004 19:43:22 +0530


>From Mike Burgess, MVP

There may be several reasons .........

If a shortcut exists on the Desktop for Notepad, rename it.
[or]
Close all instances of OE and IE
Control Panel | Internet Options | General tab | Delete Files button
Also select the option: "Delete all offline files"
Then click the "Clear History" button, while you're at it ......
Reset the TIF cache size to 50mb. Click Apply\Ok

--
Make *sure* Notepad.exe exists and is NOT a 3rd party replacement.
In some cases a Registry entry may prevent "View | Source" from working.
Start - Run (type) "regedit" (no quotes)
Click Edit (up top) select: Find (type) "NoViewSource" (no quotes),
Click "Find Now" *if* located, highlight the entry "NoViewSource" in the
right pane
Right-click and select: Modify, change the value from "1" to "0" (no quotes)
Press F3 to continue searching until completed, repeat as needed.
--
Open Regedit to the following location:
HKEY_CLASSES_ROOT\.htm
"PerceivedType"="text"
@="htmlfile"
"Content Type"="text/html"
HKEY_CLASSES_ROOT\.htm\OpenWithList
HKEY_CLASSES_ROOT\.htm\OpenWithList\notepad.exe
If the above key doesn't exist, create it.
The below Registry key does NOT normally exist,
Tweak UI (XP) or some other app may have added the key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source
Editor\Editor Name]
@="C:\WINDOWS\notepad.exe"
If exists, make sure the correct program and "Path" is indicated.
Note: always Export before editing.
[more info]
Source Code Is Not Displayed When You Click Source on the View Menu in IE
http://support.microsoft.com/default.aspx?scid=kb;en-us;306907
-- 
Ramesh - Microsoft MVP
Windows XP Shell/User
http://www.mvps.org/sramesh2k
AumHa VSOP: http://www.aumha.org
"Nathan" <Nathan@crystalcore.nl> wrote in message news:2205901c45c4e$2a34bbc0$a501280a@phx.gbl...
Hello,
since about 1 week ive been having this error when trying 
to view a page source, being; "Windows cannot access the 
specified device, path, or file. You may not have the 
appropriate permissions to access the item.".. Well I 
have an administrator account and I can open notepad the 
normal way, I already tried cleaning my cache/temp files 
and change my tmp directory, neither worked, I checked 
the registry to see if all settings are still how they 
should be and for as far as my knowledge goes it looked 
fine.
But im still having this damn problem, so my question.. 
does anyone know how to fix this??
thanks in advance! :-)

Quantcast