Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'

Vote:
 

I am getting the following error when trying to go to the Admin page of a new installed CMS.  I get to the login screen and enter my credentials and am presented with this error. Any help would be greatly appreciated.

Version:1.0 StartHTML:000000206 EndHTML:000010591 StartFragment:000002192 EndFragment:000010547 StartSelection:000002192 EndSelection:000010547 SourceURL:https://localhost:44399/Episerver?adfs=true

System.Web.HttpException (0x80004005): Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'. ---> System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Data.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.CMO_LpoTest'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
   --- End of inner exception stack trace ---
   at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
   at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
   at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
   at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
   at EPiServer.Cmo.Core.Entities.CmoDataBase.RunPendingAndStopExpired(CmoEntities model)
   at EPiServer.Cmo.Core.Entities.CmoDataBase.GetLpoTestListWithPages()
   at EPiServer.Cmo.UI.CMO.Navigation.CmoMenuProvider.GetLpoTestsMenuItems(String rootPath, String subPath, Int32 sortIndex)
   at EPiServer.Cmo.UI.CMO.Navigation.CmoMenuProvider.GetHomeMenuItems()
   at EPiServer.Cmo.UI.CMO.Navigation.CmoMenuProvider.GetMenuItems()
   at System.Linq.Enumerable.d__16`2.MoveNext()
   at EPiServer.Shell.Navigation.MenuAssembler.GetMenuItems(String parentPath, Int32 relativeDepth)
   at EPiServer.Shell.Navigation.MenuAssembler.GetMenuHierarchy(String rootPath, Int32 relativeDepth, String selectionPath)
   at EPiServer.Shell.Navigation.MenuBuilder.Render(TextWriter writer, String startPath, String selectionPath)
   at EPiServer.Shell.Navigation.MenuBuilder.GetMenu(String startPath, String selectionPath)
   at EPiServer.Shell.Navigation.MenuHelper.CreateGlobalMenu(String path, String selectionPath)
   at EPiServer.Shell.Navigation.MenuHelper.GlobalMenu(HtmlHelper htmlHelper)
   at ASP.episerver_shell_views_shared_bootstrapper_aspx.__Render__control4(HtmlTextWriter __w, Control parameterContainer) in http://server/EPiServer/Shell/Views/Shared/Bootstrapper.aspx:line 29
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at ASP.episerver_shell_views_shared_sleek_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in http://server/EPiServer/Shell/Views/Shared/Sleek.Master:line 22
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
   at System.Web.Mvc.ViewPage.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.episerver_shell_views_shared_bootstrapper_aspx.ProcessRequest(HttpContext context) in C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\aae9bc6c\226547f0\App_Web_hllmp3g1.0.cs:line 0
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.<>c__DisplayClass4.b__3()
   at System.Web.Mvc.HttpHandlerUtil.ServerExecuteHttpHandlerWrapper.Wrap[TResult](Func`1 func)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)
   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage)
   at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm)
   at System.Web.Mvc.ViewPage.RenderView(ViewContext viewContext)
   at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
   at System.Web.Mvc.Controller.ExecuteCore()
   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
   at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessController(IController controller)
   at EPiServer.Shell.Web.Mvc.ModuleMvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
#182424
Sep 18, 2017 19:33
Vote:
 

Hi! 

Where do you install the new site from? you should install from VS, but needs the latest Episerver CMS Visual studio Extension packages. See tools/extensions and updates

the parts Invalid object name 'dbo.CMO_LpoTest' and EPiServer.Cmo.UI.CMO... indicates that you trying to install the CMO parts, Do you want that? CMO is old legacy stuff. 

Regards

#182435
Sep 19, 2017 9:19
Vote:
 

All of the Visual Studio extensions are installed on Visual Studio.  I installed them in response to your post.  It still had the same issue. 

With regard to the second part of your comment regarding the CMO parts, I decided to reinstall as this is a new machine.  I uninstalled EPiSever including the databases and even Sql Server and removed the login accounts for the database.  I also removed the Sites and the Application pools, and made sure all services were uninstalled. 

When I tried to reinstall, using the EPiServer Setup running from my downloads directory: c:\users\myname\downloads\EPiServer 7.5,  I get a failure notification with the following:

Started a transacted install

Copying C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\application to C:\Dev\Projects\NextGen.CMS\NextGen.CMS

Copying C:\Program Files (x86)\EPiServer\CMS\7.5.394.2\bin to C:\Dev\Projects\NextGen.CMS\NextGen.CMS\bin

Copied License.config

productPath: C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\

installedVersion: 8.11.0.0

frameworkVersion: 7.5.394.2

AppData path: C:\Dev\Projects\NextGen.CMS\AppData

Skipping web config modification of EPiServer Framework (6.0.318.113 < 8.11.0.0)

Skipping web config modification of EPiServer Framework (6.1.79.0 < 8.11.0.0)

Skipping web config modification of EPiServer Framework (6.2.267.1 < 8.11.0.0)

Skipping web config modification of EPiServer Framework (7.5.394.2 < 8.11.0.0)

 

An unhandled error has occured:

You cannot call a method on a null-valued expression.

When executing

At C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Install\System Scripts\Install Site (SqlServer).ps1:331 char:3

+         $frameworkConfigPath = Join-Path $properties.Site.SitePath $w ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

True

=

Get-EPiIsBulkInstalling

An error has occured and the transaction will be rolled back

Rolledback

 

An unhandled error has occured:

You cannot call a method on a null-valued expression.

When executing

At C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Install\System Scripts\Install Site (SqlServer).ps1:331 char:3

+         $frameworkConfigPath = Join-Path $properties.Site.SitePath $w ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

True

=

Get-EPiIsBulkInstalling

 

An unhandled error has occured:

You cannot call a method on a null-valued expression.

When executing

At C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Install\System Scripts\Install Site (SqlServer).ps1:331 char:3

+         $frameworkConfigPath = Join-Path $properties.Site.SitePath $w ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

=

Get-EPiIsBulkInstalling

At C:\Program Files (x86)\EPiServer\Framework\7.5.394.2\Install\System Scripts\Install Site (SqlServer).ps1:331 char:3

+         $frameworkConfigPath = Join-Path $properties.Site.SitePath $w ...

+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

System.Management.Automation.ParentContainsErrorRecordException: You cannot call a method on a null-valued expression.

#182483
Sep 20, 2017 23:17
Vote:
 

Hi yoda,

Still it looks like you are installing a legacy package, you normaly don't install stuff under program files anymore.

follow cms steps here

https://world.episerver.com/documentation/Items/Installation-Instructions/installing-episerver/#CMS

Check prerequisits and video

Hope it works for you

#182489
Sep 21, 2017 7:39
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.