|
Home > Archive > IIS Server Security > March 2007 > Application hangs creating MSXML2.XMLHTTPClass
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Application hangs creating MSXML2.XMLHTTPClass
|
|
| Grant_S 2007-02-24, 1:16 pm |
| 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_...is-security.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
| |
| Ken Schaefer 2007-02-25, 1:24 am |
| Hi,
The explanation for your situation is here:
http://www.adopenstatic.com/cs/blog...5/04/16/15.aspx
Solution: use ServerXMLHTTP not XMLHTTP.
Cheers
Ken
--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
"Grant_S" <nospam@developmentnow.com> 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_...is-security.htm
>
> Posted via DevelopmentNow.com Groups
> http://www.developmentnow.com
| |
| Grant_S 2007-03-15, 7:23 pm |
| 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/vi...threadid=936662
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
|
|
|
|
|