Application hangs creating MSXML2.XMLHTTPClass
am 24.02.2007 18:39:00 von Robert Faulkner
I have an asp.net web application that posts either GET or POST http requests to another asp.net web application. I am using impersonation (domain account) in the 'Client' Web app. The Client and Server Applications currently reside on the same server And within the same application pool (using the Identity of a domain account). When deployed, they will reside on different servers. Using Windows Server 2003 Standard & IIS 6.0.
When 'Server' application is set to accept Annonymous (default account) and Window Authentication the 'Server' application hangs when attempting to create & instantiate a MSXML2.XMLHTTPClass object. [This is what I will need in production]
When 'Server' application is set Window Authentication only, IIS on the 'Server' denies access to the application even thought I have not altered the default Web.config settings.
Any ideas on why the MSXML2.XMLHTTPClass object cannot be instantiated? This does not occur when both apps or on my dev machine [in Default app pool].
From http://developmentnow.com/g/91_0_0_0_0_0/inetserver-iis-secu rity.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Re: Application hangs creating MSXML2.XMLHTTPClass
am 25.02.2007 04:59:38 von Ken Schaefer
Hi,
The explanation for your situation is here:
http://www.adopenstatic.com/cs/blogs/ken/archive/2005/04/16/ 15.aspx
Solution: use ServerXMLHTTP not XMLHTTP.
Cheers
Ken
--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
"Grant_S" wrote in message
news:386d12a8-d554-46f0-9f50-1e6feefed255@developmentnow.com ...
>I have an asp.net web application that posts either GET or POST http
>requests to another asp.net web application. I am using impersonation
>(domain account) in the 'Client' Web app. The Client and Server
>Applications currently reside on the same server And within the same
>application pool (using the Identity of a domain account). When deployed,
>they will reside on different servers. Using Windows Server 2003 Standard &
>IIS 6.0.
>
> When 'Server' application is set to accept Annonymous (default account)
> and Window Authentication the 'Server' application hangs when attempting
> to create & instantiate a MSXML2.XMLHTTPClass object. [This is what I will
> need in production]
>
> When 'Server' application is set Window Authentication only, IIS on the
> 'Server' denies access to the application even thought I have not altered
> the default Web.config settings.
>
> Any ideas on why the MSXML2.XMLHTTPClass object cannot be instantiated?
> This does not occur when both apps or on my dev machine [in Default app
> pool].
>
> From http://developmentnow.com/g/91_0_0_0_0_0/inetserver-iis-secu rity.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
RE: Application hangs creating MSXML2.XMLHTTPClass
am 15.03.2007 22:49:17 von Robert Faulkner
Ken - A Belated reply. I was pulled onto another project so not able to get back to this until now. Thanks for your assistance. I made the changes as per the directions on you blogg and it worked a charm. Still had a problem however - as intitially I was was calling a web app outside the firewall which in turn calls a web app inside the F/Walll which then calls a web service. Now the web app outside calls direct to the web app inside the firewall.
From http://developmentnow.com/groups/viewthread.aspx?newsgroupid =91&threadid=936662
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com