Hexagon Geospatial
MENU

M.App Enterprise

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Reply
Regular Contributor
Posts: 215
Registered: ‎03-10-2016
Accepted Solution

Workflows and .NET Error

Starting a simple workflow with a list I am getting the error "An error occured" in the rich client.

Server-Side I am getting this in the log files:

 

System.Web.HttpCompileException: c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\workflows\d4a0faa0\5c7ee588\App_Web_listheadertemplate.cshtml.5e279d63.8xif8rze.0.cs(65): error CS0103: Der Name 'nameof' ist im aktuellen Kontext nicht vorhanden.

   [Details]

   Href: https://gl-rutka:443/Workflows/List?workflow=EigentuemerAnzeige&lang=de&sessionid=127258bd-87d1-4b9e-a0d6-66f21c152a85&tenant=Rutka&nodeid=EigentuemerListe&debugMode=true

   bei System.Web.Compilation.AssemblyBuilder.Compile()

   bei System.Web.Compilation.BuildProvidersCompiler.PerformBuild()

   bei System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)

   bei System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

   bei System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

   bei System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)

   bei System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath)

   bei System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)

   bei System.Web.Mvc.Html.TemplateHelpers.ExecuteTemplate(HtmlHelper html, ViewDataDictionary viewData, String templateName, DataBoundControlMode mode, GetViewNamesDelegate getViewNames, GetDefaultActionsDelegate getDefaultActions)

   bei System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData, ExecuteTemplateDelegate executeTemplate)

   bei System.Web.Mvc.Html.TemplateHelpers.TemplateHelper(HtmlHelper html, ModelMetadata metadata, String htmlFieldName, String templateName, DataBoundControlMode mode, Object additionalViewData)

   bei System.Web.Mvc.Html.TemplateHelpers.TemplateFor[TContainer,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName, String htmlFieldName, DataBoundControlMode mode, Object additionalViewData)

   bei System.Web.Mvc.Html.EditorExtensions.EditorFor[TModel,TValue](HtmlHelper`1 html, Expression`1 expression, String templateName)

   bei ASP._Page_Views_Shared_List_cshtml.<Execute>b__8() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\workflows\d4a0faa0\5c7ee588\App_Web_list.cshtml.639c3968.wbuwnio_.0.cs:Zeile 0.

   bei System.Web.WebPages.WebPageBase.<>c__DisplayClass42_0.<RenderSection>b__0(TextWriter tw)

   bei System.Web.WebPages.WebPageBase.Write(HelperResult result)

   bei ASP._Page_Views_Shared__SiteMaster_cshtml.<Execute>b__2() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\workflows\d4a0faa0\5c7ee588\App_Web__sitemaster.cshtml.639c3968.y28gbhj9.0.cs:Zeile 0.

   bei System.Web.WebPages.WebPageBase.<>c__DisplayClass42_0.<RenderSection>b__0(TextWriter tw)

   bei System.Web.WebPages.WebPageBase.Write(HelperResult result)

   bei ASP._Page_Views_Shared__RootMaster_cshtml.Execute() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\workflows\d4a0faa0\5c7ee588\App_Web__rootmaster.cshtml.639c3968.nztpfryo.0.cs:Zeile 0.

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

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

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

   bei System.Web.WebPages.WebPageBase.<>c__DisplayClass40_0.<RenderPageCore>b__0(TextWriter writer)

   bei System.Web.WebPages.WebPageBase.Write(HelperResult result)

   bei System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)

   bei System.Web.WebPages.WebPageBase.PopContext()

   bei System.Web.WebPages.WebPageBase.<>c__DisplayClass40_0.<RenderPageCore>b__0(TextWriter writer)

   bei System.Web.WebPages.WebPageBase.Write(HelperResult result)

   bei System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)

   bei System.Web.WebPages.WebPageBase.PopContext()

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

   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)

   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)

   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)

   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)

   bei System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_1.<BeginInvokeAction>b__5(IAsyncResult asyncResult)

   bei System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)

   bei System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_1(IAsyncResult asyncResult, ExecuteCoreState innerState)

   bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)

   bei System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)

   bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)

   bei System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)

   bei System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_1(IAsyncResult asyncResult, ProcessRequestState innerState)

   bei System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)

   bei System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)

   bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   bei System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

   bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Are there any know issues with M.App Enterprise Workflows an .NET?

I have 16.5 Update 1 on a Windows 10 machine with .NET 4.7.2

 

Thanks in advance

Stefan

GAUSS Ingenieurtechnik GmbH | Germany
Highlighted
Staff
Posts: 502
Registered: ‎11-12-2015

Re: Workflows and .NET Error

Hi Stefan,

 

This error was fixed in M.App Enterprise Update 1.

Since the installation didn't resolve the issue for you it's likely Temporary .NET files are to blame. Please try clearing these and restarting the server. You may need to repair install as well.

 

More information can be found in a previous community post here

Regular Contributor
Posts: 215
Registered: ‎03-10-2016

Re: Workflows and .NET Error

Hi Stephen,

 

shame on me, didn't see this.

I will try but I think that's the solution.

 

I will give you an update.

 

Thanks

Stefan

GAUSS Ingenieurtechnik GmbH | Germany
Polls
Please register to vote
Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Development Ticket through our Development Ticket Portal.