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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Target Principal name is incorrect Error while running reports

(0) ShareShare
ReportReport
Posted on by 315

I'm facing this issue on every report, the steps taken so far for its resolution:

  1. Ensuring correct accounts in reporting service manager
  2. Registering the SRSFramework Services from AOT and deploying Service Group
  3. Generating full CIIL
  4. Redeploying reports
  5. Restarting Services

I has no luck so far with the above measures taken for the resolution. The event log's information is provided below where it shows two error events:

Error Event 1:

An error has occurred during report processing. (rsProcessingAborted) An error has occurred during report processing. (rsProcessingAborted) Microsoft.Reporting.WinForms.ReportServerException at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension) at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report) at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation() at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation() at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg) Query execution failed for dataset 'VendDS'. (rsErrorExecutingCommand) Microsoft.Reporting.WinForms.ReportServerException An exception occurred in the query metadata execution. The exception is A call to SSPI failed, see inner exception.. Microsoft.Reporting.WinForms.ReportServerException A call to SSPI failed, see inner exception. Microsoft.Reporting.WinForms.ReportServerException A call to SSPI failed, see inner exception. Microsoft.Reporting.WinForms.ReportServerException A call to SSPI failed, see inner exception. Microsoft.Reporting.WinForms.ReportServerException The target principal name is incorrect Microsoft.Reporting.WinForms.ReportServerException

Error event 2

AXRDCE The AXRDCE extension caught an unexpected exception for report Vend.Report. The error message was: A call to the Microsoft Dynamics AX SRSFrameworkService service failed. The target principal name is incorrect. at Microsoft.Dynamics.AX.Framework.Services.Client.ServiceClientHelper.InvokeChannelOperation[TResult,TChannel](IServiceClient`1 client, Func`2 operationInvoker, Func`2 exceptionWrapper) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.SRSFrameworkServiceProxy.Microsoft.Dynamics.AX.Framework.Reporting.Shared.IXppSRSFrameworkService.getRelationLinkTargetList(SRSFrameworkServiceGetRelationLinkTargetListRequest request) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.SRSFrameworkServiceClient.Microsoft.Dynamics.AX.Framework.Reporting.Shared.ISRSFrameworkService.GetRelationLinkTargetList(String tableFieldsListEncodedStr) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.TableFieldMenuItemService.GetRelationLinkTargetList(String fieldList) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.TableFieldMenuItemService.Resolve(String encodedString) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.AutomaticDrillThroughStep.Transform(XDocument report, ILocalReportContext reportContext, ILocalUserContext userContext) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.CustomizationExtensionImplementation.ProcessReportDefinition(Byte[] reportDefinition, ILocalReportContext reportContext, ILocalUserContext userContext, Byte[]& reportDefinitionProcessed) A call to the Microsoft Dynamics AX SRSFrameworkService service failed. The target principal name is incorrect. Microsoft.Dynamics.AX.Framework.Reporting.Shared.ReportException at Microsoft.Dynamics.AX.Framework.Services.Client.ServiceClientHelper.InvokeChannelOperation[TResult,TChannel](IServiceClient`1 client, Func`2 operationInvoker, Func`2 exceptionWrapper) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.SRSFrameworkServiceProxy.Microsoft.Dynamics.AX.Framework.Reporting.Shared.IXppSRSFrameworkService.getRelationLinkTargetList(SRSFrameworkServiceGetRelationLinkTargetListRequest request) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.SRSFrameworkServiceClient.Microsoft.Dynamics.AX.Framework.Reporting.Shared.ISRSFrameworkService.GetRelationLinkTargetList(String tableFieldsListEncodedStr) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.TableFieldMenuItemService.GetRelationLinkTargetList(String fieldList) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.TableFieldMenuItemService.Resolve(String encodedString) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.AutomaticDrillThroughStep.Transform(XDocument report, ILocalReportContext reportContext, ILocalUserContext userContext) at Microsoft.Dynamics.AX.Framework.Reporting.Shared.CustomizationExtensionImplementation.ProcessReportDefinition(Byte[] reportDefinition, ILocalReportContext reportContext, ILocalUserContext userContext, Byte[]& reportDefinitionProcessed)

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    These errors have been discussed several times, therefore use a search engine and try solutions suggested by others, such as regenerating the WCF configuration.

  • QamarKhan Profile Picture
    315 on at

    I found many similar posts discussing the same issue, but unfortunately the issue is not getting solved following the instructions is those posts.

    I'm facing this issue on a Test environment where I have setup a Server.

    Refreshing WCF didn't helped either.

  • Suggested answer
    Maqk Profile Picture
    844 on at

    I registered the SRSFramework services, redeployed BIService, refreshed AIF services, reprovided the execution account in Report services config and restarted report services. This resolved my issue.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans