Posts

Showing posts from September, 2015

Auto deployment of DLL in client machine - Ax 2012

Hi, I found some interesting link to deploy the dll into client machine when you open ax. please read it. http://coffeestain-it.blogspot.ca/2015/05/dynamics-ax-sysfiledeployment-framework.html other link: http://daxmusings.codecrib.com/2013/07/auto-deploying-dlls-and-other-resources_31.html Note: 1) DLL deployment is required when you create business logic in Dot.net class library project and reference back in Ax. (via reference node) (ex: AxFTP) 2) When you consume the business logic via web service you no need to deploy the dll in client  (It means, you created a class library project in dot.net and added the service reference to consume the external webservice. when you deploy the dot.net project automatically dll file is copied to ax server VSassembly folder. It is enough. Now u can able to create object in ax class) (ex:AxOasisFinIntegration)

SSRS – No connection could be made because the target machince actively refuesd it..

Hi, Please refer the below link to fix this issue, https://guyterry.wordpress.com/2013/10/02/ssrs-no-connection-could-be-made/ I have faced this issue, because multiple report services instance(one for dev, one for test..etc) has running on one report server. The report services are not pointing to the correct Ax instance. So I referred this link and changed my .axc (copied the ax config file to this location) to point the right Ax instance. My issue resolved and can able to render the report in ax. Thanks, Vijaykarthik

Convert Word to PDF in ax 2012

Hi, please use the below job to covert your word file into pdf file. static void convertWordToPDF(Args _args) {     COM             wordApplication;     COM             wordDocuments;     COM             wordDocument;     //COM             wordRange;         Filename        docFileName = @"C:\AX Documents\Document Handling\GCO-000025.doc";     Filename        pdfFileName;         Filename        filepath;     Filename        fileName;     Filename        fileExt;     ;         wordApplication = new COM("word.application");     wordDocuments = wordApplication.Documents();     wordDocument = wordDocuments.Open(docFileName);     [filepath, filename, fileExt] = fileNameSplit(docFileName);         pdfFileName =  filePath + filename + '.pdf';             wordDocument.ExportAsFixedFormat(pdfFileName, 17);         wordDocument.close();     wordApplication.quit();     //WinAPI::deleteFile(pdfFileName);     info('done'); } Tha