Link to home
Start Free TrialLog in
Avatar of liaminnes
liaminnes

asked on

ISA Blocks http response from external server

Hi Experts,

I am trying to call an external web page from our internal intranet using ASP/VBScript but ISA Server seems to be blocking the request.

This is the message ISA Server returns:
Error Code: 403 Forbidden. The ISA Server denied the specified Uniform Resource Locator (URL). (12202)
IP Address: **********
Date: 11/12/2007 11:49:44
Server: Our Internal Server
Source: proxy


The code that I use is:
    Dim url
    Dim oXMLHttpRequest

    url = "url goes here"
    Set oXMLHttpRequest = Server.CreateObject("Microsoft.XMLHTTP")
    oXMLHttpRequest.open "POST", url, false
    oXMLHttpRequest.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    oXMLHttpRequest.setRequestHeader "Connection", "Keep-Alive"

    oXMLHttpRequest.send
   
    If oXMLHttpRequest.responseText <> "000" Then
        Response.Write("Error Code: " & oXMLHttpRequest.responseText)
    End If
    Set oXMLHttpRequest = Nothing

We have tried setting up rules as described at http://articles.techrepublic.com.com/5100-6350_11-6029304.html but this does not solve the problem either. Anybody have any idea what the problem is?
Avatar of L00M
L00M
Flag of United States of America image

The ISA Server, by default, only allows traffic to certain sites. There's a system policy that only lets you access certain sites like windowsupdate.com, microsoft.com. Have you tried adding the target URL to the policy to see if that resolves it?
Avatar of liaminnes
liaminnes

ASKER

Hi LOOM,

Do you where I can check this list of allowed sites is ISA? This site would be a site that we post to and receive responses back from.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of L00M
L00M
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sweet, cheers LOOM that worked a treat! I added the domain for the site in question and ISA then allowed me to post and get a response from that domain using a XMLHTTP Request.

K.
And with that, I earned my Guru ranking in ASP!
Weee hooooo!

Thanks for the points liaminnes! Glad the solution worked for you!

From email:
You have achieved Guru Certification in Active Server Pages (ASP) by earning 151,614 points!
Glad I could help you with your ranking... keep it up!