Error in Form Translator: ''Input string was not in a correct format.''

Symptom

You might see the following error after launching Form Translator and logging in with the OnGuard SA account:

The utility failed to properly launch the Application Server, please check the information passed to the utility.

The following error may be logged to the LS Applications log in the Windows Event Viewer:

Event Type:      Error
Event Source:    LS Applications
Event Category:  None
Event ID:        0
Date:            6/25/2009
Time:            2:48:11 PM
User:            N/A
Computer:        WS-BCO-LRS
Description:
The database trace listener was unable to send a message to the server because it received the following error when making a server request:

The property Text must be at most 255 characters long.

The following trace message could not be saved as a result:

The event logger was unable to log the event for the event type Lnl.OG.ObjectModel.Events.InternalAccountOwnerDisabled due to the following error: System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.FormatError()
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at Lnl.ResourceString.ToString(CultureInfo culture, CultureInfo uiCulture)
   at Lnl.ResourceString.ToString()
   at a.a.a.LNL_h.f(String A_0, ClientAppInfo A_1)

Additional information:

Component:  Tracing
Where:      Lnl.PFx.Diagnostics.DatabaseTraceListener.a
Process:    Lnl.Tools.FormTranslator
Account:    MILKY-WAY\dunnt
User ID:  
Stack Trace:   at Lnl.PFx.Diagnostics.DatabaseTraceListener.a(PersistentCriteriaResult A_0, Boolean A_1, TraceMessage A_2)
   at Lnl.PFx.Diagnostics.DatabaseTraceListener.a(Object A_0)
   at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)

For more information, see Help and Support Center at https://support.microsoft.com/en-us

The following error may be logged to the LnlLogError.log file in the OnGuard logs folder:

Time:        6/25/2009 2:46:15 PM
Severity:    Error
Component:   OG\Application Server
Where:       a.a.a.LNL_h.f
Process:     Lnl.Tools.FormTranslator
Machine:     WS-BCO-LRS
Account:     MILKY-WAY\dunnt
User ID:    
Description: The event logger was unable to log the event for the event type Lnl.OG.ObjectModel.Events.InternalAccountOwnerDisabled due to the following error: System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.FormatError()
   at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at Lnl.ResourceString.ToString(CultureInfo culture, CultureInfo uiCulture)
   at Lnl.ResourceString.ToString()
   at a.a.a.LNL_h.f(String A_0, ClientAppInfo A_1)

Stack Trace:    at a.a.a.LNL_h.f(String A_0, ClientAppInfo A_1)
   at a.a.a.LNL_h.g(String A_0, ClientAppInfo A_1)
   at Lnl.Security.Authentication.Modules.Internal.InternalAuthenticationModule.ServerReceiveAuthenticationRequest(ConnectionInfo connectionInfo, AuthenticationServerRequestMessage requestMessage)
   at Lnl.Security.Authentication.Modules.Internal.InternalAuthenticationModule.Authenticate(ConnectionInfo connectionInfo, IIdentity clientIdentity, AuthenticationContext context)
   at Lnl.Security.Authentication.AuthenticationManager.Authenticate(ConnectionInfo connectionInfo, IIdentity clientIdentity, AuthenticationContext context)
   at Lnl.Security.Authentication.LocalAuthenticator.Authenticate(IIdentity identity, Boolean allowPlainLdapCredentials, ClientAppInfo clientAppInfo)
   at Lnl.Security.Authentication.LocalAuthenticator.Authenticate(Credential credentials, Boolean allowPlainLdapCredentials, ClientAppInfo clientAppInfo)
   at Lnl.PFx.ApplicationServer.LocalApplicationServerClient.LogOn(Credential credential, Boolean allowPlainLdapCredentials, ClientAppInfo clientAppInfo)
   at Lnl.PFx.ApplicationServer.LocalApplicationServerClient.LogOn(Credential credential, ClientAppInfo clientAppInfo)
   at a.g.c.LNL_c.a(String A_0, String A_1, Int32 A_2)
   at a.g.c.LNL_b.a(String[] A_0)
 

Resolution

One resolution of this error is to check the password for the OnGuard SA account. If it is too long (15 characters or more), reduce the length of the password.

Applies To

OnGuard (All versions)

Additional Information

None