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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.03.2012, 14:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,487 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Issues when working with ISV models
Источник: http://blogs.msdn.com/b/axsupport/ar...sv-models.aspx
==============

Models files

After importing an authenticode signed model it appears as not signed on the store: when you query the installed models at the model ModelManifest table or at Dev Workspace -> Tools -> Models management -> Models installed, the model is not marked as signed.

In order to get the model marked as signed on the AX store the argument /key must be used when the model is exported via axutil or the manifest modified.

         (A)
1. Create a key using the Strong Name Tool: sn -k keyPair.snk

2. Export the model:

axutil export /model:"Add-in Service" /file:"Add-in Service.axmodel" /key:"keyPair.snk"

(B)

1. Export the model: axutil export /model:"Add-in Service" /file:"Add-in Service.axmodel"

2. Modify the model manifest signed property: axutil edit /model:"Add-in Service" /manifest:Signed=true

If you import a model signed with sn tool the next message is displayed by axutil "The model is not signed. Are you sure you want to install this model (Y/N)?" The reason of this that the models part of ISV solutions that are CfMD must be authenticode signed, you can do this with the signtool.
signtool sign /v /f myTestCert3.pfx /p password

And verify the signature on the destination environment with the next command:
signtool verify /v /kp ISVModel.axmodel

License files

The models can be deployed providing the axmodel files only for but the license file is different. If the certificate is not installed properly on the destination server, then this is one of the validation errors that you could face:
Error        Message (11:23:40)        The certificate associated with license ISVLicenseCode1 is not a trusted certificate.

Warning        Message (11:23:40)      License value for ISVLicenseCode1 is incorrect.

Together with the license file has to be included the public certificate that was used on the MorphX LicenseCode objects and when the license file was generated, these certificates must be installed properly on the destination environment, it is important to follow the manufacturer information here.

axutil genlicense /file:license.xml /certificatepath:myPKCert.pfx /licenseCode:ISVLicenseCode1 /password:pass@word1 /customer:Contoso /serialNumber:M3048953 /expirationdate:1/1/2021

 

--author: Pedro Monfort




Источник: http://blogs.msdn.com/b/axsupport/ar...sv-models.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Теги
ax2012, axutil, model

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Resolving some issues you may experience when creating an AX 2009 Role Center and Enterprise Portal Site using SharePoint Server/Foundation 2010 after installing Microsoft Dynamics AX 2009 SP1 hotfix 2278963 Blog bot DAX Blogs 1 24.09.2010 11:34
emeadaxsupport: Working with CLR Exceptions in Dynamics AX X++ code Blog bot DAX Blogs 0 22.07.2010 19:06
mfp: AX models - Part 4 - Working with models inside MorphX Blog bot DAX Blogs 4 26.11.2009 16:55
emeadaxsupport: Kerberos authentication issues in a multi server environment affecting the KPI web part Blog bot DAX Blogs 0 26.07.2009 15:07
jodonnell: ISV's working hard at our ISV Incubation Week event in Reston. Blog bot Dynamics CRM: Blogs 0 18.12.2008 06:06

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

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

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