I am looking at this bug:
http://sourceforge.net/tracker2/?func=detail&aid=2555688&group_id=105970
&atid=642714 and have discovered that the error is thrown when the code
tries to read the properties for the "iisadmin" site (this seems to be a
hidden site). The problem is that
directoryEntry.Properties.PropertyNames in HarvestWebDirProperties()
throws a COMException when you access this site (the documentation for
ProperyNames says this is possible).

 

To fix this I have two choices and wondered which would be the preferred
option:

1.       Trap the COMException in HarvestWebDirProperties() and ignore
it.

2.       Don't call HarvestWebDirProperties() if the code tries to
harvest "iisadmin".

 

I think I prefer 2.

 

Neil

 

Neil Sleightholm
X2 Systems Limited
[email protected] <mailto:[email protected]> 

 

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to