It looks like App Broker is having a problem querying AD to get the approvers for the request.
If you go to Site Management > Active Directory > Integration, do you have any issues viewing the current list of forests/domains or adding a new one? Any errors trying to add a new user or group under Site Management > Admin Security?
Are you able to remove the approval workflow from the catalog item and add a different one? (if you can't do that from the catalog item Approval Process tab, you might be able to go to the approval workflow properties and remove it from the Applies To tab)
Do you see the same errors when logging in with a different account?
I'm not sure what the root cause or fix is, but just trying to narrow down if the issue is with the AD connection, the workflow, or the user that's logged in (which could impact the workflow).
Sep 15, 2021 02:32 PM
Yes, The item has a question template but it's done not contain < or >.
And the issue automatically resolved. 🙂
Oct 01, 2021 11:51 PM
What does the stack trace in the website.log show for this error?
Sep 14, 2021 08:26 AM
at AppPortal.MVC.Controllers.CheckoutController.NextQuestionView(QuestionModel questionModel, FormCollection formCollection)
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.EndInvokeActionMethod(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.EndInvokeActionMethodWithFilters(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)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)]LOG]!><time="08:37:27.000+240" date="9-14-2021" component="Application_Error" context="" type="1" thread="4" file="Website">
Sep 14, 2021 08:39 AM
It looks like some text has been dropped from the start of that stack trace. Do other error details appear before the line "at AppPortal.MVC.Controllers.CheckoutController.NextQuestionView(QuestionModel questionModel, FormCollection formCollection)" ?
Sep 14, 2021 08:49 AM
<![LOG[Unhandled Exception https://servername/esd/Checkout/NextQuestionView The server is not operational.
I saw the below error.
Sep 14, 2021 09:03 AM
The screenshot still appears to be truncating the start of the error details. The most interesting and specific part of the error message is likely to be the start - before the "bInheritBundleApproval [...]" text that is shown at the very top of the screenshot.
Sep 14, 2021 07:40 PM
Does the item you are requesting have a question template? I've seen something similiar when a question has < or > in the question or answer. IIS treats it as malicious code.
Oct 01, 2021 04:35 PM
Yes, The item has a question template but it's done not contain < or >.
And the issue automatically resolved. 🙂
Oct 01, 2021 11:51 PM
It looks like App Broker is having a problem querying AD to get the approvers for the request.
If you go to Site Management > Active Directory > Integration, do you have any issues viewing the current list of forests/domains or adding a new one? Any errors trying to add a new user or group under Site Management > Admin Security?
Are you able to remove the approval workflow from the catalog item and add a different one? (if you can't do that from the catalog item Approval Process tab, you might be able to go to the approval workflow properties and remove it from the Applies To tab)
Do you see the same errors when logging in with a different account?
I'm not sure what the root cause or fix is, but just trying to narrow down if the issue is with the AD connection, the workflow, or the user that's logged in (which could impact the workflow).
Sep 15, 2021 02:32 PM