• Dynamics AX 2012 R2 AIF No Endpoint Behavior Named 'clientEndpointBehavior'


    Image[4]

     

        最近,Reinhard在使用Http Adapter类型的AIF入站端口时,总是报以下错误:

    Server Error in '/MicrosoftDynamicsAXAif60' Application.


    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: There is no endpoint behavior named 'clientEndpointBehavior'.

     

        Reinhard分析,问题可能出在系统自动生成的web.config文件(以下称为A文件)上。现在要找到一个能正常使用的Http Adapter类型的web.config文件(以下称为B文件),做个对比。

    Image

     

        打开B文件,Reinhard发现85行之前的内容,都是与具体项目无关的通用模板内容。问题恰恰就出在这里。经过对比,Reinhard发现A文件与B文件的通用模板内容不一样。

     

    Image

     

        具体是什么原因导致的系统自动生成的web.config文件内容变了,Reinhard还无法得知。

        不过如果你非常着急地想解决这个问题的话,不妨试试这个方法:用B文件86行之前的内容,替换A文件49行之前的内容,然后再重启下IIS站点,应该就可以咯。

        Reinhard修复完毕后,重新打开浏览器,现在服务可以正常调用了。

     

    Image

  • 相关阅读:
    linux下 yum 安装mysql和卸载
    Linux下怎么查看当前系统的版本
    linux下安装jdk+tomcat+eclipse+mysql
    JS获取浏览器名和版本信息
    Xshell与securecrt之间不同
    手把手教你使用Git
    leetcode 91 解码方法
    leetcode 88
    leetcode 70 爬楼梯
    leetcode 382 Linked List Random Node 链表随机节点
  • 原文地址:https://www.cnblogs.com/msdynax/p/5065543.html
Copyright © 2020-2023  润新知