OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

XMLhttp.Open `Post`

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> XMLhttp.Open `Post`
Page: [1]
 
helensnow

 

Posts: 232
Joined: 12/18/2003
Status: offline

 
XMLhttp.Open `Post` - 4/21/2009 10:12:58   
Hi

This is standard ASP coding to using xmlhttp.open to Post to a remote site. These examples are all over the web, and I noticed that they all have this error trap. On error resume next

Whern I removed this I get to see what the error is:-

msxml3.dll error '80004005'
Unspecified error

This error occurs explicity when the code line in red which sets the data format is executed

set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.setRequestHeader "Content-Type", "text/xml"
xmlhttp.open "POST", url, false

So clearly nothing past this point is going to work on a guaranteed basis, if there is an error

All I am trying to do is send data to a remote server, any ideas on what to do

Helen Snow
Deep in the white stuff


_____________________________

Love is all, and all that we are is love
Spooky

 

Posts: 26681
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: XMLhttp.Open `Post` - 4/24/2009 16:43:40   
Have you tried different objects?

eg :

Msxml2.ServerXMLHTTP
Msxml2.XMLHTTP
Msxml2.ServerXMLHTTP.4.0
Microsoft.XMLHTTP"


_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

Sp:)ky


(in reply to helensnow)
helensnow

 

Posts: 232
Joined: 12/18/2003
Status: offline

 
RE: XMLhttp.Open `Post` - 4/25/2009 13:13:05   
Hi,

Thanks for the info, I actually tried almost all the variations possible, and had to resort to ASP.NET which works perfectly.

Many thanks
Helen


_____________________________

Love is all, and all that we are is love

(in reply to Spooky)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> XMLhttp.Open `Post`
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts