You are viewing limited content. For full access, please sign in.

Question

Question

An unexpected error has occurred.

asked on August 26, 2016

Hi I get the following error when trying to submit a form

 

An unexpected error has occurred. [LFF502-UnexpectedError]

 

Checked the server error log and found these

 

An unexpected error has occurred. [LFF502-UnexpectedError]

Details:
URL: /Forms/Form/Submit
Error: UnexpectedError
Date: 26/08/2016 16:17:19 (SA Western Standard Time)
HTTP Status Code: 500
User: Rward
IP: 200.100.1.5
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Business Process ID: 40
Business Process Name: Amera PO

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.ArgumentException
Message: '' is an invalid expanded name.
   at System.Xml.Linq.XName.Get(String expandedName)
   at Laserfiche.Forms.Routing.VariableXMLGenerator.CreateElementFromMember(member mem, Nullable`1 repeatId)
   at Laserfiche.Forms.Routing.VariableXMLGenerator.AddDataToXML[T](XDocument doc, Int32 attributeId, String member_path, T value, Int32 submissionId, Action`2 innerXmlGenerator)
   at Laserfiche.Forms.Routing.VariableXMLGenerator.GenerateXmlFromSubmissionData(SubmissionDataSet sds, Nullable`1 bpId)
   at E_Forms.Controllers.FormController.Thanks(String parentView, Int32 formId, Int32 submissionId, Int32 option, Boolean HideHeader, SubmissionDataSet submissionData, Dictionary`2 formData, Boolean inMobileIframe)
   at E_Forms.Controllers.FormController.Submit()
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

 

Any ideas?

0 0

Answer

SELECTED ANSWER
replied on August 26, 2016

Hi Ruel,

Try going to your forms within the process to check if any of your variables aren't named. One possibility is that you created a field without a variable name (even if it's not used on your forms) and that's what's causing the error.

3 0

Replies

replied on August 26, 2016

thanks! that was it... no idea how they ended up with no name

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.