Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > february 2007 >

iis security : Application hangs creating MSXML2.XMLHTTPClass


Grant_S
2/24/2007 9:39:01 AM
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-security.htm

Posted via DevelopmentNow.com Groups
Ken Schaefer
2/25/2007 12:00:00 AM
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

[quoted text, click to view]
Grant_S
3/15/2007 2:49:18 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/viewthread.aspx?newsgroupid=91&threadid=936662

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button