Tuesday 21 August 2012

The Active Directory user or group does not exist. Contact yout network administrator

Error when enabling a new user or group in Dynamics AX 2012: "The Active Directory user or group does not exist.  Contact yout network administrator"


Resolution
To get round the issue it appears that all fields need to be populated.  By populating the Alias field in my scenario to match the user id field it appeared to then allow me to enable the user

Thursday 9 August 2012

GP 2010 Word template issue and Office 2010

Recently got a horrible but non-intrusive error when trying to print a word template from a batch (i.e. more then one transaction).  The error presented was

Unspecified error Location: Part: /Word/header5.xml, Line: 1, column:0

Click OK 

Word Found Unreadable content in "Check Remittance~5docx".  Do you want to recover the contents of this document?  IF you trust the source of this document, click Yes.




A fantastic article from the wonderful David Musgrave helped me out

http://blogs.msdn.com/b/developingfordynamicsgp/archive/2010/12/08/word-templates-office-2010-and-the-maintain-compatibility-option.aspx?CommentPosted=true#commentmessage

The template worked fine for one transaction but presented error when printing from a batch. The reason was because I did not mark the Maintain Compatibility with previous versions of Word option when clicking Save As

Instead of recreating from scratch I did the following:

1. Create a new report template based on the default template.
2. Export the Template to Word 2010
3. Highlight all and delete the body
4. Open a backup of my previous Word Template, highlight all and click copy
5. In the new word template paste the body into it
6. Repeat steps 3 to 5 for the Header and Footer.
7. Import the report back in and test 

This method allowed me to quickly recreated a heavily formated design without having to tell the client and my boss that I need more time.

Thank you David


Friday 3 August 2012

Installing AX 2012 with SQL Server 2012 - Model store schema creation or update failed

When trying to install Microsoft AX 2012 on Windows 2008 R2 running SQL Server 2012 I received a problem installing the Database element

The error in the Windows Application View was as follows:

AXUtil operation failed : Schema

Model store schema creation or update failed.
 

"FASTFIRSTROW" is not a recognized table hints option. If it is intended as a parameter to a table-valued function or to the CHANGETABLE function, ensure that your database compatibility mode is set to 90.

Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.


To resolve a Hotfix was required to be installed and a patch copied to the updates folder where the AX 2012 Installation files are kept. This updates the AXUtil version to 6.0.1108.152

Request and download the Dynamics AX hotfix  2680186 from Microsoft using the link below.  You will need a login to the Microsoft Partnersource website

https://mbs2.microsoft.com/Knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186

VM Player - Perfect for loading 64bit OS

Using Virtual PC I was unable to load up 64 bit operating system such as Windows 2008 R2.  However using VMWare Player this was all solved and runs great.  I use this on my Apple imac to load a windows enviroment.

Download the product using the link below
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/4_0

Trying to load Windows R2 on a new VMWare Image

I received the following error whe trying to load Windows R2 on a new VMWare Image

The buslogic SCSI adapter is not supported for 64-bit guests in this release. Please consult the documentation for the appropriate type of SCSI adapter to use with 64-bit guests.
Failed to configure virtual device scsi0.


The problem was due to me having a default image created as Windows XP so already a 32bit. 

To correct I setup a new image and specified the Windows R2 Standard as the operating system.