Community > Answers
108 views

Live forms: Have error submitting form with Action HTTP POST

I have created a form with Live form. After submitting the form I have to create an xml file and send it via email.
To do this I have created in the same site a DNN custom module which in the Page_Load event creates the xml file and send the email. I add it into a page named "CreateXML".
Then, in the form created with Live form I add HttpPost action on form submission. The httpPost action is configured in this way:
- in then field URL I write the "CreateXML" page url (https://www.xxxx.com/CreateXML)
- in the field PostData I write: SubmissionID=[SubmissionID]

But after submitting form I have this error:
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xxx.xxx:80 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at Mandeeps.DNN.Modules.LiveForms.Components.Actions.Http.HttpPost.Execute(Control FormControl, HttpContext Context, PortalSettings PortalSettings, FormInfo Form, Submission SubmissionInfo)

What is wrong?

I'm using LiveForms 5.9.5

Thank you

 

Valeria Franchi Valeria Franchi
asked 04/30/2021 10:57
Add Comment
Valeria Franchi
replied 04/30/2021 12:19

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:8f175404-1e33-4ec7-81b9-a2a73da9e0a0

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:dh+qlkqdESL352hPnmWUNsVxrOM=

Message:Unable to connect to the remote server

StackTrace:

at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context) at System.Net.HttpWebRequest.GetRequestStream() at Mandeeps.DNN.Modules.LiveForms.Components.Actions.Http.HttpPost.Execute(Control FormControl, HttpContext Context, PortalSettings PortalSettings, FormInfo Form, Submission SubmissionInfo)

 

InnerMessage:A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond xxx.xxx.xx.42:80

InnerStackTrace:

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

 

Source:System

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: vrn-2k8-www-03

Attached Files
Ashish Pachori
replied 04/30/2021 11:50

Please make sure you are on latest version of Live Forms.

You can always find latest version of our products from https://www.mandeeps.com/downloads

If not work then please open a support ticket for this from https://www.mandeeps.com/support/standard

Last Activity 04/30/2021 12:19

No answers found

Add an Answer