BotScout

General Category => BotScout Discussion => Topic started by: Mur on August 25, 2009, 11:55:21 AM

Title: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 25, 2009, 11:55:21 AM
msxml3.dll error The download of the specified resource has failed.

I'm getting the above error in the return after the send.xml  in my ASP code.

It has worked for just about 3 weeks just fine and is running on 10 websites.

Just today it started showing this error when doing the look up.

It seems to be a URL error from what I understand.
Are we having problems with the follow URL today?

http://botscout.com/test/

This is the URL I got from the same codes. Has it changed?

Thanks
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 25, 2009, 12:05:03 PM
I should have added that I did test the URL:
http://botscout.com/test/?multi&name=Mur&mail=me@me.com&ip=6X.xxx.xxx.xxx&key=TEST

Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 25, 2009, 12:08:29 PM
The URL has not changed, no.

Could you post a copy of the code you are using please?
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 25, 2009, 12:23:08 PM
Current:    

Set xml = Server.CreateObject("Microsoft.XMLHTTP")
    xml.Open "GET", "http://botscout.com/test/?multi&name=" & Username & "&mail=" & emailAddress & "&ip=" & ipAddress & "&key=" & strAPIKey, False
    xml.Send

Returns this error:
msxml3.dll error '800c0008'

The download of the specified resource has failed.


Tested:
Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
    xml.Open "GET", "http://botscout.com/test/?multi&name=" & Username & "&mail=" & emailAddress & "&ip=" & ipAddress & "&key=" & strAPIKey, False
    xml.Send

Returns this message:
msxml3.dll error '80072efe' The connection with the server was terminated abnormally


Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 25, 2009, 01:26:06 PM
Please try the following instead;

Code: [Select]
If IsObject(CreateObject("MSXML2.ServerXMLHTTP.6.0")) Then
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
  ... rest of code
End If

If this also fails, please see the following;

http://support.microsoft.com/kb/289481/
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 25, 2009, 04:47:51 PM
Please try the following instead;

Code: [Select]
If IsObject(CreateObject("MSXML2.ServerXMLHTTP.6.0")) Then
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
  ... rest of code
End If

If this also fails, please see the following;

http://support.microsoft.com/kb/289481/

Ok, I've just about reach the point of pulling the hairs off the back of the dog.

I setup a test page:

http://www.bayoushopping.org/testbotscout.asp

It has 4 total test connections and all are failing.

Test XML Format 1:
 Snippet:
Code: [Select]
Set xmlObj = Server.CreateObject("MSXML2.FreeThreadedDOMDocument")
xmlObj.async = False
xmlObj.setProperty "ServerHTTPRequest", True
xmlObj.Load("http://botscout.com/test/?multi&name=Mur&mail=Me@Me.com&ip=xxx.xxx.xxx.xxx&key=xyz&format=xml")

Test 2:
  Snippet:
Code: [Select]
Set Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
    xml.Open "GET", "http://botscout.com/test/?multi&name=" & Username & "&mail=" & emailAddress & "&ip=" & ipAddress & "&key=" & strAPIKey, False
    xml.Send

Test 3:
  Snippet:
Code: [Select]
Set xml = Server.CreateObject("Microsoft.XMLHTTP")

     xml.Open "GET", "http://botscout.com/test/?multi&name=" & Username & "&mail=" & emailAddress & "&ip=" & ipAddress & "&key=" & strAPIKey, False
    xml.Send


Test 4:
  Snippet:
Code: [Select]
If IsObject(CreateObject("MSXML2.ServerXMLHTTP.6.0")) Then
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
    xml.Open "GET", "http://botscout.com/test/?multi&name=" & Username & "&mail=" & emailAddress & "&ip=" & ipAddress & "&key=" & strAPIKey, False
    xml.Send
End If   

The page will show the errors found during the connection process.
It will take time to load because it has to toss an error for 4 scripts attempting to connect.

If you have any ideas of what could be causing this I sure would like to read about it.
I've had the code I created when I first requested a KEY working and made no changes at all to any of my sites.
This afternoon everything attempting to connect to BotScout stopped.

I do have other XML feeds that use the same methods I have included in the test.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 25, 2009, 09:43:37 PM
I should have placed a smilie face after my line:
Ok, I've just about reach the point of pulling the hairs off the back of the dog.

That's just my humor when I'm debugging scripts. I have to make fun of the things that drive me nuts.

Just in case you might not have picked up on that.  :D
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 03:55:51 AM
hehe I'd picked up on it ;)

Sorry for taking so long, fell asleep  :-[

I believe we may need to wait for Mike to respond to this one if it's not a client side issue.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mike on August 26, 2009, 08:10:09 AM
I believe we may need to wait for Mike to respond to this one if it's not a client side issue.

It's a server side issue as near as I can determine, but not the BotScout server. We run a Linux server, so there's no reason that the system here would be referencing a Windows file.

My guess is your Windows host or server is having some sort of issue- the error 'msxml3.dll error 80072efe' seems to indicate something on the Windows server is the cause, but I've no idea what it might be. Possibly a firewall or outbound traffic issue, but I really don't know.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 08:26:24 AM
Figured as much :)

@Mur,
If you can, monitor the traffic from your server to see if the packets identify the cause.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 26, 2009, 08:43:06 AM
hehe I'd picked up on it ;)

Sorry for taking so long, fell asleep  :-[

I believe we may need to wait for Mike to respond to this one if it's not a client side issue.

Sleep is good and I don't expect you all to fix my little issue for me I only look for ideas and hints.

Now that my service request came back from my hosting company with words like: "The issue is known..." and "This should be resolved..." ..

I have the feeling they updated something and it put things out of whack.

But it is interesting that all my feeds work from other sites but just can't connect directly to the botscout.com domain.

Do you all have a Static IP for testing?
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 26, 2009, 08:51:27 AM
Wait, I didn't mean to ask for the IP. (( Dang brain))

I'll be working with my host on this issue.
The msxml3.dll error 80072efe error is actually a dumb time-out error and it reports either the feed is down or the host disconnected or "I'm Microsoft and I work Part-Time".

Thanks for the feedback and I'll be working with my hosting provider. (Ugh)

At least now I have a great email notice error trap on that feed. When it doesn't work it at least emails the information to me for manual processing.

Thanks again all.

Have a good day!
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 08:59:16 AM
Could you try changing the URL to the following (response text is the same);

http://verify.hosts-file.net/botscout.asp?name={NAME}&ip={IP}&email={MAIL}&key={KEY}
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 26, 2009, 10:05:27 AM
Could you try changing the URL to the following (response text is the same);

http://verify.hosts-file.net/botscout.asp?name={NAME}&ip={IP}&email={MAIL}&key={KEY}

Oh So Cool !!!
That works just fine:
From every type of connection failing to every test connection I have in my test page connected.

See for yourself ... (This will be removed later today)
http://www.bayoushopping.org/testbotscout.asp

I'll add the code to check for response header 200 on the first attempt then have it connect to the second connection.
Unless this is only for testing and shouldn't be setup as a secondary connection link.

Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 10:08:57 AM
It's only for testing. but I'll leave it active till your hosting co sorts the problem out for you.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 26, 2009, 10:17:15 AM
It's only for testing. but I'll leave it active till your hosting co sorts the problem out for you.

Great I'll send another service request in and use the functional and MS.disfunctional link to them. They just might figure it out by the end of this month.

Thanks much. 
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 10:21:05 AM
No problem :)
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 26, 2009, 10:42:13 AM
It's only for testing. but I'll leave it active till your hosting co sorts the problem out for you.

Thanks again, I sent them a follow up email.
Now it's only a matter of waiting and waiting then calling and calling.

It's a good start to show the code and the system is working.
Have a good one.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 26, 2009, 10:51:05 AM
Glad we could help :)
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 27, 2009, 06:35:10 AM
Sorry, The Status is 12031 and the dang connection to the remote server couldn't be established.
Test 3 Results: Error at 8/27/2009 7:08:35 AM
XML Status: 12031
Err.Number: 438
Err.Description: Object doesn't support this property or method
Err.Source: Microsoft VBScript runtime error
Err.Page: /testbotscout2.asp


This is from 4 days of testing and emails to dotster technical support.
(I know, you might be thinking, "You could change hosts") but...

I've found when we run into errors that are out of my control I need to code around them.

The XML error code is a time-out issue.
The Server and/or Database end to end (in this case server) is timing out just under 20 seconds.

The connection ran smoothly for weeks but now it just doesn't connect.
I'm guessing a server change or it could be a DNS/Router issue as well.

Thanks for your time working with me.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 27, 2009, 08:57:45 AM
They've either updated or changed VBScript, as your problem is actually;

Code: [Select]
Err.Number: 438
Err.Description: Object doesn't support this property or method

You'll need to determine which line it's referring to if it isn't specifying one, as that will give you a pointer to the issue.
Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: Mur on August 27, 2009, 09:31:19 AM
They've either updated or changed VBScript, as your problem is actually;

Code: [Select]
Err.Number: 438
Err.Description: Object doesn't support this property or method

You'll need to determine which line it's referring to if it isn't specifying one, as that will give you a pointer to the issue.

The Vb error occurs after the time-out which shows the XML.Status code.
Here's the order:
xml "GET" (establish connection)
Fails Status Code 12031 (Connection Dropped or Time-out)
It should have reported a status code of 200 (OK) just like any good Header should do.

The next error is caused from the xml.send because it is attempting to send after a "On Error Resume..." and it fines no channel to send the data so it says "Object Not Supported..."

Then that's it..

I sure would have rather used your db as a resource because it saves me time not having to add spammers and bots to my local list.

While all this testing was going on I set back in place my old screening system (asp app).

I could test your PHP code on one of my sites to see if it is only related to the VbScript'ing but that might take me a month of sunday's since PHP is a foreign language to me.

Title: Re: msxml3.dll error The download of the specified resource has failed.
Post by: MysteryFCM on August 27, 2009, 09:36:35 AM
Sorry for taking so long, and apologies for the confusion.

If it will help, I wrote a PHP function you can use ;)

http://botscout.com/forum/index.php/topic,4.msg355.html#msg355