Category Archives: 未分类

FK_ModelElementData_HasModelId_LayerId error

After applying the feature pack to an AX 2012 environment, during the full AOT compilation, I got the error as below: Object Server 01:  The database reported (session 3 (Admin)): [Microsoft][SQL Server Native Client 10.0][SQL Server]The UPDATE statement conflicted with … Continue reading

Posted in 未分类 | Leave a comment

Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!

Posted in 未分类 | Leave a comment

Use ScriptManager to close the EP page window

Using RegisterStartupScript we can write a JavaScript function in code behind and call it from code-behind. For example,  to close a page window, we can use the following code in .cs file: protected void Button1_Click(object sender, EventArgs e){     … … Continue reading

Posted in 未分类 | Leave a comment

Use CSS style to customize Enterprise Portal 2009 page

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’ … Continue reading

Posted in 未分类 | 1 Comment

Debugging AX2009 Enterprise Portal and Batch jobs running on Windows 2008

The hotfix KB962952 has been released. You can contact technical support for Microsoft Dynamics and create a new support request to get the hotfix.

Posted in 未分类 | Leave a comment

CDO.Message error

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 … Continue reading

Posted in 未分类 | 5 Comments

Send workflow notification as email

In AX2009, we can email the workflow notifications. The following steps will show you how to set this up: 1. Create an email template for workflow. Go to Basic –> Setup –> Email Templates. Create a new email template for … Continue reading

Posted in 未分类 | 1 Comment