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("Micro soft.XMLHT TP")
oXMLHttpRequest.open "POST", url, false
oXMLHttpRequest.setRequest Header "Content-Type", "application/x-www-form-ur lencoded"
oXMLHttpRequest.setRequest Header "Connection", "Keep-Alive"
oXMLHttpRequest.send
If oXMLHttpRequest.responseTe xt <> "000" Then
Response.Write("Error Code: " & oXMLHttpRequest.responseTe xt)
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?
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("Micro
oXMLHttpRequest.open "POST", url, false
oXMLHttpRequest.setRequest
oXMLHttpRequest.setRequest
oXMLHttpRequest.send
If oXMLHttpRequest.responseTe
Response.Write("Error Code: " & oXMLHttpRequest.responseTe
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?
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?
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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!
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!
ASKER
Glad I could help you with your ranking... keep it up!