3 ms·
This looks like the same bug, back in 2010: http://social.msdn.microsoft.com/Forums/fr-FR/155b51f7-60ea-41c2-a369-2e53c3d16a6f/msxml4dll-pops-up-a-warning-messa
by bazzargh 13y ago
This looks like the same bug, back in 2010:
http://social.msdn.microsoft.com/Forums/fr-FR/155b51f7-60ea-41c2-a369-2e53c3d16a6f/msxml4dll-pops-up-a-warning-messagebox?forum=xmlandnetfx http://social.msdn.microsoft.com/Forums/fr-FR/155b51f7-60ea-...
(ie that MSXML is calling URLMon, with unpredictable results). There's a comment at the bottom of that thread that suggests how to fix the bug if it's in your own code, but not if it's in Visual Studio...
edited to add: related bugs crop up in many programs that use xml parsers, not just MS. Some combination of disabling validation, loading of external entities, or adding an entity resolver is usually needed (see eg these options for Xerces http://xerces.apache.org/xerces-j/features.html http://xerces.apache.org/xerces-j/features.html). The symptom there was usually errors in production that didn't occur on the developer's box because in production the network connection to grab the schema didn't work...or worse, a SOAP service that will fetch external entities in messages.
- acqq 13y agoIt looks it's urlmon.dll there, whereas Bruce observes mshtml.dll loaded.
- yuhong 13y agoIn this case, I can tell from the call stack that it is calling http://msdn.microsoft.com/en-us/library/ms762722%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/ms762722%28v=vs.85%2... with a res:// URL. One solution would be to load the resource manually using Win32 APIs, convert to BSTR, and then calling http://msdn.microsoft.com/en-us/library/ms754585%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/ms754585%28v=vs.85%2... instead. And yes don’t forget to disable loading of external entities too.