This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error in Web Portal

When I submit a request from the shopping cart (Check and Submit button) I get an error:

The employee 'user1' cannot request the product 'Product 1' in the IT Shop I'd like to debug this error in the web designer.

It seems related to QER.Customizer.Person but I don't know what it is.

Here the error from Monitor exception section:

VI.Base.ViException: An exception has occurred while executing the form method Popup0_Popup0_ControlRef2_Container6_Button1_Method. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> VI.Base.ViException: The employee 'user1' cannot request the product 'Product 1' in the IT Shop. at QER.Customizer.Person.<_CreateShoppingCartItemPwO>d__22.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at QER.Customizer.Person.<_OrderShoppingCart>d__20.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.DB.Entities.StateLessMethod.<CallAsync>d__48.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.DB.Entities.InteractiveEntity.<CallFunctionAsync>d__57.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.DB.Entities.PermissionsEntity.<CallFunctionAsync>d__65.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at VI.Base.SyncActions.Do[T](Func`1 function) at VI.WebRuntime.VI_StandardWeb.VI_ITShop_CartSubmit.<SubmitCart>d__10.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.VI_StandardWeb.VI_ITShop_CartSubmit.<GetAction>d__21.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.VI_StandardWeb.VI_ITShop_ShoppingCart_Form.<OnYes2>d__b3.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.VI_StandardWeb.VI_MessageBox.<ServerActionCall1_Action>d__14.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.CallActionFormMethod.<>c__DisplayClass30_0.<<ExecuteAsync>b__0>d.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.PausableTask`1.<ContinueAsync>d__4.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.ActionQueue.<RunActionQueueInternalAsync>d__6.MoveNext()--- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at VI.WebRuntime.CallActionFormMethod.<ExecuteAsync>d__30.MoveNext() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at VI.Base.SyncActions.Do(Func`1 action) at VI.WebRuntime.Compatibility.SyncExtensions.Execute(IFormMethod formMethod, HttpContextBase context, IFormRenderPart renderPart, CancellationToken ct) at VI.WebRuntime.FormMethodHandler.ExecuteFormMethod(HttpContextBase context, String renderPartId, IDictionary`2 parameters, String clientId) --- End of inner exception stack trace --- at VI.WebRuntime.FormMethodHandler.ExecuteFormMethod(HttpContextBase context, String renderPartId, IDictionary`2 parameters, String clientId)

How can I know where the erros is raised?

I'd like to debug every control the system do when I submit the request but I don't know how to watch the value returned from the function it calls.

 

There any documentation how to debug the web portal?

 

 

Michele

Parents
  • Hi Michele,

    Debugging the frontend layer will not help much in this case. The error message clearly points to the IT shop configuration ("The employee 'user1' cannot request the product 'Product 1' in the IT Shop")

    Make sure the user is a member of the IT shop's "customer" node. Check if the the DB queue is empty and there are no frozen jobs in the job queue.

    HTH

    Hanno
Reply
  • Hi Michele,

    Debugging the frontend layer will not help much in this case. The error message clearly points to the IT shop configuration ("The employee 'user1' cannot request the product 'Product 1' in the IT Shop")

    Make sure the user is a member of the IT shop's "customer" node. Check if the the DB queue is empty and there are no frozen jobs in the job queue.

    HTH

    Hanno
Children
No Data