Actually the error is due to the fact that the syp layer of class HcmWorkerImport_DirPartyContactInfoView can’t be saved.

Microsoft released a hotfix to fix this issue, however, you need to redo the upgrade with a restored backup and than install the kernel hotfix and slipstream the hotfix in your AX 2012 Feature Pack installation files. Apparently this is not working for a production environment installation: sometimes we can’t afford to change the Modelstore in production environment.

Sometimes we are asked to customize the layout of a page. The changes are often small and don’t necessarily require a change to the site master page or css file. For example, the client requests to hide the ‘Site Action’ menu on a Dynamics AX 2009 EP page to disable the user to change the page layout.

Now I use the purchase requisition lists as an example:

On the page, right click and select View Source

In the source file, the CSS class used in Site Action menu is .ms-siteaction

Open Visual Studio 2008 and edit the user control PurchReqTableList. In the PurchReqTableList.ascx file, add the following code

<style type="text/css"> .ms-siteaction { display:none ;}</style>

Save the change and update the portal.

Now you can see the ‘Site Action’ menu is gone.

Similarly, if we want to hide the breadcrumbs, we can use the same way as well.

When we use the Dynamics AX to send email, sometimes we will run into an CDO.Message issue with error message Method ‘send’ in COM object of class ‘CDO.Message’ returned error code 0x80040211 (<unknown>) which means: <unknown>.

The error codes listed below are really useful when troubleshooting the issue:

Value

Remarks

0x80040201

Exception %1 was generated at address %2.

0x80040202

No data source has been opened for the object.

0x80040203

The object does not support this type of data source.

0x80040204

The object does not support the requested property name or namespace.

0x80040205

The object does not support the requested property.

0x80040206

The object is not active. It may have been deleted or it may not have been opened.

0x80040207

The object does not support storing persistent state information for objects.

0x80040208

The requested property or feature, while supported, is not available at this time or in this context.

0x80040209

No default drop directory has been configured for this server.

0x8004020A

The SMTP server name is required, and was not found in the configuration source.

0x8004020B

The NNTP server name is required, and was not found in the configuration source.

0x8004020C

At least one recipient is required, but none were found.

0x8004020D

At least one of the From or Sender fields is required, and neither was found.

0x8004020E

The server rejected the sender address. The server response was: %1

0x8004020F

The server rejected one or more recipient addresses. The server response was: %1

0x80040210

The message could not be posted to the NNTP server. The transport error code was %2. The server response was %1

0x80040211

The message could not be sent to the SMTP server. The transport error code was %2. The server response was %1

0x80040212

The transport lost its connection to the server.

0x80040213

The transport failed to connect to the server.

0x80040214

The Subject, From, and Newsgroup fields are all required, and one or more was not found.

0x80040215

The server rejected the logon attempt due to authentication failure. The server response was: %1

0x80040216

The content type was not valid in this context. For example, the root of an MHTML message must be an HTML document.

0x80040217

The transport was unable to log on to the server.

0x80040218

The requested resource could not be found. The server response was: %1.

0x80040219

Access to the requested resource is denied. The server response was: %1.

0x8004021A

The HTTP request failed. The server response was: %1.

0x8004021B

This is a multipart body part. It has no content other than the body parts contained within it.