Object reference not set to an instance of an object when loading Workflow Project
search cancel

Object reference not set to an instance of an object when loading Workflow Project


Article ID: 176876


Updated On:


Workflow Solution


When loading a published project in workflow, the following error is returned in the webform:

Error Message:
Object reference not set to an instance of an object.
Message Stack:
at LogicBase.Core.ExecutionEngine.PerformanceCounters..ctor(AbstractOrchestrationProject project)
at LogicBase.Core.Models.Dialog.ComposerForm.FormPerformanceCounters..ctor(AbstractOrchestrationProject project)
at LogicBase.Core.Models.Dialog.ComposerForm.OnUnload(EventArgs e)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.ProcessRequestCleanup()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.composerform_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


When a workflow webforms project is first loaded or IIS has been restarted, it must compile the project during the initial load.  If the composerform.aspx page is used instead of the composer.aspx page, it will fail to compile and generate this error. 


Verify the URL for the project is using composer.aspx and not composerform.aspx during the initial load.




Applies To
Workflow Solution 6.x