Microsofty Dynamics AX 2009 Enterprise Portal / Role Centers – Deployment Tips-n-Tricks – 2


For tips 1-7 , refer to http://blogs.msdn.com/solutions/archive/2008/06/23/microsofty-dynamics-ax-2009-enterprise-portal-role-centers-deployment-tips-n-tricks-1.aspx 


(8) Report Deployment is giving below error
“The following components have not been installed or are not configured correctly.
AL.exe
Microsoft Domain-specific Langugage Tools…”


You need to install VS 2008 or the VS 2008 Shell.
If you install VS 2008 that should be good enough. If you want to install the minimal component required, then You can get VS Shell at
VS Shell – http://www.microsoft.com/downloads/details.aspx?FamilyId=ACA38719-F449-4937-9BAC-45A9F8A73822&displaylang=en
Windows SDK (contains AL.exe) – http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en


(9) Report Deployment gives CLRBridge Loader error.


The workaround for this problem is to copy the AxReports.exe from  C:\Program Files\Microsoft Dynamics AX\50\Reporting Services to C:\Program Files\Microsoft Dynamics AX\50\Client\Bin
And run it from C:\Program Files\Microsoft Dynamics AX\50\Client\Bin


(10) “Home” button (Role Center) in Ax Client gives “An error has occurred. Contact your administrator for further assistance.”





  • Check if Role Center site is set correctly at Administration -> Setup -> Internet -> Enterprise Portal -> Web Sites at the bottom dropdown.


  • Check if the Role Center page comes up correctly in Enterprise Portal in browser. If any of the webparts are throwing error, the page will still come up in Enterprise Portal , but in AxClient it will give error for the entire page. If there are any errors in the webpart, then either fix it or remove it so that the page will render without any error. Once the page appears without any error, then check it in AxClient.

(11) “Home” button (Role Center) in Ax Client is not appearing




  • Check if Enterprise Portal is installed .


  • Check if Role Center site is set correctly at Administration -> Setup -> Internet -> Enterprise Portal -> Web Sites at the bottom dropdown.


  • Chekc if default Role Center page is set corectly at Adminsitration -> Setup -> User Profiels  at the bottom dropdown

 



(12) EP installation fails with below error msg


“Entering function Remove40WPPackage


               


Entering function Is40WPPackageInstalled


                Microsoft Dynamics AX 4.0 Web Part package axwebparts.cab installation status False


                Leaving function Is40WPPackageInstalled


                Leaving function Remove40WPPackage


               


                Leaving function RemoveOldWebPartPackage


                Could not load file or assembly ‘Microsoft.Dynamics.AX.Fim.PaymentService, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.”


 


The aboce error msg  is misleading. If you go further down in the setup log file you will see the SysDevelopmentProxy error . So to resolve this issue, you just to recompile this class in a machine with .NET BC like issue (1)


 


(13) Update in Manage Deployments or Generate Proxy gives No .NET Business Connector Session found error.

 

Some times , users open AxClient by click on a configuration file ( for example ,  Test.axc). The Ax Client opens with configuration file, but when you generate proxy or Update in Manage deployment , it uses the  configuration defined for Local Client in Configuration Utility. It does not take the configuration file which is used to open the Ax Client. This is a bug. So to resolve, make sure the Local Client  confoguiration is set correctly in Ax Configuration Utility

 


(14) EP Deployment is successful but when I try to navigate the site, I get 404 error


When EP Site is created, it activates number of EP features and one of them registers the site with Ax  ( adds an entry in WebSite table) and sets the master page. If the user that is set as the Primary administrator account for the site during Site Creation does not have access to Ax, this fails but site creation does not return error. After the site is created, it gives 404 error.


So if you get 404 error, make sure EP is deployed correctly and then when creating EP site , specify a valid AX user account as the administrator of the site.


(15)When I create EP site , it creates immediately and when I navigate it displays a team site


At the time of EP Site creation, if AOS is down or if .NET BC Configuration specified in Configuration Utility is incorrect, EP Site creation does not report error  but creates the site. Since it’s not able to connect to AOS, it appears as a team site. To resolve this problem, make sure the .NET BC configuration in Ax Configuration Utility is correct and is pointing to a valid running AOS.


(16) After I installed EP, the IIS Web site on which I installed EP appears to be in stop mode.


When an IIS Web site is not yet extended with SharePoint and when you run EP setup on this site, EP Setup extends the IIS Web site using SharePoint object model. SharePoint actually creates a new IIS Website using the same port and extends it and installs EP on it. The old site is stopped because it uses the same port. SharePoint does it this way, later you have some other system installed on the old site, you could just change the port and restart it.


So this is not an error. This is the behavior of SharePoint installation. When you install SharePoint on existing IIS Web site, it creates a new IIS web site.

Comments (10)

  1. ferhan says:

    1) i have installed sharePoint services and than enterprise portal, When i open Sharepoint web site it open with System account. I gave full permission to members to access this site but its not working.Same problem is there in my EP Site which i created.

    2)irst time when i install EP, the default site i.e http://servername/sites/DynamicsAX was opening in browser. Than i created another site by clicking create sites button on Admin > Setup > Internet > website.

    It is working fine, but when i sign out from website its not working.

    I reinstall EP, now site i created is working and http://servername/sites/DynamicsAX is not working giving 404 error.

    Please give me some solution.

    Thanks

    Ferhan

  2. Trisha says:

    I am having the issues listed as #13 and #14.  I get a 404 error when I try to go to the site and get the following errors in the application log.  I created the site, and am an admin in dax.  Any suggestion are much appreciated!

    Dynamics Object Adapter Call failed.

    ClrBridgeLoader : fatal error : Microsoft.Dynamics.ClrBridge.dll cannot be loaded.

    Fatal error: ClrBridge is not loaded.

    Microsoft.Dynamics.BusinessConnectorNet.BusinessConnectorException

      at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)

      at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object[] paramList)

  3. meysun says:

    If you get a 404 error, then most likely the site definition and the default master page is not upto date or not correctly enabled for the site due to some error during the site creation process.

    Make sure

    (1) you have the right version of the dlls in the GAC and

    (2) C:Program FilesCommon FilesMicrosoft SharedWeb Server Extensions12TEMPLATEFEATURESDynamicsAxEnterprisePortalDefaultax.master exists and

    (3) The application pool is running as the BC proxy user and then recreate the site

  4. Trisha says:

    I have checked to find the ClrBridge.dll, the Defaultax.master exists, and the app pool is running as the BC proxy.  I am still having the same result.  Here are the other error messages from the application log:

    Microsoft Dynamics AX Business Connector Session 9.

    Could not load file or assembly ‘Microsoft.Dynamics.ClrBridge, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)

      at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* )

      at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)

    ————————————

    Dynamics Object Adapter Call failed.

    Could not load file or assembly ‘Microsoft.Dynamics.ClrBridge, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)

    System.IO.FileLoadException

      at AxCore_Call(UInt64 , Char* , tagVARIANT* , Int32 , tagVARIANT* )

      at Microsoft.Dynamics.BusinessConnectorNet.AxaptaObject.Call(String methodName, Object[] paramList)

      at Microsoft.Dynamics.Framework.BusinessConnector.Session.DynamicsObjectAdapter.Call(String methodName, Object[] paramList)

    Execution permission cannot be acquired.

    System.Security.Policy.PolicyException

      at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission)

      at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)

    ——————————–

    I also am running the AxUpdatePortal utility and in the generated log it looked like it was not deploying to my created site.  

    Thank you so much for your help!

  5. I want to chabge port to 81 says:

    I have completed installing reporting extension and analysis extension. Now I installed Enterprise Portal and Role Centers on Share Point. It stoped my Default Web Site. So I changed the binding of EP to 81 and when I enter http://axserver:81/Sites/DynamicsAx, it is OK. But When I register the site in AX,  it says "Web Application….could not be found". How can I solve this issue?

    Thanks

  6. Mey says:

    Are you able to browse to  http://axserver:81/Sites/DynamicsAx in the browser?

  7. Kevin says:

    Hi, I am also getting a No .NET Business Connector Session found error, specifically when trying to deploy a web page definition.  So the error is coming from axepexport.aspx.  I'm able to deploy the web page definition successfully when I am in an AX session directly on the EP server.  I get the error when attempting to deploy the web page definition from an AX session on a different computer.  So for example I am in AX on a client machine, I try to deploy the web page defintion but get the error.  But if I log into the EP server, and open AX there, I'm able to deploy the web page definition successfully.  I have checked the client configurations on the EP server, but they seem to be configured correctly.  EP seems to be working fine except for this issue.  Can you provide ideas how to solve this issue?  Any help is appreciated.

    Thank you