Gravatar for nstephens@hhogdev.com

Question by nickstephens, Jun 8, 2015 3:10 PM

ADMIN (CMF) port not supplied.

We're trying to install the Coveo for Sitecore package, post installation of CES and Coveo Search API, and we're running into a problem.

During the install of the Sitecore package (Coveo for Sitecore 71 3.0 (1026)), we receive a YSOD from the installer with the following error: Admin (CMF) port not supplied. We've used the default settings during the CES and Search API install, on Windows 2012, Sitecore 7.1 Update 1 (140130).

Full Stack Trace:

ADMIN (CMF) port not supplied.

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.ServiceModel.FaultException`1[[System.ServiceModel.ExceptionDetail, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]: ADMIN (CMF) port not supplied.

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 
[FaultException`1: ADMIN (CMF) port not supplied.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +14579646
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +622
   Coveo.AdminService.AdminService.IAdminService.IsFirstTimeSetupDone(CesMasterInformation p_Info) +0
   Coveo.AdminService.AdminServiceClientWrapper.PerformAdminServiceCall(Func`1 p_Func) +205
   Coveo.AdminService.AdminServiceClientWrapper.IsFirstTimeSetupDone() +95
   Coveo.AbstractLayer.Communication.CES.AdminModule.InitializeCes() +152
   Coveo.AbstractLayer.Communication.CES.CESCommunication.InitializeCes() +70
   Coveo.SearchProvider.ProviderIndexBase.Initialize(IIndexDocumentPropertyMapper`1 p_DocumentTypeMapper) +2161
   Coveo.SearchProvider.ProviderIndex.Initialize() +282
   Coveo.SearchProvider.Configuration.CoveoSearchConfiguration.AddIndex(ISearchIndex p_Index) +268

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
   Sitecore.Configuration.Factory.AssignProperties(Object obj, Object[] properties) +832
   Sitecore.Configuration.Factory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper) +759
   Sitecore.Configuration.Factory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper) +296
   Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +420
   Sitecore.ContentSearch.ContentSearchManager.get_SearchConfiguration() +70
   Sitecore.ContentSearch.Maintenance.EventHub.OnResumeIndexing(Object sender) +140
   Sitecore.Events.EventSubscribers.RaiseEvent(String eventName, Object[] parameters, EventResult result) +397
   Sitecore.Events.Event.RaiseEvent(String eventName, Object[] parameters) +423
   Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.GotoLastPage(Result result, String shortDescription, String fullDescription) +415
   Sitecore.Shell.Applications.Install.Dialogs.InstallPackage.InstallPackageForm.OnInstallerFailed(Message message) +159

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +211
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +35
   Sitecore.Web.UI.Sheer.BaseForm.HandleMessage(Message message) +612
   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +153
   Sitecore.Jobs.AsyncUI.SendMessageMessage.Execute() +182
   Sitecore.Jobs.AsyncUI.JobMonitor.HandleMessage(Message message) +378
   Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +79
   Sitecore.Shell.Framework.Commands.MessageCommand.DispatchMessage(Control control) +171
   Sitecore.Shell.Framework.Commands.MessageCommand.Execute(CommandContext context) +181
   Sitecore.Web.UI.Sheer.ClientPage.OnPreRender(EventArgs e) +547
   System.Web.UI.Control.PreRenderRecursiveInternal() +113
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4297

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34248
1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Jun 8, 2015 3:15 PM

I already saw this exact error when I had 2 Coveo.SearchProvider.config files at the same time in my include folder. The second one was created accidentally by a bad manipulation.

Hope this helps.

Ask a question