zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    mysql 大数据量求平均值
    mysql 大数据量求平均值
    dhcpd.conf(5)
    dhcpd.conf(5)
    学习记录(文章内容来自相关材料)
    分享一个ASP.NET 文件压缩解压类 C#
    服务降级
    distinct用法
    trim合理和谐
    小娱乐一下,fileInfo中的Name ,FullName的用法小BUG
  • 原文地址:https://www.cnblogs.com/msdynax/p/5065543.html
Copyright © 2011-2022 走看看