web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Install AX 2012 Enterprise Portal on Sharepoint server 2013

(0) ShareShare
ReportReport
Posted on by 10,796 User Group Leader

I have been installing Enterprise portal for Dynamics AX 2012 R2 with CU7. All the pre-requisites have been installed including updates for sharepoint as mentioned in this Microsoft suggested link (technet.microsoft.com/.../dn169057.aspx) but I am still gettting the following error.

www.facebook.com/photo.php

*This post is locked for comments

I have the same question (0)
  • AxTech Profile Picture
    847 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    community.dynamics.com/.../152297.aspx

  • Suggested answer
    Umesh Pandit Profile Picture
    9,313 User Group Leader on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Try,   AutoSPInstaller for SharePoint 2010 + 2013 at autospinstaller.codeplex.com

  • NOP Profile Picture
    5 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hello

    I was able to solve the problem today by removing the four Dynamics* directories (were empty) from 14hive and by starting the claims token service from sharepoint central admin. After this, I still received the header errors in log, but the installation was sucessful. Thanks for all the suggestions!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    I managed to resolve this today.

    The presence of the DynamicsAXEnterprisePortalMOSS folder in the ...\TEMPLATE\FEATURES path noted above I believe was the result of first running the EP installation from the AX Media but choosing not to "Create web site".

    With this folder confirmed to exist on your web server, using the SharePoint 2013 Management Shell, first run the following to prove DynamicsAXEnterprisePortalMOSS is not an installed feature, but DynamicsAXEnterprisePortal is:

      Get-SPFeature

    You can push the results out to a text file if you wish.

    Next run:

      Install-SPFeature -path "DynamicsAXEnterprisePortalMOSS" -CompatibilityLevel 14

    If you re-run Get-SPFeature it will now appear in the list.

    As a side note, I have still received the errors in the Event Log stating "Exception message: Server cannot clear headers after HTTP headers have been sent." even with a successful installation.  Not sure what the installer (or AxUpdatePortal) is attempting to do when these errors are returned but I have had success with the installation even with those messages.

    Note, if you suspect a timeout is occurring when attempting to install Enterprise Portal - you may receive an error in the Windows Application Event log similar to "System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'." after 6 minutes of attempting to create the site, then you can overcome this by changing the executionTimeout property.

    On the webserver navigate to:

      C:\Program Files\Microsoft Dynamics AX\60\Setup\EPDeploymentService

    Open the web.config file and ensure it ends as follows:

        <system.web>

             <httpRuntime executionTimeout="3600" />

        </system.web>

      </configuration>

    You may find the default value to be 360, i.e. 6 minutes, so increasing this to 60 minutes should prevent the timeout.

  • Community Member Profile Picture
    on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    The feature it's complaining about is DynamicsAXEnterprisePortalMOSS.

    Take a look on the web server in the following path:

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\FEATURES\DynamicsAxEnterprisePortalMOSS

    Open the Feature.xml file and you will see that same GUID referenced there:

    <?xml version="1.0" encoding="utf-8"?>

    <Feature Id="FCCBBBA2-3583-4bcc-9354-D11FD9D6B48B"

       Title="Dynamics Enterprise Portal for Microsoft Office Sharepoint Server"

      ...

    I have the same issue whereby the site creation fails with this error.

    Did you manage to resolve this?

  • Suggested answer
    rudra Profile Picture
    6,534 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hi Santhana,

    No, my suggestion is to install the SQL server alone in one server and AX application server, sharepoint server and EP on another server .

    To make u clear:-

    Server 1 : SQL Server

    Server 2 : AX application, Sharepoint server and EP.

  • santhanak Profile Picture
    360 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hi Rudra,

    I don't see the feature id in application pool.

    I have installed AOS and DB (AXdb and Share Point DB) in 1st server and 2nd sever has Share Point 2013 (Central Admin), then trying to install the EP in 2nd server. is that your suggestion?

    thanks

  • Suggested answer
    rudra Profile Picture
    6,534 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hi Santhana,

    Is that feature id is the name of the WSS content database or its ur application pool name?

    To make the things simple could you please install the AOS and Sharepoint , EP on one server and Database on another server if possible. Surely this will work am running few instances in a same two tier architecture with the mentioned combination.

  • santhanak Profile Picture
    360 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hi Tommy and Rudra,

    we are still fixing the Compile errors on the previous environment. Now, I Started fresh installation on the new Box. AOS and DB on 1st Box and SP2013 with CU on 2nd Box. then started the EP on 2nd Box. still fails. could you please suggest us what are missing. it seems to be the same mistake that we are doing in both Development environment.

    I have tried to highlight some of the errors. 1) Feature with ID is not installed on the farm, 2) HTTP headers

    please suggest us. thanks in advance

     

    Entering function ExecuteProcess

    Entering function RemovePassword

    Process iisreset executed with arguments .

    Entering function RemovePassword

    Process iisreset executed successfully with argument .

    Leaving function ExecuteProcess

    Entering function UpgradeSitesToCurrentVersion

    Upgrading sites to current version of Microsoft Dynamics AX on virtual server http://xxxxxx

    Entering function IsRunningMode

    Entering method IsRunningMode

    The API return value is True.

    Leaving method IsRunningMode

    Leaving function UpgradeSitesToCurrentVersion

    Entering function CopyMasterPage

    Entering function ReadSharePointRegistry

    Reading registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0, property Location

    Registry Key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0 with Attribute Location has value C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\

    Leaving function ReadSharePointRegistry

    Copying file C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Features\DynamicsAxEnterprisePortal\defaultax.master to location C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\SiteTemplates\AXSITEDEF\defaultax.master

    Leaving function CopyMasterPage

    Entering function GetSiteCollectionsForVirtualServer

    Entering function GetEPWebSites

    Total number of sites retrieved from the Web Site table: 0

    Leaving function GetEPWebSites

    Leaving function GetSiteCollectionsForVirtualServer

    The virtual server {0} does not contains sites to upgrade.

    Leaving function UpgradeSitesToCurrentVersion

    Entering function ReadSharePointRegistry

    Reading registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0, property Location

    Registry Key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0 with Attribute Location has value C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\

    Leaving function ReadSharePointRegistry

    Entering function ReadSharePointRegistry

    Reading registry key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0, property Location

    Registry Key SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\15.0 with Attribute Location has value C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\

    Leaving function ReadSharePointRegistry

    Entering function InstallEnterprisePortal

    Entering function InvokePerformanceCounterMethod

    Leaving function AddPerformanceCounters

    Microsoft Dynamics AX Setup has installed the Enterprise Portal performance counters successfully.

    Leaving function InstallEnterprisePortal

    Entering function CreateEPSiteInternal

    Creating a new Enterprise Portal site http://xxxxxx/sites/DynamicsAx with the title Microsoft Dynamics AX Enterprise Portal Web site

    Deleting the existing site collection at URL http://xxxxxx/sites/DynamicsAx

    Total number of sites in Web application http://xxxxxx before deletion: 3

    Total number of sites in Web application http://xxxxxx after deletion: 3

    Setup could not find a Web site at URL http://xxxxxx/sites/DynamicsAx.

    Entering function CreateEPSiteInternal

    Leaving function CreateEPSiteInternal

    Creating new Enterprise Portal Site with the following parameters:\n URL: http://xxxxxx/sites/DynamicsAx\n Title: Microsoft Dynamics AX Enterprise Portal Web site\n LCID: 1033\n OwnerLogin: AGI\isservice

    Administration Web Service URL: http://xxxxxx:2394/_layouts/ep/WSSAdmin.asmx

    Information: The Managed Metadata Service 'Managed Metadata Service' has connected successfully.

    Information: Debugging mode is off.

    Warning: Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 4/10/2014 10:07:21 AM

    Event time (UTC): 4/10/2014 5:07:21 PM

    Event ID: b03fc19fb5c74a1ab5b5a687978d2b11

    Event sequence: 3

    Event occurrence: 1

    Event detail code: 0

    Application information:

       Application domain: /LM/W3SVC/1762016356/ROOT/_layouts/EPDeploymentService-1-130416232347108296

       Trust level: Full

       Application Virtual Path: /_layouts/EPDeploymentService

       Application Path: C:\Program Files\Microsoft Dynamics AX\60\Setup\EPDeploymentService\

       Machine name: xxxxxx

    Process information:

       Process ID: 6292

       Process name: w3wp.exe

       Account name: AGI\service.axbcproxy

    Exception information:

       Exception type: HttpException

       Exception message: Server cannot clear headers after HTTP headers have been sent.

      at System.Web.HttpResponse.ClearHeaders()

      at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)

      at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)

      at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

      at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)

      at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)

      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Request information:

       Request URL: http://xxxxxx/_layouts/EPDeploymentService/EPDeploymentService.asmx

       Request path: /_layouts/EPDeploymentService/EPDeploymentService.asmx

       User host address: ::1

       User:

       Is authenticated: False

       Authentication Type:

       Thread account name: AGI\service.axbcproxy

    Thread information:

       Thread ID: 11

       Thread account name: AGI\service.axbcproxy

       Is impersonating: False

       Stack trace:    at System.Web.HttpResponse.ClearHeaders()

      at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)

      at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)

      at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()

      at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)

      at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)

      at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Custom event details:

    Information: The description for Event ID '110' in Source 'Dynamics .NET Business Connector 6.0' cannot be found.  The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.  The following information is part of the event:'6.0: ', 'AxCryptoClient - New encryption key created'

    Information: The description for Event ID '172' in Source 'Dynamics .NET Business Connector 6.0' cannot be found.  The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them.  The following information is part of the event:'6.0: ', 'Dynamics .NET Business Connector', '6292', 'C:\Windows\assembly\GAC_64\Microsoft.Dynamics.AX.ManagedInteropCore\6.2.0.0__31bf3856ad364e35\Microsoft.Dynamics.AX.ManagedInteropCore.dll', '.Net', '1000.4051', 'BusinessConfiguration', 'C:\Program Files (x86)\Microsoft Dynamics AX\60\\Client\', '-', '-', 'WS-IN921', 'Disabled'

    Information: Debugging mode is off.

    Error: The Web site http://xxxxxx/sites/DynamicsAx was not created correctly.

    Feature with Id 'fccbbba2-3583-4bcc-9354-d11fd9d6b48b' is not installed in this farm, and cannot be added to this scope.

    System.InvalidOperationException

      at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, Int32 compatibilityLevel, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, Boolean fIgnoreMissing, SPFeatureDefinitionScope featdefScope)

      at Microsoft.SharePoint.SPFeatureCollection.AddInternal(Guid featureId, Version version, SPFeaturePropertyCollection properties, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)

      at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force)

      at Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.ProvisionSite(SPWeb site, Boolean isEPHomeSite, Boolean isPublicSite)

      at Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.ProcessAxSiteCreation(SPWeb site)

    Error: The Web site http://xxxxxx/sites/DynamicsAx was not created correctly.

    Server was unable to process request. ---> The Web site http://xxxxxx/sites/DynamicsAx was not created correctly.  An error has occurred on the server.  ---> Feature with Id 'fccbbba2-3583-4bcc-9354-d11fd9d6b48b' is not installed in this farm, and cannot be added to this scope.

    System.Web.Services.Protocols.SoapException

      at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

      at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

      at Microsoft.Dynamics.Framework.Deployment.Services.EPDeploymentService.CreateAxSitesAndPages(String siteUrl)

      at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.CreateAxSiteContent(SPWeb site, Boolean isEPHomeSite)

      at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.ProvisionAxSite(SPWeb site)

    An error occurred while Setup was creating a new site.

    Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

    Exception has been thrown by the target of an invocation.

    Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

    System.Web.Services.Protocols.SoapException

      at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

      at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

      at Microsoft.Dynamics.Framework.Deployment.Portal.WSSAdmin.CreateSite(String Url, String Title, String Description, Int32 Lcid, String WebTemplate, String OwnerLogin, String OwnerName, String OwnerEmail, String PortalUrl, String PortalName)

      at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.CreateEPSiteInternal(String virtualServerUrl, String newSiteUrl)

    Installation completed successfully, but Setup could not create the Enterprise Portal website. You can create the website by running Setup and installing Enterprise Portal again. You can also manually create a website using SharePoint Central Administration.

    An error occurred during setup of Enterprise Portal (EP).

    Reason: Exception has been thrown by the target of an invocation.

    Registering tracing manifest file "C:\Program Files\Microsoft Dynamics AX\60\Server\Common\TraceProviderCrimson.man".

    WEvtUtil.exe install-manifest "C:\Users\xxxxx\AppData\Local\Temp\tmp7EE3.tmp"

    **** Warning: Publisher {8e410b1f-eb34-4417-be16-478a22c98916} is installed on the system. Only new values would be added. If you want to update previous  

    settings, uninstall the manifest first.

  • santhanak Profile Picture
    360 on at
    RE: Install AX 2012 Enterprise Portal on Sharepoint server 2013

    Hi Tommy and Rudra,

    Default Website port 80 is disabled and SharePoint is running in port 80. In the mean time we found some errors in Full Compile. Right now we are fixing it. will update you once compiled and re-install of EP.

    thanks for your help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans