我的crm是使用public ip和http connection
配置的内部部署ex- http://xxx.xxx.xxx.xxx:5555
我必须验证并从windows phone 8应用程序访问crm。但是无法访问它。
它总是在OrgServiceConfiguration_MetadataLoadFailure函数中显示空引用异常
但我可以通过Windows窗体应用程序访问它并能够检索组织
代码 -
IServiceConfiguration OrgServiceConfiguration OrgServiceConfiguration = ServiceConfigurationFactory.CreateConfiguration(new Uri(" http://xxx.xxx.xxx.xxx:5555/ymf/XRMServices/2011/Organization.svc"),metadataLoaded); OrgServiceConfiguration.MetadataLoadFailure + = new EventHandler(OrgServiceConfiguration_MetadataLoadFailure);
答案 0 :(得分:0)
没有SDK支持的代码可用于从Windows Phone 8(或Windows 8)应用程序连接到未作为基于声明的/ IFD运行的Dynamics CRM。
您需要创建自己的连接代码,该代码支持Windows身份验证,或者更简单且支持的移动,更新Dynamics CRM部署以使用基于声明的/ IFD。