Login  
Search All Forums
Dart Home | PowerTCP Web for ActiveX | Custom Development Reply | PowerTCP Web for ActiveX Topics | Forums   
AuthorForum: PowerTCP Web for ActiveX
Topic: URL is invalid.
kman

From: San Antonio, TX USA
Posts: 9
Member Since: 12/29/05
posted March 5, 2010 5:55 PM

I am getting this message when executing the following code to post to a URL:

set synchWeb = Server.CreateObject("Dart.Http.1")
set reqHeader = Server.CreateObject("Dart.DartStrings.1")
reqHeader.Clear
reqHeader.add "content-type: application/x-www-form-urlencoded"
synchWeb.Url = strSyncURL
synchWeb.Post ,reqHeader,strResult,reqHeader
Set reqHeader = Nothing
Set synchWeb = Nothing

strSynchURL is a string that contains a valid URL, however, it is behind a firewall. My first question is whether the URL being posted will see the post as coming from the web site IP where the code is being executed, or the server IP where PowerTCP is installed?

Also, does anyone see any problems with the code above? When I use a test URL, it seems to work ok.

Thanks for any help!
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted March 8, 2010 2:30 PM

Thank you for your post. This issue was resolved in a later release of PowerTCP Web Enterprise for ActiveX. Please test the most recent version of Web Enterprise by downloading the 30 day trial here: http://www.dart.com/ptwbe_trial.aspx

Please contact sales@dart.com in you are interested in upgrading.

Thank you.
kman

From: San Antonio, TX USA
Posts: 9
Member Since: 12/29/05
posted March 9, 2010 2:46 AM

I need to upgrade to work around a bug in the product? No thanks.
Reply | PowerTCP Web for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX