Home > Net >  For help!
For help!

Time:09-28

"/APEX_OA_GXS" error in the application server,
The format of the input string is not correct,
Note: during the execution of the current Web request, abnormal untreated, please check the stack trace, to learn about the errors and mistakes in the code of the source of detailed information,

Exception details: System. FormatException: the format of the input string is not correct,

The error source:

Generated during execution of the current Web request handled without exception, you can use the exception stack trace below information to determine the reason and the location of the abnormal information,

The stack trace:


[FormatException: input string format is not correct,]
System. Number. StringToNumber (String STR, NumberStyles options, NumberBuffer& The number of NumberFormatInfo info, Boolean parseDecimal) + 12743585
System. Number. ParseInt32 (String s, NumberStyles style, NumberFormatInfo info) + 120
System. The Convert. ToInt32 (String value) + 44
Antech. Application. Web. LicAuthAttribute. IsValidForRequest (ControllerContext ControllerContext, MethodInfo MethodInfo) in D: \ Projects \ AntechPlatformV1.0 \ Antech Application. The Web \ App_Start \ 01 Handler \ LicAuthAttribute cs: 110
System. Web. Mvc. ActionMethodSelectorBase. IsValidMethodSelector (ReadOnlyCollection ` 1 attributes, ControllerContext ControllerContext, MethodInfo method) + 54
System. Web. Mvc. ActionMethodSelectorBase. RunSelectionFilters (ControllerContext ControllerContext, List ` methodInfos) 1 + 118
System. Web. Mvc. ActionMethodSelectorBase. FindActionMethods (ControllerContext ControllerContext, String actionName) + 166
System. Web. Mvc. ActionMethodSelectorBase. FindActionMethod (ControllerContext ControllerContext, String actionName) + 31
System. Web. Mvc. Async. ReflectedAsyncControllerDescriptor. FindAction (ControllerContext ControllerContext, String actionName) + 54
System. Web. Mvc. ControllerActionInvoker. FindAction (ControllerContext ControllerContext, ControllerDescriptor ControllerDescriptor, String actionName) + 237
System. Web. Mvc. Async. AsyncControllerActionInvoker. BeginInvokeAction (ControllerContext ControllerContext, String actionName, AsyncCallback callback, the Object state) + 136
System. Web. Mvc. & lt;> c. B__152_0 (AsyncCallback AsyncCallback, Object asyncState, ExecuteCoreState innerState) + 27
System. Web. Mvc. Async. WrappedAsyncVoid ` 1. CallBeginDelegate (AsyncCallback callback, Object callbackState) + 30
System. Web. Mvc. Async. WrappedAsyncResultBase ` 1. The Begin (AsyncCallback callback, the Object state, Int32 timeout) + 128
System. Web. Mvc. Controller. BeginExecuteCore (AsyncCallback callback, the Object state) + 494
System. Web. Mvc. & lt;> c. B__151_1 (AsyncCallback AsyncCallback, Object callbackState, Controller Controller) + 16
System. Web. Mvc. Async. WrappedAsyncVoid ` 1. CallBeginDelegate (AsyncCallback callback, Object callbackState) + 20
System. Web. Mvc. Async. WrappedAsyncResultBase ` 1. The Begin (AsyncCallback callback, the Object state, Int32 timeout) + 128
System. Web. Mvc. Controller. BeginExecute (RequestContext RequestContext, AsyncCallback callback, the Object state) + 403
System. Web. Mvc. Controller, System. Web. Mvc. Async. IAsyncController. BeginExecute (RequestContext RequestContext, AsyncCallback callback, the Object state) + 16
System. Web. Mvc. & lt;> c. B__20_0 (AsyncCallback AsyncCallback, Object asyncState, ProcessRequestState innerState) + 54
System. Web. Mvc. Async. WrappedAsyncVoid ` 1. CallBeginDelegate (AsyncCallback callback, Object callbackState) + 30
System. Web. Mvc. Async. WrappedAsyncResultBase ` 1. The Begin (AsyncCallback callback, the Object state, Int32 timeout) + 128
System. Web. Mvc. MvcHandler. BeginProcessRequest (HttpContextBase httpContext, AsyncCallback callback, the Object state) + 427
System. Web. Mvc. MvcHandler. BeginProcessRequest (HttpContext HttpContext, AsyncCallback callback, the Object state) + 48
System. Web. Mvc. MvcHandler. System. Web. IHttpAsyncHandler. BeginProcessRequest (HttpContext context, AsyncCallback cb, Object extraData) + 16
System. Web. CallHandlerExecutionStep. System. Web. HttpApplication. IExecutionStep. The Execute () + 103
System. Web. & lt;> C__DisplayClass285_0. & lt; ExecuteStepImpl> B__0 () + 26
System. Web. StepInvoker. Invoke (Action executionStep) + 101
System. Web. & lt;> C__DisplayClass4_0. & lt; Invoke> B__0 () + 22
Microsoft. AspNet. TelemetryCorrelation. TelemetryCorrelationHttpModule. OnExecuteRequestStep (HttpContextBase context, the Action step) + 64
System. Web. & lt;> C__DisplayClass284_0. & lt; OnExecuteRequestStep> B__0 (Action nextStepAction) + 54
System. Web. StepInvoker. Invoke (Action executionStep) + 85
System. Web. HttpApplication. ExecuteStepImpl (IExecutionStep step) + 9979713
System. Web. HttpApplication. ExecuteStep (IExecutionStep step, Boolean& CompletedSynchronously) + 159

CodePudding user response:

Problem is in the D: \ Projects \ AntechPlatformV1.0 \ Antech Application. The Web \ App_Start \ 01 Handler \ LicAuthAttribute cs inside line 110 IsValidForRequest method within the Convert. ToInt32 () of the incoming is not digital type string parameters,

CodePudding user response:

The format of the System. FormatException: input string was incorrect
This is not to say very clearly

CodePudding user response:

Knot, give points, thank you! ~

CodePudding user response:

Debugging, debugging step by step from entering the method body
  • Related