BizTalk CRM 4.0适配器的调试/ LogPath - 有没有人有这个工作? [英] Debug/LogPath for BizTalk CRM 4.0 Adapter-Has anyone got this to work?

查看:56
本文介绍了BizTalk CRM 4.0适配器的调试/ LogPath - 有没有人有这个工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Biztalk Adapter for Microsoft Dynamics CRM 4.0文档,只需创建几个注册表项,然后将记录不正确的xml值。 这对我来说似乎是一个非常有用的功能。 我在以下组合中添加了
键,其中'LogPath'是字符串值,'c:\ temp\logs'是值。


HKEY_CLASSES_ROOT \\ \\ CLSID \ {D38D5DCC-2B30-43b9-9C69-3BBFD0926986} \ LogPath \" c:\ temp\logs"


HKEY_CLASSES_ROOT\CLSID \ {D38D5DCC -2B30-43b9-9C69-3BBFD0926986} \Debug \" true"


HKEY_CLASSES_ROOT\CLSID \ {D38D5DCC-2B30-43b9-9C69-3BBFD0926986} \ BizTalk \\ \\ logPath \" c:\ temp\logs"


HKEY_CLASSES_ROOT\CLSID \ {D38D5DCC-2B30-43b9-9C69-3BBFD0926986} \ BizTalk \Debug \\ \\"真实"


我是否需要添加密钥,然后重启? 感谢知道这个秘密的人。


创建安全的日志路径目录  


您可以使用调试功能检查业务流程中使用的映射是否为Microsoft Dynamics CRM SDK生成正确的XML。


使用注册表设置切换此功能。当注册表中的Debug = true时,适配器将根据实体的所有属性及其允许值检查XML中的值(这是由业务流程中的转换/映射
产生的)。


 


警告:错误地修改注册表可能会导致严重的问题,可能需要重新安装操作系统。 Microsoft无法保证
可以解决因错误使用注册表而导致的问题。使用注册表需要您自担风险。


在同一个注册表路径中"调试"”存在。


重要提示:注册表路径为"HKEY_CLASSES_ROOT \CLSID \ {D38D5DCC-2B30-43b9-9C69-3BBFD0926986}”"。必须使用适当的权限和凭据保护此目录
,以便只有具有相应凭据和权限的用户才能在此目录中创建和访问日志文件。


 

解决方案

之后添加注册表项,我会尝试重新启动BizTalk应用程序和主机实例,然后重试。我知道Commerce Server适配器依赖于更改的注册表设置,它只是重新启动主机,以便获取注册表设置
。您可能还需要重新启动任何正在运行的CRM服务。


如果这种方法不起作用,那么我会重新启动系统。


谢谢,


According to the Biztalk Adapter for Microsoft Dynamics CRM 4.0 documentation it is only necessary to create a couple registry keys and then incorrect xml values will be logged.  This seems like a very useful feature to me right now.  I have added keys in the following combinations, where 'LogPath' is a string value, and 'c:\temp\logs' is the value.

HKEY_CLASSES_ROOT\CLSID\{D38D5DCC-2B30-43b9-9C69-3BBFD0926986}\LogPath\"c:\temp\logs"

HKEY_CLASSES_ROOT\CLSID\{D38D5DCC-2B30-43b9-9C69-3BBFD0926986}\Debug\"true"

HKEY_CLASSES_ROOT\CLSID\{D38D5DCC-2B30-43b9-9C69-3BBFD0926986}\BizTalk\LogPath\"c:\temp\logs"

HKEY_CLASSES_ROOT\CLSID\{D38D5DCC-2B30-43b9-9C69-3BBFD0926986}\BizTalk\Debug\"true"

Do I need to add the keys, then reboot?  Thank you to anyone who knows the secret.

Create a secured log path directory 

You can use a debug feature to check whether the map used in the orchestration is generating the correct XML for Microsoft Dynamics CRM SDK.

This feature is toggled using a registry setting. When Debug = true in the registry, the adapter checks the values in the XML (which results from a transformation/map in orchestration) against all attributes of an entity and their permissible values.

 

Warning: Modifying the registry incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of the registry can be solved. Use the registry at your own risk.

If there are incorrect values in the XML, an error is logged in a log file that is created in a directory specified by the registry key “LogPath” in the same registry path where “Debug” is present.

Important: The registry path is “HKEY_CLASSES_ROOT\CLSID\{D38D5DCC-2B30-43b9-9C69-3BBFD0926986}”. This directory must be protected with the appropriate permissions and credentials so that only a user who has the appropriate credentials and permissions can create and access log files in this directory.

 

解决方案

After adding the registry keys, I would try just restarting the BizTalk application and host instances and then retrying. I know the Commerce Server adapters rely on registry settings being changed and it just took a host restart for the registry settings to be picked up. You may also need to restart any running CRM services.

If this approach does not work then I would go for the system restart.

Thanks,


这篇关于BizTalk CRM 4.0适配器的调试/ LogPath - 有没有人有这个工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆