Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 12th, 2004, 01:18 AM
Registered User
 
Join Date: Feb 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Suddenly You Can't View Source in IE?

This is just a General FYI for newbies.

Yes, it was something I was totally unprepared for. SUDDENLY AND WITHOUT ANY PRIOR NOTICE, I COULD NO LONGER VIEW SOURCE CODE FOR ANY WEBPAGE -- ON THE INTERNET OR OFFLINE!

My book was no help. Even the IE Help was no help. We simply assume at all times that anytime you select View -> Source from the IE pull-down menus, that code will appear in cute little Notepad pop-up windows (or those of your selected text editor). And it's a real shock when it stops working without warning!

DON'T ASK MY WHY! But it would appear that, anytime you place a shortcut to Notepad on your desktop, you will then be COMPLETELY UNABLE to view source code in IE for as long as that shortcut exists.

Otherwise, my JavaScript lessons are coming along nicely. Many thanks to Paul Wilton for writing the best possible guidebook for learning JavaScript!

Ganesh, the Last Javan Tiger
 
Old February 12th, 2004, 09:54 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I am exceedingly sceptical, are you sure you didn't move notepad to the desktop? I will try this later to confirm however I changed my viewsource command to use a different text editor which highlights html for easier viewing so it will take some fiddling to test properly.

--

Joe
 
Old February 12th, 2004, 05:43 PM
Registered User
 
Join Date: Feb 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Skeptical? YES! SO WAS I! Microsoft simply CAN'T have bugs of this magnitude of obscurity -- it is UNTHINKABLE!

Actually, it would appear that THIS IS NOT THE ONLY THING that will cause this to happen! And it is not readily reproducible from system to system, so I apologize to you if I have been "wasting your time" while you try to reproduce this anomaly. For me, this bug is very real! I am using Windows 2000 Professional SP4 with IE 6 and all the recommended patches.

Your ability to view source from IE might ALSO be hindered by the size of (and amount of junk) in your "Temporary Internet Files" folder. This is also documented all over the World Wide Web. Please read on for more details.

The only clue I received was this happened occurred when I used my Google search engine, and searched for "can't view source in IE" which produced the usual thousands of hits. However, I noticed that Google found ALL of these words IN ORDER. Within the first couple of hits, I found my answer. It was that stupid shortcut I'd placed there on the desktop for my convenience!

If you want need more proof, or want to see more "Unable to View Source" bug causes -- just to make sure that this NEVER EVER happens to you, please use your Google search engine as I instructed above, or simply visit this following link: <http://www.mredkj.com/tutorials/tips_ie.html> which was #2 on the Google "hit parade".

Many thanks for your interest, and your feedback!

Best Regards,

Ganesh, the last Javan Tiger
 
Old February 12th, 2004, 08:04 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Hey guys,
I hate to break in on your thread, but I have experienced this problem from time to time. Exactly as to what causes it, I'm not sure, it happens randomly (seemingly anyway) and is usually corrected by closing the browser window(s) and reopening. I have not been able to reproduce it under a specific set of conditions, so I'd just be blowing air as to its cause. Personally I haven't done any modifications as to the where-a-bouts of notpad.exe, so I dunno about that. I also have to regularly dump the 'Temporary Internet Files' folder to correct IE refreshing from the cache instead of grabbing the remote file (after the file's been modified of course).. so I'm skeptical that would have anything to do with it either. But I could be wrong.

If you can isolate the cause I'd be interested in hearing the remedy.

: )
Rich

:::::::::::::::::::::::::::::::::
Smiling Souls
http://www.smilingsouls.net
:::::::::::::::::::::::::::::::::
 
Old February 12th, 2004, 08:16 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Try emptying your cache. ;)

(o<
//\ =^..^=
 
Old February 13th, 2004, 09:49 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

I have tried creating a short cut to Notepad on my desktop and view source still works. This is on a temporary Windows 98 machine. I'll try it on 2000 and XP when I get home.

--

Joe
 
Old February 18th, 2004, 04:21 PM
Authorized User
 
Join Date: Jun 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All you need to do is go to Internet Options in IE and Delete Files. That will take care of this problem, run into it a few times myself.
 
Old October 27th, 2004, 04:44 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, removing the notepad shortcut from my desktop worked for me!
I had already deleted internet files and that did not solve the problem.

 
Old December 5th, 2004, 11:23 PM
sls sls is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ganesh thank you. I have had the same problem and did all of the above removing files ete, etc. After reading your "fix" I removed the shortcut to notepad from my desktop and I am now able to view source again.
I am using windows IE6.0.2900 SP2.
We have eight PCs and all have a shortcut to notepad but only my PC was unable to view source.

 
Old December 13th, 2004, 05:49 PM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have tried everything and my view source still is not working. Any suggestions? Windows xp service pack 2. Deleated files cookies etc.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid View with SqlData Source mallikalapati ASP.NET 2.0 Professional 2 February 6th, 2008 08:51 AM
Disable View>Source (disable html source) kazmughal44 HTML Code Clinic 11 December 11th, 2007 11:53 AM
Control properties in source view drmacy BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 4 September 25th, 2007 07:35 AM
HTML - no View Source GreenLamar HTML Code Clinic 1 August 9th, 2007 03:19 PM
Unable to view source code! yuvin ASP.NET 1.0 and 1.1 Basics 0 January 10th, 2007 02:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.