EDN Admin
Well-known member
Hi,
I have a geturl.vbs file like below.
url = "http://www.google.com/"
WScript.Echo url
WScript.Echo urlget(url)
Function URLGet(URL)
Set Http = CreateObject("Microsoft.XMLHTTP")
Http.Open "GET",URL,false
Http.Send
URLGet = Http.responseText
End Function
When I try to run it on a local server (Windows 2003) by double click the vbs file, I get an exception. The issue is - when the script executes to Http.Send line, it throws folowing exception.
Error number: 8007005
Descrption: Access is denied.
Source : msxml3.dll
But, I am currently logged as local Admin account of the windows server.
I dont how to resovle such a permission problem?
Can anyone help me out?
(BTW, I can run the script on another XP machine without problem.)
Thanks,
James
View the full article
I have a geturl.vbs file like below.
url = "http://www.google.com/"
WScript.Echo url
WScript.Echo urlget(url)
Function URLGet(URL)
Set Http = CreateObject("Microsoft.XMLHTTP")
Http.Open "GET",URL,false
Http.Send
URLGet = Http.responseText
End Function
When I try to run it on a local server (Windows 2003) by double click the vbs file, I get an exception. The issue is - when the script executes to Http.Send line, it throws folowing exception.
Error number: 8007005
Descrption: Access is denied.
Source : msxml3.dll
But, I am currently logged as local Admin account of the windows server.
I dont how to resovle such a permission problem?
Can anyone help me out?
(BTW, I can run the script on another XP machine without problem.)
Thanks,
James
View the full article