Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
We have the current situation:
Servers: srv1 and srv2
srv1 is SQL 2008R2 + reporting/analysis/reporting services
srv2 is Dynamics 2012 AOS (Latest hotfix)
There is a service account for SQL: domain\sqlsrvc
There is a service account for the AOS: domain\aossrvc
a report in this case is anything generated by the report server (confirmations, packing slips, invoices, whatever).
When trying to run a report, AX throws the error: "Target principal name is incorrect". I found that to solve this error, I have to set an SPN on the AOS service account.
When I set an SPN to the AOS service account by giving the following command, all reports show.
setspn -U -A HOST/srv2.domain.intra domain\aossrvc
HOWEVER!!!: I can then NOT LOG ON WITH ANY DOMAIN ACCOUNT on srv2!!! The error I get is
"The Security database on the server does not have a computer account for this workstation trust relationship."
when logging on (CTRL+ALT+DEL => username/pass ENTER, boom).
When I was already logged on when I add the SPN, I stay logged on. However, I can not restart the AOS, I get a 1069 error, "The service did not start due to a logon failure".
When I then delete the SPN, I can log on again, and I can restart the AOS. Also, all reports show, but only for about 10-15 minutes. After that time, I get the "Target principal name is incorrect" error again. Logging on to the server and restarting the AOS remains possible.
I know I'm close to fixing the problem, but I can't seem to make the last mile. Is there anyone that can push me in the right direction?
Did you find a solution to your problem? I'm experiencing the same issue and would be interested to know of any progress you've made.
Saw a few articles and newsgroup threads about the error message 'The Security database on the server does not have a computer account for this workstation trust relationship':
Hope some of these help.
We had this issue for all of our 3 AX instances. The fix is to repeat this configuration proceedure to get the new WCF settings. Before doing this it would be wise to do a full CIL compile, do this process, then restart SSRS.
Also, ensure that your SSRS execution and service account is running under the BC proxy account.
This happens when you change the AOS service account. The XML in the AX config file for WCF contains a whole bunch of lines that say
<userPrincipalName value="AosUser@YourDomain.com" />
Just open AX Client Configuration utility and refresh your configuration (and Business Connector) that you are using.
Also, check your Business Connector configuration, because I believe that is what SSRS uses by default if you don't have a custom AXC for it. If you do have a custom one, make sure to refresh that one too.
Then stop/start your SSRS instance.
Custom Reports AXC: https://technet.microsoft.com/en-us/library/hh389774.aspx
Changing AOS account and receiving your errro: https://technet.microsoft.com/en-us/library/jj585430.aspx
issue is related the AX Configuration you need to check RS server configuration settings for AX. By default SSRS instance take the default AX Configuration, you have to create a new one named "Microsoft.Dynamics.AX.ReportConfiguration.axc" and copy on the Reporting Services\ReportServer\bin folder
Business Applications communities