cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Symptoms:

When we attempt to navigate to pages in the Web UI directly - entering the URL manually into the address bar, for example:

<FNMS URL>/Suite/datainputs

We see a red bar Unexpected Error thrown, and are not able to access the Data Inputs page.

datainputs.png

 

Diagnosis:

In our WebUI.log (ProgramData\Flexera Software\Compliance\Logging\WebUI\webui.log ), we see the following:

"An unexpected error occurred (the error ID from our Unexpected Error page)

System.Collections.Generic.KeyNotFoundException: Could not find controller 'datainputs'"

The error ID should match our 'We have a problem' page here, and occur each time we attempt to follow this URL - note the timestamp within our WebUI.log

[ERROR Timestamp  6437ms UnhandledErrors                        ] An unexpected error occurred (Error ID)

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Collections.Generic.KeyNotFoundException: Could not find controller 'datainputs'

   at Flexera.Web.Core.AccessRightHelper.GetActionAccessRights(String actionName, String controllerName, Boolean isHttpGet)

   at Flexera.Web.Core.AccessRightHelper.HasModifyAccessToAction(String actionName, String controllerName, Object model, Boolean isHttpGet)

   at Flexera.Web.Core.Display.WebViewBase`2.get_IsReadOnly()

   at Flexera.Web.Core.Models.DynamicModelMetadataProvider.AugmentModelMetadata(ModelMetadata metadata, Object model, IWebView view)

   at Flexera.Web.Core.Models.DynamicModelMetadataProvider.GetMetadataForProperties(Object model, Type modelType)

   at System.Web.Mvc.ModelMetadata.get_Properties()

   at System.Web.Mvc.ModelMetadata.FromStringExpression(String expression, ViewDataDictionary viewData, ModelMetadataProvider metadataProvider)

   at DevExpress.Web.Mvc.Internal.ExtensionsHelper.GetMetadataByEditorName(String name, ViewDataDictionary viewData)

   at DevExpress.Web.Mvc.ExtensionBase..ctor(SettingsBase settings, ViewContext viewContext, ModelMetadata metadata, Action`1 onBeforeCreateControl)

   at DevExpress.Web.Mvc.PageControlExtension..ctor(PageControlSettings settings, ViewContext viewContext)

   --- End of inner exception stack trace ---

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)

   at System.Activator.CreateInstance(Type type, Object[] args)

   at DevExpress.Web.Mvc.UI.ExtensionsFactory.CreateExtension(Type type, SettingsBase settings, ViewContext viewContext)

   at DevExpress.Web.Mvc.UI.ExtensionsFactory.CreateExtension[T,T1](Action`1 method)

   at Flexera.Web.Core.Display.UiHelper_Tabs.RenderTabsInternal[TModel](UiHelper`1 ui, TabPosition tabPosition, ContentSectionBuilder`1 tabBuilder)

   at ASP._Page_Views_dataInputs_Index_cshtml.Execute() in c:\Program Files (x86)\Flexera Software\FlexNet Manager Platform\WebUI\Views\DataInputs\Index.cshtml:line 28

   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

   at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

   at Flexera.Web.Core.Display.WebViewBase`2.ExecutePageHierarchy()

   at System.Web.WebPages.StartPage.ExecutePageHierarchy()

   at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)

 

Solution:

The URLs for the FNMS Web UI are case-sensitive.

While a 'DataInputs' controller exists, a 'dataInputs' controller does not.

Ensure that, if you are copying links from the FNMS web UI, your character case matches the URL generated by following the Data Inputs button within the Web UI's Settings button, for example.

datainputs2.png

For our example, note that the controller is 'DataInputs' (#Index_InventoryData isn't required to navigate directly to the page here)

Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Jul 06, 2020 06:57 AM
Updated by: