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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Installing Ax Enterprise Portal 2012 R3 on SharePoint 2013..

(0) ShareShare
ReportReport
Posted on by 847


Exception information:
2015-02-13 17:28:06Z        
    Exception type: HttpException
2015-02-13 17:28:06Z        
    Exception message: Server cannot clear headers after HTTP headers have been sent.
2015-02-13 17:28:06Z       at System.Web.HttpResponse.ClearHeaders()
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
2015-02-13 17:28:06Z           at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
2015-02-13 17:28:06Z           at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
2015-02-13 17:28:06Z           at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


2015-02-13 17:28:06Z        

2015-02-13 17:28:06Z        
Request information:
2015-02-13 17:28:06Z        
    Request URL: ServerName:6538/.../EPDeploymentService.asmx
2015-02-13 17:28:06Z        
    Request path: /_layouts/EPDeploymentService/EPDeploymentService.asmx
2015-02-13 17:28:06Z        
    User host address: ::1
2015-02-13 17:28:06Z        
    User:
2015-02-13 17:28:06Z        
    Is authenticated: False
2015-02-13 17:28:06Z        
    Authentication Type:
2015-02-13 17:28:06Z        
    Thread account name: Domain\Account
2015-02-13 17:28:06Z        

2015-02-13 17:28:06Z        
Thread information:
2015-02-13 17:28:06Z        
    Thread ID: 12
2015-02-13 17:28:06Z        
    Thread account name: Domain\Account
2015-02-13 17:28:06Z        
    Is impersonating: False
2015-02-13 17:28:06Z        
    Stack trace:    at System.Web.HttpResponse.ClearHeaders()
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception e, Stream outputStream)
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception e)
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
2015-02-13 17:28:06Z           at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
2015-02-13 17:28:06Z           at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
2015-02-13 17:28:06Z           at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
2015-02-13 17:28:06Z           at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2015-02-13 17:28:06Z        
2015-02-13 17:28:06Z        

2015-02-13 17:28:06Z        
Custom event details:
2015-02-13 17:28:06Z        

2015-02-13 17:28:19Z        Error: The Web site ServerName:6538/.../DynamicsAx was not created correctly.

2015-02-13 17:28:19Z    Server was unable to process request. ---> Could not load file or assembly 'Microsoft.Dynamics.Framework.Data.AX, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542) ---> Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)

2015-02-13 17:28:19Z    System.Web.Services.Protocols.SoapException
2015-02-13 17:28:19Z       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
2015-02-13 17:28:19Z           at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
2015-02-13 17:28:19Z           at Microsoft.Dynamics.Framework.Deployment.Services.EPDeploymentService.CreateAxSitesAndPages(String siteUrl)
2015-02-13 17:28:19Z           at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.CreateAxSiteContent(SPWeb site, Boolean isEPHomeSite)
2015-02-13 17:28:19Z           at Microsoft.Dynamics.Framework.Portal.Deployment.EPFeatureReceiver.ProvisionAxSite(SPWeb site)


2015-02-13 17:28:20Z        An error occurred while Setup was creating a new site.
2015-02-13 17:28:20Z        Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
2015-02-13 17:28:20Z        Exception has been thrown by the target of an invocation.
2015-02-13 17:28:20Z        Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.

2015-02-13 17:28:20Z    System.Web.Services.Protocols.SoapException
2015-02-13 17:28:20Z       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
2015-02-13 17:28:20Z           at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
2015-02-13 17:28:20Z           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)
2015-02-13 17:28:20Z           at Microsoft.Dynamics.Framework.Deployment.Portal.EPDeployment.CreateEPSiteInternal(String virtualServerUrl, String newSiteUrl)


2015-02-13 17:28:20Z        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.
2015-02-13 17:28:20Z    An error occurred during setup of Enterprise Portal (EP).
2015-02-13 17:28:20Z    Reason: Exception has been thrown by the target of an invocation.
2015-02-13 17:28:20Z    Registering tracing manifest file "C:\Program Files\Microsoft Dynamics AX\60\Server\Common\TraceProviderCrimson.man".
2015-02-13 17:28:20Z    WEvtUtil.exe install-manifest "C:\Users\<user>\AppData\Local\Temp\tmpB0FF.tmp"
2015-02-13 17:28:21Z        **** Warning: Publisher {8e410b1f-eb34-4417-be16-478a22c98916} is installed on
2015-02-13 17:28:21Z        the system. Only new values would be added. If you want to update previous
2015-02-13 17:28:21Z        settings, uninstall the manifest first.
2015-02-13 17:28:21Z        
2015-02-13 17:28:21Z        
2015-02-13 17:28:21Z    Tracing manifest file has been registered successfully.
2015-02-13 17:28:21Z    ******************************************************************************************************

2015-02-13 17:28:21Z    Component installation task stopped due to an error.

2015-02-13 17:28:21Z    ******************************************************************************************************
2015-02-13 17:28:22Z    S260FinishedInfo

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Iulian Cordobin Profile Picture
    8,201 on at

    Hi.

    The two work together fine, so it must be something related to your AX install that is not right. The AX was fully compiled and you have entered a valid domain account for your business connector proxy user, when you were asked at the moment of installing the EP role, right?

  • AxTech Profile Picture
    847 on at

    Yup its Right, But I am not able to install the Enterprise portal. I don't know why.

    This is showing Me :

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

    I have tried after creating New Web app and Site collection .. putting BC account as primary admin.

  • Iulian Cordobin Profile Picture
    8,201 on at

    So, you are getting this error when you are installing the EP role from the ax dvd and selecting all the three check boxes in the installer (to deploy as sharepoint site, create a site and restart iis)?

    I am not sure I understood why were you trying to create a site collection in the Central administration?

  • AxTech Profile Picture
    847 on at

    That was what i hv tried. I have already checked all 3 Boxes. deploy as sharepoint site, create a site and restart iis.

  • Iulian Cordobin Profile Picture
    8,201 on at

    And the site that you have selected was the "Default - 80" site existing in IIS or a new create site using SP Central Administration?

  • AxTech Profile Picture
    847 on at

    Site was already created in IIS .. I have also tried on another Web Application ..

    Getting below warning in eventvwr.

    Event code: 3005

    Event message: An unhandled exception has occurred.

    Event time: 2/13/2015 7:14:29 PM

    Event time (UTC): 2/13/2015 1:44:29 PM

    Event ID: 0467e81ecae34d02accd59f80e98e017

    Event sequence: 3

    Event occurrence: 1

    Event detail code: 0

    Application information:

       Application domain: /LM/W3SVC/62244705/ROOT/_layouts/EPDeploymentService-1-130683086669969437

       Trust level: Full

       Application Virtual Path: /_layouts/EPDeploymentService

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

       Machine name: Servername

    Process information:

       Process ID: 8180

       Process name: w3wp.exe

       Account name: Domain\axconnector  

    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: servername/.../EPDeploymentService.asmx

       Request path: /_layouts/EPDeploymentService/EPDeploymentService.asmx

       User host address: ::1

       User:  

       Is authenticated: False

       Authentication Type:  

       Thread account name: Domain\axconnector

    Thread information:

       Thread ID: 11

       Thread account name: Domain\axconnector

       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:

    .

  • dekaasboer Profile Picture
    1,530 on at

    The last time I ran into this problem it was due to a corruption in the local caching files

    go to %userprofile\AppData\Local

    delete *.auc and *.kti

    Repeat for your account, the AOS service account and the business connector account.

    Edit * Sorry i did not fully read your post. I presume you have configured a site in Sharepoint before installing? AX will attemt to create a new app pool and do some configuration. Have you implemented host header configuration? I suggest you do this aftewards in ISS and Sharepoint.

  • AxTech Profile Picture
    847 on at

    I have provided back connection Hostname in registry for not getting the error for 401 Unauthorized.  

  • Community Member Profile Picture
    on at

    Hello

    When reading the following part of the error message, there must be something wrong with access rights or password of the given account.

    Regards

    Hans-Peter

    --------------------------

    2015-02-13 17:28:19Z    Server was unable to process request. ---> Could not load file or assembly 'Microsoft.Dynamics.Framework.Data.AX, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542) ---> Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)

  • AxTech Profile Picture
    847 on at

    Hans-Peter, You could be right. But I am not able to rectify this issue. I have provided all the permissions to Axadmin and BC account.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans