XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Kurt RobsonSubject: Cannot open local XML file in IE6 or IE7
Author: Kurt Robson
Date: 14 Jul 2006 01:10 PM
Originally Posted: 14 Jul 2006 12:51 PM
When I try to open a local XML file, nothing displays. If I Preview the file from with Stylus Studio, I get

The XML page cannot be displayed

Cannot view input using XSL style sheet
System error: -2146697211. Error processing resource 'file:///C:/Documents and Settings/Kurt Robson/Local Settings/Temp/cdc...

This was working a while ago and maybe has started since installing Stylus Studio although I'm not sure if that caused it. I was previously experimenting with XML and was able to open local xml files in IE just fine.

I also ran the following test:

Open this URL in IE:
http://www.w3schools.com/xsl/cdcatalog.xml

Displays just fine.

Then copy the source to my own local file and try to open it. Nothing displays. Again, in Stylus studio I get the email message mentioned above when trying to "Preview" the file.

Any ideas on what could be causing this?
Thanks,
Kurt


***** update - Problem resolved **********

Holy cow. Found a description of a similar problem in another forum and here's the fix:

> Actually, you may want take a look at your registry. However make sure tha
t
> you do not touch your registry if you are not sure what to do.
>
> 1. From start menu select run
> 2. type 'regedit' and press enter. This will bring registry editor.
> 3. from the regedit menu select Edit and then Find
> 4. type "HKEY_CLASSES_ROOT\Mime\Database\Content Type\text/xml" in the 'Fi
nd
> What'
> 5. Regedit will find the content that is related to that entry
> 6. Is your classid CLSID={48123BC4-99D9-11D1-A6B3-00C04FD91555} ?
> 7. Is your Extension=.xml ?
> 8. Is your Encoding=hex:08,00,00,00 ?
>
> If you have answered to 6/7/8 'No' then something might have changed those
.
>
> If you can not figure that one out or not comfortable with that re-registe
r
> the msxml3 which handles the xml view for IE.
>
> 1. From start menu select run
> 2. type 'regsvr32 msxml3.dll'
> 3. Click OK on the dialog box.
>
> Please post back your findings.
>
> Regards,
> - Umut Alev [MSFT]

So I ran regsvr32 msxml3.dll and the problem is fixed.

Posttop
Naren HiredesaiSubject: Cannot open local XML file in IE6 or IE7
Author: Naren Hiredesai
Date: 14 Dec 2007 03:30 PM
I had similar problem after installing oXygen and stylus. After executing 'regsvr32 msxml3.dll' I was to able to open the xml files with IE. Thanks -N

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.