Wednesday, October 01, 2008

Navigation to the web page was cancelled

Have you been facing this error in Visual Studio 2005?
Other symptoms:
XML files will not open with Internet Explorer (tried with both IE6 and IE7). Schema files (*.xsd) will open fine though.
Visual Studio (2005) will not display any schema files in the source view. Instead a message saying "Navigation to the web page was cancelled" appears.

I was stuck with this problem for over 2 months and it took me a very long while to even identify the symptoms in any clarity. The internet, Microsoft and Google provided little help. Until finally an obscure post in a stylus studio forum had a similar thread.

Anyway, the cause is that the msxml3.dll was not registered. This is the dll that enables viewing of xml in IE.
The fix is to re-register the dll. Hit start, Run and type in the following:
regsvr32 msxml3.dll

This re-registers the dll. Problem solved.
Apparently, one of the reasons this error can occur is because a shareware tool called Oxigen (an XML editor) was uninstalled.

12 comments:

Anonymous said...

brilliant! this solved my problem!!

Anonymous said...

What would I do without the internet! This worked like a charm, thanks :)

Seems some stupid XML reader I installed/de-installed unregistered this DLL file.

Thanks a million, this was really peeing me off!

Frank

Anonymous said...

This solved my problems also. Thanks a ton!

Anonymous said...

OMG! THANK YOU! How are normal people going to fix this problem? Then again...normal people don't read xml files :)

Unknown said...

You are my hero, you saved my day :)

I had the exact since installing Oxygen xml Editor and this made several applications unusable (because they depended on the default behaviour of IE opening xml files)

Anonymous said...

I am dumbstruck. I consider you a genius for discovering this fix. I recently uninstalled Oxygen XML 11 and installed Oxygen XML 12 and this error started occurring. I tried my best to find a solution through Google and MS web site searches but finally stumbled upon this page. I normally don't post comments on the Web but I had to make an exception for this. I really appreciate you posting this fix. Thank you so much!

Anonymous said...

Great thanks for this!!!

Anonymous said...

Brilliant!

MajinOwy said...

Well I try everything but it didn't work..I don't know why :(

Anonymous said...

many thanks for this. I have had this problem some time ago and registering msxml3.dll helped. It, however started appearing again. I visited windows/system32 folder and found similar file called msxml6.dll. I re-registered this file and it works again.

many thanks
Jiri

Anonymous said...

Клубничка [url=http://aftertube.net.ua/tags/%E4%FB%F0%EE%F7%EA%F3/]дырочку[/url] Русское порно про то как [url=http://aftertube.net.ua/tags/%EE%ED%EB%E0%E9%ED/]онлайн[/url]
только для тех кому есть 18 лет

Anonymous said...

Thank you so much. This worked.