{"id":815,"date":"2013-01-22T16:15:14","date_gmt":"2013-01-22T16:15:14","guid":{"rendered":"http:\/\/www.darrencoupland.com\/blog\/?p=815"},"modified":"2013-01-22T16:16:05","modified_gmt":"2013-01-22T16:16:05","slug":"ax-2009-report-deployment-session-log-on-failed","status":"publish","type":"post","link":"https:\/\/www.darrencoupland.com\/blog\/2013\/01\/ax-2009-report-deployment-session-log-on-failed\/","title":{"rendered":"AX 2009 Report Deployment Session Log On Failed"},"content":{"rendered":"<p><em>Issue:<\/em><\/p>\n<p>When attempting to deploy a report library using the &#8220;Microsoft Dynamics AX 2009 Reports Deployment&#8221; Tool you may receive the following error:<\/p>\n<p>&#8220;Error: Session log on for Microsoft Dynamics failed&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-822\" alt=\"Report Deployment Session Logon Error\" src=\"http:\/\/www.darrencoupland.com\/blog\/wp-content\/uploads\/2013\/01\/ReportDeploymentSessionLogonIssue.jpg\" width=\"397\" height=\"188\" srcset=\"https:\/\/www.darrencoupland.com\/blog\/wp-content\/uploads\/2013\/01\/ReportDeploymentSessionLogonIssue.jpg 397w, https:\/\/www.darrencoupland.com\/blog\/wp-content\/uploads\/2013\/01\/ReportDeploymentSessionLogonIssue-300x142.jpg 300w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/p>\n<p>If you check the application event log you will have two source event messages called &#8220;Microsoft.Dynamics.Framework.BusinessConnector&#8221;<\/p>\n<p>The first error message will show:<\/p>\n<p><span style=\"font-size: 10px\">Dynamics Adapter Logon failed.<\/span><\/p>\n<p><span style=\"font-size: 10px\">Connection with the Application Object Server could not be established.<\/span><\/p>\n<p><span style=\"font-size: 10px\">Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException<\/span><br \/>\n<span style=\"font-size: 10px\"> at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO* pBCProxyAccountInfo, String company, String language, String objectServer, String configuration)<\/span><br \/>\n<span style=\"font-size: 10px\"> at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(String company, String language, String objectServer, String configuration)<\/span><br \/>\n<span style=\"font-size: 10px\"> at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.Logon(String company, String language, String objectServer, String configuration)<\/span><\/p>\n<p>The seconds error message will show:<\/p>\n<p><em><span style=\"font-size: 10px\">Session log on for Microsoft Dynamics failed.<\/span><\/em><\/p>\n<p><em><span style=\"font-size: 10px\">Connection with the Application Object Server could not be established.System.InvalidOperationException<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.Design.Reports.DynamicsReportsDesignTimeSession.OnHandleException(String message, Exception exception)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.HandleException(String message, Exception exception, HandleExceptionCallback callback)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.Logon(String company, String language, String objectServer, String configuration)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.OnLogon(IAxaptaAdapter axaptaAdapter)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsSession.Init(ICacheContext context)<\/span><\/em><\/p>\n<p><em><span style=\"font-size: 10px\">Connection with the Application Object Server could not be established.<\/span><\/em><\/p>\n<p><em><span style=\"font-size: 10px\">Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(BC_PROXY_ACCOUNT_INFO* pBCProxyAccountInfo, String company, String language, String objectServer, String configuration)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.BusinessConnectorNet.Axapta.Logon(String company, String language, String objectServer, String configuration)<\/span><\/em><br \/>\n<em><span style=\"font-size: 10px\">at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsAdapter.Logon(String company, String language, String objectServer, String configuration)<\/span><\/em><\/p>\n<p>&nbsp;<\/p>\n<p><em>Cause:<\/em><\/p>\n<p>There could be two possible causes<\/p>\n<p>1. The AOS running the application containing the report libraries is not started.<\/p>\n<p>2. The Microsoft Dynamics AX 2009 Configuration tool is not pointing to the correct AOS, you must apply a configuration that points to the application containing the report libraries you want to deploy to SSRS.<\/p>\n<p><em>Resolution:<\/em><\/p>\n<p>1. Check the AOS is running.<\/p>\n<p>2. Check the &#8220;Microsoft Dynamics AX 2009 Configuration&#8221; (AX Client Config Tool) is pointing to the correct AOS on the server your attempting to deploy the reports on.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>When attempting to deploy a report library using the &#8220;Microsoft Dynamics AX 2009 Reports Deployment&#8221; Tool you may receive the following error:<\/p>\n<p>&#8220;Error: Session log on for Microsoft Dynamics failed&#8221;<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[8,59,56,55],"class_list":["post-815","post","type-post","status-publish","format-standard","hentry","category-dynamics-ax-2009","tag-ax2009","tag-dynamics-ax-2009","tag-report-deployment","tag-ssrs"],"_links":{"self":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts\/815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/comments?post=815"}],"version-history":[{"count":3,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts\/815\/revisions"}],"predecessor-version":[{"id":835,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/posts\/815\/revisions\/835"}],"wp:attachment":[{"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/media?parent=815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/categories?post=815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.darrencoupland.com\/blog\/wp-json\/wp\/v2\/tags?post=815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}