Sign In
Dynamics AX Czech Support Team
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
.NET Framework
Administration
AIF
AX2009
Business Connector
C#
Data Import
Demand Planner
How To
Script
SQL
Team Foundation Server
Upgrade
X++
Archive
Archives
December 2010
(2)
May 2010
(1)
November 2009
(1)
October 2009
(3)
September 2009
(5)
May 2009
(2)
April 2009
(3)
March 2009
(3)
February 2009
(2)
January 2009
(3)
December 2008
(2)
October 2008
(1)
August 2008
(6)
July 2008
(4)
MSDN Blogs
>
Dynamics AX Czech Support Team
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dynamics AX Czech Support Team
How to change EDT and propagate this to AIF XML Schema (XSD).
Posted
over 2 years ago
by
Martin Falta
0
Comments
Sometimes you have to change parameter of Extended data type which are also used by AIF. For example number of decimal digits etc. When you change this settings just in Dynamics AX AOT and save it, still you will have old values in generated XSD, that...
Dynamics AX Czech Support Team
How to delete orphaned data remained from deleted company?
Posted
over 2 years ago
by
Martin Falta
0
Comments
In AX 2009 it may happen that you delete a company but data related to this company remain in the database. You can use this script to delete this data: /* * Code Sample Disclaimer: * Microsoft provides programming examples for illustration only,...
Dynamics AX Czech Support Team
AX application files, locked by another process.
Posted
over 2 years ago
by
Martin Falta
0
Comments
We have seen issues where the AX application files gets locked by others then the AOS process. This will cause the production to stop, until the lock is removed. A typical application which causes the error is the Antivirus Software. Excluding the...
Dynamics AX Czech Support Team
Database log error on AX 2009 with SQL Server 2008
Posted
over 3 years ago
by
Martin Falta
1
Comments
On a database that is upgraded from AX 4.0 to AX 2009 running on SQL 2008 you may get following error while using database log: The target table 'SYSDATABASELOG' of the DML statement cannot have any enabled triggers if the statement contains an OUTPUT...
Dynamics AX Czech Support Team
How to move Demand Planner database to another server
Posted
over 3 years ago
by
Martin Falta
0
Comments
Sometimes you need to move your existing Demand Planner database to another server. If you do this just using backup/restore, you will run into the issue while synchronizing the Demand Planner. The error you get is: Could not find ‘server name’ in sys...
Dynamics AX Czech Support Team
Conflict error when list of fields is used in select during update transaction
Posted
over 3 years ago
by
Martin Falta
3
Comments
If you use this code, you will get an error on the line 29. The error message is following: Cannot edit a record in Table1 (Table1). An update conflict occurred due to another user process deleting the record or changing one or more fields in the record...
Dynamics AX Czech Support Team
Error while calling Win API function on x64
Posted
over 3 years ago
by
Martin Falta
0
Comments
When you are calling Win API function (or function from a native DLL) on x64 you get this error: An exception occurred when calling Function in Library name DLL library This happens only if the code calling the DLL function is running on server. The reason...
Dynamics AX Czech Support Team
Rename object in TFS
Posted
over 3 years ago
by
Martin Falta
0
Comments
You can get this error message while renaming object that is checked out from TFS. Unable to import Trying to import Table MFATable_test1 with ID 50003 ID already held by Table MFATable1 To rename the object you need to follow these steps: Right click...
Dynamics AX Czech Support Team
AX 2009 .NET Business Connector fails while creating instance of XmlDocument
Posted
over 3 years ago
by
Martin Falta
0
Comments
RTM version (5.0.593.0) of .NET Business Connect fails with following exception while creating instance of XmlDocument class in X++ code. System.Runtime.InteropServices.SEHException: External component has thrown an exception. at AxCore_CallStatic(Char...
Dynamics AX Czech Support Team
HOWTO: Print Word document from X++
Posted
over 3 years ago
by
Martin Falta
0
Comments
You might need to print Word document directly from X++. Here’s a short sample how to do this: { str document = "C:\\test.doc"; COM wordApplication; COM wordDocuments; COM wordDoc; ; // Create instance of Word application wordApplication...
Dynamics AX Czech Support Team
Error ‘Invalid object name #ax_tmp_’
Posted
over 3 years ago
by
Martin Falta
0
Comments
You may see similar error while posting ledger journal: Posting - Journal Journal: 000004_061 Voucher: 8004_062 Cannot select a record in (). The SQL database has issued an error. The journal is not posted and the update is canceled. SQL error description...
Dynamics AX Czech Support Team
Importing addresses with RecID compression enabled
Posted
over 3 years ago
by
Martin Falta
0
Comments
Sometimes you need to import addresses into AX 2009 and enable RecID compression. This import might result in an error: Update of RecID-key xxxxxxxx failed for the register DirPartyAddressRelationshipMapping . To solve this you need to follow these...
Dynamics AX Czech Support Team
HOWTO: Dynamicaly load picture from base64 string into image on form in X++
Posted
over 3 years ago
by
Martin Falta
1
Comments
You may want to load an image from base64 coded string. Then there is a code sample how to achieve it. First is needed to put an "Window" controll on the form with name ex. "imageWindow" and then modify "run()" method of Form. String then could be loaded...
Dynamics AX Czech Support Team
Sending reports per e-mail from batch
Posted
over 3 years ago
by
Martin Falta
1
Comments
I was facing an issue that no mails were arrived while sending invoices in PDF from a batch. Sending e-mails from a client worked fine. The reason is in enabled SMTP relaying on customer's mail server and in \Classes\RunbaseReportStd\serverSendMail method...
Dynamics AX Czech Support Team
How to execute an external process from a batch
Posted
over 3 years ago
by
Martin Falta
3
Comments
You might need to execute an external process in a batch and you’re thinking about using WinApi::shellExecute() method. Unfortunately the whole WinApi class is set to run on client. Also the method WinApi::shellExecute() is marked as client method. That...
Dynamics AX Czech Support Team
HOWTO: Open AX form from custom help file.
Posted
over 3 years ago
by
Martin Falta
1
Comments
There is one interesing feature available in help file. You could link AX Form directly from help file. There is an example in standard AX 2009 installation. Open form Accounts receivable / Setup / Customer groups . Press F1 Open file will be opened as...
Dynamics AX Czech Support Team
Blocked queries on any change in AOT
Posted
over 3 years ago
by
Martin Falta
1
Comments
You may face a blocking issue on SQL Server each time you do any change in AOT. And you’re using database log. This is the problem. While using database log an insert trigger on SysDatabaseLog table is always dropped and recreated what is causing blocking...
Dynamics AX Czech Support Team
HOWTO: Using WinAPI FindFirstFile, FindNextNext in Batch Jobs.
Posted
over 3 years ago
by
Martin Falta
1
Comments
In batch job is not posible to call WinAPI functions WINAPI::FindFirstFile(..) and WINAPI::FindNextFile(...) . This is limited only for code running on client. Sometimes is necesary have similar function for code running on server (or in batches). There...
Dynamics AX Czech Support Team
Running direct SQL code using Connection class
Posted
over 3 years ago
by
Martin Falta
0
Comments
Sometimes you need to use direct SQL code in your methods. The easiest way is to use Connection class. However you might run into the error “ Request for the permission of type 'SqlStatementExecutePermission' failed. ” This is because you’re using the...
Dynamics AX Czech Support Team
Calling external web services from AX
Posted
over 3 years ago
by
Martin Falta
1
Comments
While calling external web service from AX you might experience following error: Object 'CLRObject' could not be created This is because web services must be called from code running on server. That why you need to set the class’s RunOn property to Server...
Dynamics AX Czech Support Team
HOWTO: Calling and using Com Connectror from VBS script.
Posted
over 3 years ago
by
Martin Falta
0
Comments
For simple and fast testing of COM Connector you could use following VBS Script. Just copy code and paste it into file named <NAME>.vbs Dim oCom Dim sVers Dim sBuild Dim result Set oCom = CreateObject("AxaptaComConnector.Axapta3") oCom.Logon...
Dynamics AX Czech Support Team
Error during data migration while upgrading to AX 2009
Posted
over 3 years ago
by
Martin Falta
1
Comments
When you're upgrading your existing AX 3.0 SP6 environment to AX 2009 you may run into following error: Object Server 01: The database reported (session 5 (Admin)): [Microsoft][SQL Native Client][SQL Server]The specified schema name "DOMAIN\COMPUTERNAME...
Dynamics AX Czech Support Team
Upgrade Statement: AX 3.0 to AX 2009
Posted
over 3 years ago
by
Martin Falta
0
Comments
There are very often discussions about the Ax upgrade regarding supported upgrade paths. The easiest upgrade will be always from Ax 3.0 SP6, but it is technically possible to go from AX 3.0 (any SP) to AX 2009, however: If the LOS layer (cost accounting...
Dynamics AX Czech Support Team
How to create a crash dump for Axapta processes ?
Posted
over 3 years ago
by
Martin Falta
4
Comments
Symptoms: All clients lose connection to the AOS Server. If the Axapta AOS or client process crashes for any reason, it is recommended to create a crash dump, of the failing process. Here are the steps to do so: Download the Microsoft debugging tools...
Dynamics AX Czech Support Team
HOWTO: Change collation of AX database?
Posted
over 3 years ago
by
Martin Falta
1
Comments
AX databases are by default created with the same collation as your SQL Server has. But time to time you might need the database to have different collation. Maybe you think you can just execute ALTER DATABASE statement to change database's collation...
Page 1 of 2 (38 items)
1
2