Thursday, September 13, 2012

AX2012 SSRS System.Security.Permissions.SecurityPermission error

Recently I encountered this error when generating SSRS report. The error is further described here.

Unfortunately, the suggested solution in the link didn’t solve my problem. Instead, the following change worked for me.

Look for:

<CodeGroup class="FirstMatchCodeGroup" version="1" PermissionSetName="Execution" Description="This code group grants MyComputer code Execution permission. ">

Then change to:

<CodeGroup class="FirstMatchCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants MyComputer code Execution permission. ">

Cheers~

Tuesday, August 07, 2012

Tabax successor

So I saw the other day that tabax is no longer being developed…oops!

I was only too happy to ran into Max’s post about DEV_TOOLBAR!http://axcoder.blogspot.hk/2012/02/devtoolbar-tabax-for-ax2012.html

DEV_CreateNewProject

Always liked the DEV_CreateNewProject modification created by Ivan Kashperuk.

Tried to use it in AX2012 and found that it’s no longer compatible. So I make some changes and make it (mostly) works. Also added some new nodes that I think could be often used in the list.

20120807_000099

For the object and other details please check the link below:
(http://axaptapedia.com/index.php?title=AxCreateNewProject)

Thursday, April 26, 2012

AX2012 Configure Account Structure

Got an error a few days back saying: “Account number for transaction type Vendor balance does not exist.” when trying to post a vendor invoice register journal.

Checked vendor posting profile and everything looks ok.
Eventually it was found that the DimensionDefaultingService::ServiceCreateLedgerDimension method doesn’t know how to return a proper LedgerDimensionAccount record because my vendor summary account has no account structure defined for it.
(Well, some sort of msg telling me exactly that would’ve help…)

So next time when you see an error related to account number missing,there’s now one more thing to look for.

Happy DAXing~