AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.11.2016, 05:13   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Automate Error 351
Источник: http://alexvoy.blogspot.com/2016/11/...error-351.html
==============

From time to time we get the lovely CIL compilation Error:351. As suggested by many, for example, by André Arnaud de Calavon, we have to recreate XppIL folder with all its guts.


The sequence is the following (quotation)

1. Stop the AOS.
2. Rename the XppIL folder (C:\Program Files\Microsoft Dynamics AX\60\Server\MicrosoftDynamicsAX\bin\XppIL) to e.g. XppIL_old.
3. Start the AOS.
4. Perform a full CIL generation.
A new XppIL folder will be created when you start the AOS.
When the CIL has completed without problems, you can delete the renamed XppIL_old folder.


Clean and simple. However, I am too impatient to wait for the end of deleting this huge folder: Windows Explorer starts time estimation and it drags on.


So, I wrote two short batch files that can be run as administrator and spare your time and nerves.


First just to rename the existing folder.



@echo off
set folder="C:\Program Files\Microsoft Dynamics AX\60\Server\CHR_AX_DEV\bin\"
echo Rename %folder% XppIL to XppIL_old?
pause
c:
cd %folder%
ren XppIL XppIL_old
echo %folder%XppIL to has been renamed to XppIL_old
pause

Second to delete all the files in the 'backed up' folder and its subfolders with no questions and infolog, then to delete the folder itself. As it said here, they must work faster than just removing the folder.

@echo off
set folder="C:\Program Files\Microsoft Dynamics AX\60\Server\CHR_AX_DEV\bin\XppIL_old\"
echo Delete all the files from %folder% and remove the folder?
pause
del /f/s/q %folder% > nul
rmdir /s/q %folder%
echo Folder %folder% removed
pause
The last remarque. Be sure that your service windows account running the AOS in question had Full permission to the C:\Program Files\Microsoft Dynamics AX folder and all its subfolders.

command line


Источник: http://alexvoy.blogspot.com/2016/11/...error-351.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
organicax: WMS Wave template – Automate wave release Blog bot DAX Blogs 0 13.03.2016 20:12
patrickmouwen: Dynamics AX Retail: how to automate processes and interfaces in a combined way Blog bot DAX Blogs 0 23.12.2015 23:11
bojensen: Automate Production Order Update Process Via X++ code in AX 2009 | stardynamicsax Blog bot DAX Blogs 0 24.11.2014 18:11
msdyncomm: How Do I: Automate Provisioning of Microsoft Dynamics NAV 2013 across two Azure Virtual Machines Blog bot NAV: Blogs 0 02.05.2014 22:12
Kurt Hatlevik: Automate your AX 2012 Sales Order Processing Blog bot DAX Blogs 0 11.12.2011 15:15

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 07:44.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.