HI all, long time no see, have just resumed wotking on my custom
helpdesk. I have been customising it for a while and sent screenshots
etc of the type of stuff i have done before. i am simply trying to add
yet another custom field to the case form and cases table etc but am
getting the following error:
Error Message: Problems while trying to establish a connection with
the workflow's engine backend. Please contact your system
administrator. Inner Exception: The formatter threw an exception while
trying to deserialize the message: There was an error while trying to
deserialize parameter
http://tempuri.org/:caseData. The InnerException
message was 'Error in line 13 position 58. 'Element' 'IDCaseType' from
namespace '
http://schemas.datacontract.org/2004/07/Sinergia.Datatypes'
is not expected. Expecting element 'FixTime'.'. Please see
InnerException for more details.
at Sinergia.Logic.CaseManager.OpenNewCase(CaseData newCase) in D:\src
\Projects\Logic\CaseManager.cs:line 45 at
CaseForm.OpenNewCase(CaseData caseData) in c:\Inetpub\wwwroot\Sinergia
\Web\Helpdesk\restricted\caseForm.aspx.cs:line 430 at
CaseForm.btnSubmit_Click(Object sender, EventArgs e) in c:\Inetpub
\wwwroot\Sinergia\Web\Helpdesk\restricted\caseForm.aspx.cs:line 360 at
System.Web.UI.WebControls.Button.OnClick(EventArgs e) at
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String
eventArgument) at
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) at
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
FixTime is the new field, it is set to only be visible when at sending
a solution and setting the case as wait for user confirmation, its to
keep a record of the date time the solution was sent to the customer.
The only thing i have done differently to all the other custom fields
is try to have it only display at this stage and have it update the
db.
Im not able to figure out this problem :( im thinking i need to change
the order of the fields in WCF somewhere but cant find where
anyone help?