Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Mon, 01 Oct 2007 06:48:30 -0700,    group: microsoft.public.inetsdk.programming.urlmonikers        back       


IInternetProtocol and "text/xml"   
I'm having trouble to host XML with an IInternetProtocol
implementation I've been writing.

All other content like HTML and images works great, but sending "text/
xml" makes my InternetExplorer crash on access violations. I've been
debugging my code to see what is the last call that get's through, but
as far as I can see, it's the Terminate call after all the data was
read...

Anybody got any idea's what could be wrong?
date: Mon, 01 Oct 2007 06:48:30 -0700   author:   StijnSanders

Re: IInternetProtocol and "text/xml"   
There's more, in the mean time I just discovered Read is called once
more after Terminate is called (I guess from another thread since the
debugger wasn't picking this up)
Returning S_OK there, because the request was terminated, helps
InternetExplorer along, but the next step is getting MSXML to take XML
from my IInternetProtocol, with a plain DOMDocument.load I get "No
data is available for the requested resource." for now, -after-
setting async=false on the DOMDocument myself, without load returns
true, but documentElement isn't set... wierd...

If this sounds familiar, I'm interested to know how you've moved
forward. (or even if you're stuck at this point also)
date: Mon, 01 Oct 2007 07:09:11 -0700   author:   StijnSanders

Re: IInternetProtocol and "text/xml"   
In case anybody's interested, I've got it working.
I added registry keys
\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
\ProtocolDefaults
both in local machine and current user, a DWORD value of "1" for my
protocol schema, to have it work in the 'local intranet' zone
I also implemented IInternetProtocolInfo, return INET_E_DEFAULT_ACTION
on all the calls, except when ParseUrl gets PARSE_SECURITY_DOMAIN,
that one is important to get the security zone stuff working right.
date: Wed, 03 Oct 2007 06:29:51 -0700   author:   StijnSanders

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us