J
Jan Kucera
Hi,
I do that for the first time, but posting this in
microsoft.public.dotnet.framework.aspnet, microsoft.public.inetserver.iis,
http://forums.asp.net/thread/1271188.aspx (no response) and
http://www.dng.cz/Diskuze/tabid/54/Default.aspx?dnnbbfid=2&dnnbbtid=15 (in
czech, no response) since I found no help and I need solution quite quickly.
I have made a handler built-in in a project, ashx file. I access it using
/MyWeb/MyHandler.ashx/param. It works almost perfectly. The problem is, that
I found from packet anylisis, that some requests are rejected I believe by
IIS (maybe asp.net). All of them are of method OPTIONS, I strongly need to
accept this requests because the handler is DAV-compatible and I need to
acknowledge that in the response.
I do not need any authentication to process OPTIONS.
The returned headers are when using NTLM authentication HTTP/1.1 401
Unauthorized, when using anonymous access 403 Forbidden.
For IIS experts - how can I configure the IIS to forward all requests to my
handler?
For asp.net experts - I believe this could be solved by explicitly
registering the handler in web.config. However I can't do that, because I
don't know the type/assembly, since all of the dynamic compilation around.
And I can't compile the handler itself into dll, because it is uising
referencing object and types of the remaining web project.
Thank you all for ANY idea!
Jan Kucera
I do that for the first time, but posting this in
microsoft.public.dotnet.framework.aspnet, microsoft.public.inetserver.iis,
http://forums.asp.net/thread/1271188.aspx (no response) and
http://www.dng.cz/Diskuze/tabid/54/Default.aspx?dnnbbfid=2&dnnbbtid=15 (in
czech, no response) since I found no help and I need solution quite quickly.
I have made a handler built-in in a project, ashx file. I access it using
/MyWeb/MyHandler.ashx/param. It works almost perfectly. The problem is, that
I found from packet anylisis, that some requests are rejected I believe by
IIS (maybe asp.net). All of them are of method OPTIONS, I strongly need to
accept this requests because the handler is DAV-compatible and I need to
acknowledge that in the response.
I do not need any authentication to process OPTIONS.
The returned headers are when using NTLM authentication HTTP/1.1 401
Unauthorized, when using anonymous access 403 Forbidden.
For IIS experts - how can I configure the IIS to forward all requests to my
handler?
For asp.net experts - I believe this could be solved by explicitly
registering the handler in web.config. However I can't do that, because I
don't know the type/assembly, since all of the dynamic compilation around.
And I can't compile the handler itself into dll, because it is uising
referencing object and types of the remaining web project.
Thank you all for ANY idea!
Jan Kucera