Wednesday, 25 March 2015

Mark Compile application step complete in checklist "Mark as Complete"

Since AX2012 R2 CU7, most of us have started to use axbuild for a complete application compilation. While this is fine and dandy, there are still checklists within AX that demands this step to be run in the client itself. Until we get an option to “Mark as complete”, you can mark the step yourself using the following job:

static void CompleteCompile(Args _args)
{
    SysCheckList::finished(classnum(SysCheckListItem_Compile));
    SysCheckList::finished(classnum(SysCheckListItem_CompileUpgrade));
    SysCheckList::finished(className2Id(classStr(SysCheckListItem_CompileServ)));
    SysCheckList::finished(classnum(SysCheckListItem_SysUpdateCodeCompilInit));
}

Run the job and observe the step is marked as completed. No sweat!

Happy DAXing.....

The Model Store has Been Modified - AX2012 R3 CheckList Issue

Hello everybody!
Today's post is to share a well boring error that happened to me today ... After restoring Demo data (*.bak) as well as System/Parameter tables data it I had to perform a system update the lists, all the steps of the list were executed without problems, at the time I synchronize the database also had no problem, what occurred to me is that the AX insisted on opening the system startup check list whenever I accessed the AX.

 

It was clear the above scenario? A single server, all installed on it, AX2012 R3 + KB and system startup checklist by opening whenever I access the AX ... important details during troubleshooting this problem, I had compiled AX via client and via axbuild, no mistake ... also had synchronized the client via database and via AOT ,,, no mistake ... I changed license AX, compiled and synchronized without errors and .... yet after all the above steps AX Client insisted on opening the boot list ......

I continued researching possible solutions and found a link on the Internet that inform the end of the post, which says that the fact that the startup list open to access the AX is due to a recorded parameter in the table "ReleaseUpdateConfiguration", specifically in the column " MinorUpgrade. " As the above scenario was a virtual and testing environment, I simply changed the value of this column "1" to "0" and saved the change, and with it the AX spent to open normally.


Recalling that did it in a test environment, without further analysis of the problem, because even I do not understand DEV in AX and at that time had no DEV to help me. I will now continue with the setup of the AX and verify that this manual change will get me in trouble!

See you!
Happy DAXing....

Tuesday, 24 March 2015

Cannot insert multiple records in Security user role (SecurityUserRole). The record already exists.

Issue: 
Cannot insert multiple records in Security user role (SecurityUserRole). The record already exists.
AX: AX 2012 R3,
OS: Windows Server 2012
SQL: SQL 2014 
 
 
 

Solution: Open SSMS, SQL DB, Select the MicrosoftDynamicsAX database and run the below query 
select * from dbo.SECURITYUSERROLE
delete from dbo.SECURITYUSERROLE where USER_ = 'v-vimsin'

Happy DAXing.....

Monday, 23 March 2015

Error while setting server report parameters. Error message: The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)

Facing this kind of error when accessing any report:
Error while setting server report parameters. Error message: The report server has encountered a configuration error. Logon failed for the unattended execution account. (rsServerConfigurationError)


Solution:

Go to Reporting Services Configuration Manager-> Execution Account and specify your credentials as per screen shot and happy SSRS.....

 

Insufficient rights to execute Menu Item Create default favorite group.: Script for do visible navigation pane in AX 2012

Hi,
I was restoring demo data (*.bak) file into our instance but when I opened to AX 2012 R3 it was completely blank means no any modules visible and giving one error: "Insufficient rights to execute Menu Item Create default favorite group."

Then  I wrote and executed  one query in SQL Server Management Studio and it's fixed. Completed initial checklist and enjoying DAXing....

UPDATE USERINFO SET SID = 'S-1-5-21-2146773085-903363285-719344707-1910427'

UPDATE SYSBCPROXYUSERACCOUNT SET SID = 'S-1-5-21-1721254763-462695806-1538882281-2782893'

UPDATE SYSUSERINFO SET SQMUSERGUID = '00C6CD72-3148-4317-9324-1A3B11169379'

DELETE FROM SYSSERVERCONFIG

DELETE FROM SYSSERVERSESSIONS

DELETE FROM SYSCLIENTSESSIONS

DELETE FROM SRSSERVERS

DELETE FROM BATCHSERVERCONFIG

DELETE FROM BATCHSERVERGROUP

DELETE FROM SYSUSERLOG

DELETE FROM BICONFIGURATION

DELETE FROM BIANALYSISSERVER

DELETE FROM SMMPHONEPARAMETERS

DELETE FROM EPGlobalParameters

DELETE FROM EPWebSiteParameters

Happy DAXing......

Thursday, 19 March 2015

Shortcut keys in AX 2012 Shortcut keys in AX 2012 R2 AOT Shortcut keys

Shortcut keys in AX 2012\ AX 2012 R2
Breakpoints
Command
Shortcut key
Remove all breakpoints.
CTRL+SHIFT+F9
Insert or remove a breakpoint.
F9
Enable or disable a breakpoint.
CTRL+F9
Open the Breakpoints dialog.
SHIFT+F9
Compilation and Help
Command
Shortcut key
Open the Scripts menu.
Scripts icon
Open Help.
F1
Show method parameter help.
CTRL+SHIFT+SPACEBAR
Execute the current job.
F5
Compile.
F7
Compile and close a method.
F8
Stop method execution (break).
CTRL+BREAK
Insert a file.
CTRL+ALT+H
Delete
Command
Shortcut key
Delete from the cursor to the end of the line.
Use SHIFT+END to select to end of line and then DELETE
Delete word to the right of the cursor.
CTRL+DELETE
Delete the word to the left of the cursor.
CTRL+BACKSPACE
Delete the current line.
CTRL+X (with cursor in line, no selection)
Edit
Command
Shortcut key
Insert script.
<SCRIPT NAME>
Insert document header.
///
Comment selection.
CTRL+E, C
Uncomment selection.
CTRL+E, U
Convert selection to lowercase.
CTRL+SHIFT+U
Convert selection to uppercase.
CTRL+U
Display all methods and properties for a selected class.
CTRL+SPACEBAR
Copy selection.
CTRL+C (with text selected)
Copy line.
CTRL+C (with cursor in line, no selection
Find and Replace
Command
Shortcut key
Open the Find dialog.
CTRL+F
Open the Replace dialog.
CTRL+R
Start incremental search..
CTRL+I
Move to next incremental search match in method.
CTRL+I
Reverse the incremental search direction.
CTRL+Shift+I
Remove a character from the incremental search string.
BACKSPACE
Stop the incremental search.
ESC
Go To
Command
Shortcut key
Go to a specific line.
CTRL+G
Go to the next page.
PAGE UP
Go to the previous page.
PAGE DOWN
Go to the top of the code.
CTRL+HOME
Go to the bottom of the code.
CTRL+END
Go to the start of line.
HOME
Go to the end of line.
END
Move one word to the left.
CTRL+LEFT ARROW
Move one word to the right.
CTRL+RIGHT ARROW
Go to the method definition.
F12
Go to the next error message.
F4
Lookup
Command
Shortcut key
Look up a label.
CTRL+ALT+SPACEBAR
Show label text.
CTRL+L
Look up a definition.
F12
Show the syntax of a method or property.
CTRL+SPACEBAR
Save
Command
Shortcut key
Save the selected text to a separate file.
ALT+S
Close the current TAB, discarding all changes since the last save.
F6
Close and save the current code editor window.
F8
Close the current window.
CTRL+F4
Select
Command
Shortcut key
Select all.
CTRL+A
Cancel a selection.
ESC
Select columns.
ALT+MOUSE SELECT
Select a line.
ALT+L
Select one word to the left.
CTRL+SHIFT+LEFT ARROW
Select one word to the right.
CTRL+SHIFT+RIGHT ARROW
Select text from the cursor to the start of the line.
SHIFT+HOME
Select text from the cursor to the end of the line.
SHIFT+END
Select the previous page.
SHIFT+PAGE UP
Select the next page.
SHIFT+PAGE DOWN
Select text from the cursor to the top of the code.
CTRL+SHIFT+HOME
Select text from the cursor to the bottom of the code.
CTRL+SHIFT+END
Indent the selected text.
TAB
Remove indentation.
SHIFT+TAB
Select area/column/block
ALT+MOUSE SELECT
Cancel selection
ESC
Show white space
CTRL+SHIFT+S
Undo and Redo
Command
Shortcut key
Undo the last action.
CTRL+Z (previous ten actions)
Redo the last action after an Undo.
CTRL+Y (previous ten actions)
AOT
Command
Shortcut key
Open the AOT
CTRL+D
Open a new Development Workspace
CTRL+SHIFT+W
Open a new Application Workspace
CTRL+W
Save all
CTRL+SHIFT+S
Select all application objects in a node
Select one or more application objects under a top-level node, and then press CTRL+A
Open the editor for an application object
CTRL+SHIFT+F2
Open the editor for a query or table
CTRL+O
Open the Comparison tool
Select one or more application objects, and then press CTRL+G
Compile an application object
F7
Go to the previous node
UP ARROW
Go to the next node
DOWN ARROW
Move the node up
ALT+UP ARROW
Move the node down
ALT+DOWN ARROW
Expand the current node
RIGHT ARROW
Collapse the current node
LEFT ARROW
Select multiple items
CTRL
Cancel the selection of an additional item
CTRL+SPACEBAR
Open the Properties sheet
ALT+ENTER
Open the Import dialog box
Select one or more application objects, and then press CTRL+SHIFT+I
Open the Find dialog box to find an element in the AOT
CTRL+F
Open the Help documentation for an element in the AOT
F1
 Remote Desktop Services Shortcut Keys
Shortcut keyDescription
ALT+PAGE UP
Switches between programs from left to right.
ALT+PAGE DOWN
Switches between programs for right to left.
ALT+INSERT
Cycles through the programs in the order they were started.
ALT+HOME
Displays the Start menu.
CTRL+ALT+BREAK
Switches the client between full-screen mode and window mode.
CTRL+ALT+END
Brings up the Windows Security dialog box.
ALT+DELETE
Displays the Windows menu.
CTRL+ALT+MINUS SIGN (-)
Places a snapshot of the active window, within the client, on the Remote Desktop Session Host (RD Session Host) server clipboard (provides the same functionality as pressing ALT+PRINT SCREEN on the local computer).
CTRL+ALT+PLUS SIGN (+)
Places a snapshot of the entire client windows area on the RD Session Host server clipboard (provides the same functionality as pressing PRINT SCREEN on the local computer).