Skip to content

Instantly share code, notes, and snippets.

@jtrent238
Created August 23, 2019 12:41
Show Gist options
  • Save jtrent238/3400b7389d8d42aea7b1728d18dd0bd8 to your computer and use it in GitHub Desktop.
Save jtrent238/3400b7389d8d42aea7b1728d18dd0bd8 to your computer and use it in GitHub Desktop.
Server Error in '/iq/ui/web' Application.
Local config is unable to determine what config section to use.
Please define at least one regular App setting key with a local config section name value.
The following keys are recognized (ordered by precedence) in the current runtime context:
- <add key="LocalConfig:SectionToUse" value="{section name}" />
- <add key="IP__www.delmarlearning.com" value="{section name}" /> (web apps)
- <add key="MACHINE__WHCINNDELWEB04P" value="{section name}" /> (non web apps)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ApplicationException: Local config is unable to determine what config section to use.
Please define at least one regular App setting key with a local config section name value.
The following keys are recognized (ordered by precedence) in the current runtime context:
- <add key="LocalConfig:SectionToUse" value="{section name}" />
- <add key="IP__www.delmarlearning.com" value="{section name}" /> (web apps)
- <add key="MACHINE__WHCINNDELWEB04P" value="{section name}" /> (non web apps)
Source Error:
Line 14: });
Line 15: </script>
Line 16: @{ Html.RenderDevToolsView("Take.DevTools"); }
Source File: d:\Octopus\Applications\Production\Prod\CL.IQ.Web\4.3.1\Areas\MyTests\Views\Shared\SharedTestScripts.cshtml Line: 16
Stack Trace:
[ApplicationException: Local config is unable to determine what config section to use.
Please define at least one regular App setting key with a local config section name value.
The following keys are recognized (ordered by precedence) in the current runtime context:
- <add key="LocalConfig:SectionToUse" value="{section name}" />
- <add key="IP__www.delmarlearning.com" value="{section name}" /> (web apps)
- <add key="MACHINE__WHCINNDELWEB04P" value="{section name}" /> (non web apps)]
CL.Enterprise.Components.Configuration.LocalConfig.get_LocalSectionName() +711
CL.Enterprise.Components.Configuration.LocalConfig.GetLocalConfigValue(String name) +63
CL.Enterprise.Components.Configuration.LocalConfig.GetLocalConfigValue(String name, Boolean defaultValue) +60
CL.IQ.Web.Configuration.Config.get_UseDevTools() +53
System.Web.Mvc.HtmlHelperExtensions.RenderDevToolsView(HtmlHelper helper, String partialViewName) +57
ASP._Page_Areas_MyTests_Views_Shared_SharedTestScripts_cshtml.Execute() in d:\Octopus\Applications\Production\Prod\CL.IQ.Web\4.3.1\Areas\MyTests\Views\Shared\SharedTestScripts.cshtml:16
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +90
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +256
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
CL.IQ.Web.Components.ViewEngines.AutoIdentifyingIView.Render(ViewContext viewContext, TextWriter writer) +124
System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection) +277
System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper htmlHelper, String partialViewName, Object model) +58
ASP._Page_Areas_mytests_Views_test_Take_cshtml.Execute() in d:\Octopus\Applications\Production\Prod\CL.IQ.Web\4.3.1\Areas\MyTests\Views\Test\Take.cshtml:181
System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +197
System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105
System.Web.WebPages.StartPage.RunPage() +17
System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +256
System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
CL.IQ.Web.Components.ViewEngines.AutoIdentifyingIView.Render(ViewContext viewContext, TextWriter writer) +124
System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +291
System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) +13
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +56
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +52
System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +173
System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +100
System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29
System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +38
System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) +12
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +22
System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +28
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21
System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +29
System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +28
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9874041
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +48
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +159
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment