CRM 2011 IFD中的Access Dynamics CRM 4 SPLA(IFD)DiscoveryService [英] Access Dynamics CRM 4 SPLA (IFD) DiscoveryService from CRM 2011 IFD

查看:74
本文介绍了CRM 2011 IFD中的Access Dynamics CRM 4 SPLA(IFD)DiscoveryService的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚从Microsoft Dynamics CRM 4升级到Microsoft Dynamics CRM2011。大多数升级进展顺利,但是我有一些自定义代码(为CRM 4编写),该代码使用URL https://上的CrmDiscoveryService /MSCRMServices/2007/SPLA/CrmDiscoverService.asmx可以在我们的Dynamics CRM 4服务器上正常运行,但不能在没有Dynamics CRM 2011服务器的情况下运行。

We have just upgraded from Microsoft Dynamics CRM 4 to Microsoft Dynamics CRM 2011. Most of the upgrade has gone smoothly, however I have some custom code (written for CRM 4) which uses the CrmDiscoveryService at the URL "https:///MSCRMServices/2007/SPLA/CrmDiscoverService.asmx" which worked fine on our Dynamics CRM 4 server but not with out Dynamics CRM 2011 server.

我们的Dynamics CRM 2011服务器是设置为Infram,作为IFD部署。在实际的Dynamics CRM 2011服务器框上,我可以导航到 https://:444 / MSCRMServices / 2007 / SPLA / CrmDiscoveryService.asmx,并且将我定向到正确的Web服务,但是,如果我尝试从任何其他网站访问它,在计算机上,我得到一个无限循环的重定向。

Our Dynamics CRM 2011 server is set up On Premise, as an IFD deployment. On the actual Dynamics CRM 2011 server box I can navigate to "https://:444/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx" and I am directed to the correct web service, however if I try to access this from any other computer I get a infinitely looped redirect.

使用Fidler,当我被重定向到CrmDiscoveryService URL和响应时,我可以读取正在发送的内容:

Using Fidler I can read what is being sent when I try to navigate to the CrmDiscoveryService URL and the response, before I am redirected is:

HTTP/1.1 302 Found
Cache-Control: private
Content-Length: 237
Content-Type: text/html; charset=utf-8
Location: https://<server>:444/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Tue, 06 Dec 2011 23:31:26 GMT

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="https&#58;&#47;&#47;<server>&#58;444&#47;MSCRMServices&#47;2007&#47;SPLA&#47;CrmDiscoveryService.asmx">here</a>.</h2>
</body></html>

我相信Dynamics CRM试图将我重定向到我去过的实际页面,因此

I believe that Dynamics CRM is trying to redirect me to the actual page I have gone to, and thus it is looping into infinity.

我最初在发现服务中遇到此问题: http://social.microsoft.com/Forums/zh-CN/crmdeployment/thread/d92924d8-5982 -4a11-ac66-602feb4542c8 /?prof = required ,但是我能够通过允许对Discover服务所在的文件夹进行匿名身份验证来纠正此问题。

I originally had this issue with the Discovery Service: http://social.microsoft.com/Forums/en-US/crmdeployment/thread/d92924d8-5982-4a11-ac66-602feb4542c8/?prof=required however I was able to correct this by allowing anonymous authentication to the folder the Discover Service was located in.

经过大量搜索之后,我还没有找到我现在遇到的发现服务无限重定向问题。

After some extensive searches I am yet to find anything on the Discovery Service infinite redirect issue I am now having.

任何帮助将不胜感激。

Any help would be greatly appreciated.

推荐答案

所以我解决了这个问题,有点...

So I've solved the problem, kind of...

我将其张贴在这里,以便其他任何遇到相同问题的人都可以弄清楚(没有比看到一个空的线程解决问题的人更糟糕的事情了。)

I'll post it here so as anybody else experiencing the same thing will be able to figure it out out (there's nothing worse than seeing an empty thread for a problem that one is having).

事实证明,虽然我无法通过Internet Explorer访问此URL,但在自定义代码中通过IFD进行身份验证时,此方法可以正常工作。

It turns out that while I cannot access this URL via Internet Explorer, when used authenticating via IFD in custom code this works correctly.

I仍然很想知道为什么它可以在我的自定义代码中起作用而不能在Internet Explorer中起作用。

I'd still be interested though in finding out why it works in my custom code but not Internet Explorer.

这篇关于CRM 2011 IFD中的Access Dynamics CRM 4 SPLA(IFD)DiscoveryService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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