When a user attempts to assign a task to a content item, a server error is displayed along with the following event log entry:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 12/31/2014 1:03:00 PM
Event ID: 1310
Task Category: Web Event
Level: Warning
Keywords: Classic
User: N/A
Computer: xxxxxxxxxxxx
Description:
Event code: 3007
Event message: A compilation error has occurred.
Event time: 12/31/2014 1:03:00 PM
Event time (UTC): 12/31/2014 6:03:00 PM
Event ID: 5a2ebe9fc010422da072ab0810adf8ba
Event sequence: 39244
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT-2-130645118826430802
Trust level: Full
Application Virtual Path: /
Application Path: E:\xxxxxx\xxxxxx\xxxxx\
Machine name: xxxxxxxxx
Process information:
Process ID: 7824
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpCompileException
Exception message: e:\\Workarea\tasks.aspx.cs(32): error CS0234: The type or namespace name 'AlohaEditor' does not exist in the namespace 'Ektron' (are you missing an assembly reference?)
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.AssemblyBuilder.Compile()
at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Request information:
Request URL: http://localhost/workarea/tasks.aspx?LangType=1033&action=AddTask&cid=60130761149&callbackpage=content.aspx&parm1=action&value1=viewstaged&parm2=id&value2=60130761149&parm3=LangType&value3=1033
Request path: /workarea/tasks.aspx
User host address: 127.0.0.1
User: jdoe
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE
The Aloha control was not registered on the aspx page.
To resolve the issue, on each server:
- Make a backup copy of
C:\\Workarea\tasks.aspx
. - Add the line below as line 3 in the file
<%@ register tagprefix="ektron" tagname="AlohaEditor" src="controls/Editor/Aloha.ascx" %>
- Save the file.
After the change, the first lines of the file should be:
<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="tasks" codefile="tasks.aspx.cs" %> <%@ register tagprefix="ektron" tagname="AlohaEditor" src="controls/Editor/Aloha.ascx" %> <%@ register tagprefix="ektron" tagname="ContentDesigner" src="controls/Editor/ContentDesignerWithValidator.ascx" %> <%@ register tagprefix="uxEktron" tagname="Paging" src="controls/paging/paging.ascx" %>
Please sign in to leave a comment.