Bugs item #1324594, was opened at 2005-10-12 00:58
Message generated for change (Comment added) made by scotk
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1324594&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: extensions
Group: v2.0
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: Steve Sugden (smspro)
Assigned to: Scott Kurtzeborn (scotk)
Summary: XmlFile - Improved Error Handling

Initial Comment:
Invalid source xml file causes a confusing "file not
found" error message.  An "invalid xml" or "failed to
parse" etc. message would be more useful in debuging
installers.

See
http://sourceforge.net/mailarchive/forum.php?thread_id=8517874&forum_id=39978

----------------------------------------------------------------------

>Comment By: Scott Kurtzeborn (scotk)
Date: 2006-12-19 21:07

Message:
Logged In: YES 
user_id=1296992
Originator: NO

The error we get back from MSXML is ERROR_OPEN_FAILED (0x8007006e).  To my
knowledge, there is no more information provided from the MSXML APIs to
indicate why it failed to open the file.  We do log that the failure
happened during load and not while we were trying to find the file.

----------------------------------------------------------------------

Comment By: Steve Sugden (smspro)
Date: 2005-11-23 01:04

Message:
Logged In: YES 
user_id=1359998

(Not sure if this is the right form to submit a follow-up, 
but here goes...)

Yes - that is the error message I got.  The extract from 
the msiexec log is -

"ExecXmlFile:  Error 0x8007006e: failed to load XML file: 
C:\Program Files\CODA\CODA-Control Assessor\Web.config
Error 25531. Failed to open XML file C:\Program 
Files\CODA\CODA-Control Assessor\Web.config, system error: -
2147024786"

My suggestion is that the message is changed to reflect the 
reason why the XML file failed to load (i.e. its ill-
formed).  I assumed that it couldn't be found (but I supose 
on relection that that would have resulted in a "file not 
fould" error?).

Hope that helps

----------------------------------------------------------------------

Comment By: Bob Arnson (barnson)
Date: 2005-11-22 17:55

Message:
Logged In: YES 
user_id=26581

Can you provide a log excerpt with the exact error message?
The message for a missing file or a file that isn't
well-formed is

"failed to load XML file: %S"


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1324594&group_id=105970

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to