view-source: protocol broken in SP2 (XP)?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Since installing XP SP2, the "view-source:" protocol no longer functions.
Instead, you just get a "The page cannot be displayed" error page.

Is this by design, or is it a bug in SP2?
 
Hi Lance :-)


Try the following information here and see if it helps:

Can't view source? Quick solutions for view source problems in Internet
Explorer
http://www.mredkj.com/tutorials/viewsrc.html


If these steps do not resolve your problem, please post back to this thread
with the details and any error messages.

Hope this helps

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.

Please reply to the newsgroup so others may benefit.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
Hi Jan;

My problem is specifically with the view-source: protocol. I can click
View-> Source or Right-Click and View Source just fine. The failure is when
prefixing a URL in the address bar thusly:

view-source:http://www.microsoft.com/

Or in a link on a web page thusly:

<a href="view-source:http://www.microsoft.com/">Click to View Source of
Microsoft.com</a>

This fails on any PC I've tried it on that has XP SP2. Prior to SP2, it has
worked fine. Please see MSDN for more info:

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/predefined/view-source.asp

This has worked since IE v4.0, and in all other current browsers.
 
Seems that IE now adds "http://" in front of the view-source and that
results an invalid url an the error message. You'll get same error if you
type "give-me-the-source-dammit:http//www.somesite.org/index.html". So the
protocol is no more supported. Hard to say if its by design or bug. You
should ask that from MS.
 
Hi Lance :-)
Hi Jan;

My problem is specifically with the view-source: protocol. I can
click View-> Source or Right-Click and View Source just fine. The
failure is when prefixing a URL in the address bar thusly:

view-source:http://www.microsoft.com/

Or in a link on a web page thusly:

<a href="view-source:http://www.microsoft.com/">Click to View Source
of Microsoft.com</a>

This fails on any PC I've tried it on that has XP SP2. Prior to SP2,
it has worked fine. Please see MSDN for more info:

http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/predefined/view-source.asp

This has worked since IE v4.0, and in all other current browsers.

Try the following and see if it will help:

Adding HTTP:// to web addresses

You can check these keys and edit them, if necessary, as follows:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\URL\
DefaultPrefix default="http://"

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\URL\
Prefixes
"ftp"="ftp://"
"gopher"="gopher://"
"home"="http://"
"mosaic"="http://"
"www"="http://"

or.............

Repairs the corrupted or altered (spyware) HTTP prefixes
http://mvps.org/winhelp2002/RepairDefaultPrefix.reg

or........

IE will not connect to a web page without manually typing http://
http://inetexplorer.mvps.org/answers_8.htm

or.....

Resets all the IE functions - for windows, hangups,

Start> Run> Paste this in the window area and hit enter.
regsvr32 Shdocvw.dll

then do the same with each one of the following and hit enter after each
one.

regsvr32 Shell32.dll
regsvr32 Oleaut32.dll
regsvr32 Actxprxy.dll
regsvr32 Mshtml.dll
regsvr32 Urlmon.dll

You should see a message after each entry to let you know the file has been
registered

also.....

Hyperlinks (Links) don't work

Be sure that IE is the default browser.
Open Control Panel> Internet Options> Programs.
Check the "Internet Explorer should check to see whether it is the default
browser" check box.
Click OK.
Start IE and when you are prompted to make it the default browser, click
Yes.

or............

Go to Start>Run and type in regsvr32 urlmon.dll
Then click ok
Then open Internet Explorer and go to
Tools>Internet Options>Programs and
click on 'Reset Web Settings...'
Try the hyperlinks again

also.........

You Cannot Open New Internet Explorer Window or Nothing Happens After You
Click a Link
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q281679

or..........

Work through these pages:
http://www.mvps.org/sramesh2k/IEFAQ.htm Tips #21 & 46
http://www.fjsmjs.com/OE/nolinks.htm
http://support.microsoft.com/?kbid=281679
http://www.mvps.org/inetexplorer/answers2.htm#hyperlinks
http://www.mvps.org/inetexplorer/answers.htm#new_window

or.......

Unresponsive links - Links won't respond

Courtesy of Frank Saunders - MS MVP

From http://www.fjsmjs.com/OE/nolinks.htm

1. Click Start, and then click Run.

2. In the Open box, type:

regsvr32 urlmon.dll

3. Click OK, and then click OK again when you receive the following message:

DllRegisterServer in urlmon.dll succeeded.

4. If that doesn't fix it, see this article:

http://www.mvps.org/inetexplorer/answers.htm#new_window

5. If you are using WinXP try this:
http://www.mvps.org/sramesh2k/reg/IE_Default_Browser.reg

You can also try this:

Go to Start/run, and type SFC (msconfig for WinXP).
Choose 'Extract One File From Installation Disk' ("Expand File" for WinXP).
Type oleaut32.dll, not worrying about its location. Then, click Start.

Next to 'Restore From', type in or browse for the file's location, which is
probably in the Win98 (i386 for WinXP) folder of your installation CD-ROM
(typically D:\Win98), or in your Windows\Options\Cabs (Windows\i386 for
WinXP) folder, as the case may be.

Then, next to 'Save File In', enter C:\Windows\System (C:\Windows\System32
for WinXP), and click OK. System File Checker (or msconfig) looks for the
file, saves it as you requested, and then tells you that 'the file has been
successfully extracted'.

You may need to reboot.

or...............

Links in email don't work: - Courtesy of Steve Cochran:

see the links on this page
http://www.oehelp.com/

If these steps do not resolve your problem, please post back to this thread
with the details and any error messages.

Hope this helps

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.

Please reply to the newsgroup so others may benefit.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
Hi again Jan;

I will try some of the things you mention below.

However, please realize that this is not an isolated issue on one PC. This
has happened to ANY PC that has had SP2 applied. Have you tested it
yourself? Try it on W2K, XP SP1 and XP SP2 so you can see what I mean.

And by the way, the HTTP:// comes _AFTER_ "view-source:", not before it.
In this case, "view-source:" _IS_ the protocol.

My original question is basically, since the functionallity was _removed_
when SP2 was applied, "is it a bug or a feature?". If a bug, then consider
this a bug report. If a feature, then please advise me that is the case.
Since you seem to want to troubleshoot it (and thank you, by the way), I can
only assume it's a bug in XP SP2. That being the case, now may be the time
when you follow what ever the procedure is for you to report bugs to the
developement team.

Thanks again,
Lance
 
Hi Lance :-)
My original question is basically, since the functionallity was
_removed_ when SP2 was applied, "is it a bug or a feature?". If a
bug, then consider this a bug report. If a feature, then please
advise me that is the case. Since you seem to want to troubleshoot it
(and thank you, by the way), I can only assume it's a bug in XP SP2.
That being the case, now may be the time when you follow what ever
the procedure is for you to report bugs to the developement team.

I understand what you are saying, and that there are many instances of such
problems. However, I am not an MVP, merely a volunteer, like everyone else
here, thus, I have no direct input or influence with the MS developement
team.
However....if you, or anyone else might wish to present a special request,
or add to the "wish" list, you may send an e-mail to the address here:

MS Make A Wish E-Mail...
http://register.microsoft.com/mswis...=/isapi/gomscom.asp?target=/mswish/thanks.htm

There seem to be many problems that surface with the installation of SP2,
some are malware related, some are fucntionality related. Some are not
easily explained, or remedied. While we try our best, taking each case
individually, there are few one-size-fits-all cures for some of the
problems that may result from the installation.

Here are some other sites that you might check that may be of some help with
this issue, or where you might get more detailed assistance with this issue:

WinXP SP2 Homepage
http://www.microsoft.com/windowsxp/sp2/default.mspx

WinXP SP2 Support Center
http://support.microsoft.com/default.aspx?pr=windowsxpsp2
Pages of MVP & 'Windows Update Maven' Jupiter Jone's
Service Pack (any) Installation Checklist
http://www3.telus.net/dandemar/spackins.htm

WinXP SP2-specific Page
http://www3.telus.net/dandemar/xpsp2.htm

Installing SP2
http://forum.aumha.org/viewforum.php?f=45

also.............

MS No charge SP2 support website
http://forum.aumha.org/viewtopic.php?t=7843&start=0&postdays=0&postorder=asc&highlight=


these steps do not resolve your problem, please post back to this thread
with the details and any error messages.

Hope this helps

Jan :)
Smiles are meant to be shared,
that's why they're so contagious.

Please reply to the newsgroup so others may benefit.
How to make a good newsgroup post:
http://www.dts-l.org/goodpost.htm
 
hi there,

i'm getting exactly the same problem, winXP+SP2, viewing source is no
problem via the right-click menu or through the dowp down menus (view
-> source).... but using:

view-source:http://www.example.com

in the URL bar gives me the: "cannot find server/The page cannot be
displayed" standard IE error page.

I've tried turning off the popup blocker, and have reset all the reg
entries, and have also done the "regsvr32 Shell32.dll", "regsvr32
Oleaut32.dll", etc.... still no luck.

If some SP2 installs exhibits this behaviour, and some dont, then there
might be an updated SP2 out there somewhere, or a patch to fix this...
i'm about to trawl the windows update site, will post if i find
anything!

Cheers,
Colin
 
windows updates gave me no joy... but i have found whether its a bug or
a "feature"...

http://www.computerbytesman.com/security/notepadpopups.htm
Back to the drawing board.


Interesting. Watch what happens using RegMon when the sample link
in that article (its Click here) is used. (FWIW I filtered with zone
and highlighted with NOTFOUND.)

It looks as if XPsp2 has turned off a lot of stuff that was originally on
by default which you could use without really understanding what was
happening. So now if you really want it you are going to have to learn
what using it really means and thus be more aware of your exposures.


<title>Description of Internet Explorer security zones registry entries</title>
http://support.microsoft.com/default.aspx?scid=182569

(Google web search for
zonemap protocoldefaults site:microsoft.com
)


<title>Changes to Functionality in Microsoft Windows XP Service Pack 2: Part 5: Enhanced Browsing Security</title>
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx

(Google web search for
protocoldefaults xp sp2 site:microsoft.com
)


Good luck

Robert Aldwinckle
---
 
Back
Top