2013-02-21 55 views
1

今天,我在Windows Server 2008 R2上安装了Microsoft Dynamics CRM。什么是Microsoft Dynamics CRM服务器的URL?

一切都很好,但现在我找不到链接到我的主页。

有人可以告诉我来自Microsoft Dynamics CRM的默认URL吗?我刚刚安装了90天免费试用版。

当我在浏览器中键入:http://localhost/然后我得到的错误:

HTTP Error 401.2 - Unauthorized You are not authorized to view this page due to invalid authentication headers. and here are some Informations about my Server: Detailed Error Information Module IIS Web Core Notification AuthenticateRequest Handler StaticFile Error Code 0x80070005 Requested URL `http://localhost:80/` Physical Path C:\inetpub\wwwroot Logon Method Not yet determined Logon User Not yet determined

我该如何解决呢?

如果没问题,我想我可以在我的网页浏览器中输入网址,并且CRM中的典型页面出现了?

我使用Internet Explorer。我的服务器上已经拥有管理员权限。

编辑:好的,本地主机的问题改变了。当我现在输入Localhost时,我来到IIS网站。但是这对我没有多大帮助。所以,我所做的是:我从IIS服务器将Windows authentication添加到服务器角色。我在安全部分找到它。

但是来自CRM的URL的问题已经在这里。

编辑编辑:我发现,我有CRM的端口5555。所以,当我在Internet Explorer中写入时:http://localhost:5555/然后出现一个非常长而复杂的错误。

Server Error in '/' Application. 
-------------------------------------------------------------------------------- 

Caller does not have enough privilege to set CallerOriginToken to the specified value. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Microsoft.Crm.CrmException: Caller does not have enough privilege to set CallerOriginToken to the specified value. 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace: 


[CrmException: Caller does not have enough privilege to set CallerOriginToken to the specified value.] 
    Microsoft.Crm.Extensibility.ExternalMessageDispatcher.VerifyCallerOrigin(ExecutionContext context) +260 
    Microsoft.Crm.Extensibility.ExternalMessageDispatcher.Execute(String messageName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, PropertyBag fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) +724 
    Microsoft.Crm.Sdk.RequestBase.Process(Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) +149 
    Microsoft.Crm.Sdk.RequestBase.Process(CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) +183 
    Microsoft.Crm.Sdk.CrmServiceInternal.Execute(RequestBase request, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId) +465 
    Microsoft.Crm.Sdk.InProcessCrmService.Execute(Object request) +2688 
    Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.ExecuteInternal() +368 
    Microsoft.Crm.Application.Platform.DataSource.RetrieveAvailableLanguages() +40 
    Microsoft.Crm.Application.Utility.ApplicationLanguage.get_AvailableLanguages() +220 
    Microsoft.Crm.Application.Controls.AppUIPage.get_AvailableLanguages() +9 
    Microsoft.Crm.Application.Controls.AnonymousPage.OnInit(EventArgs e) +25 
    Microsoft.Crm.Application.Web.Pages.ErrorHandlerPage.OnInit(EventArgs e) +211 
    System.Web.UI.Control.InitRecursive(Control namingContainer) +143 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1477 




-------------------------------------------------------------------------------- 
Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456 

编辑︰现在它最终运作。问题是,我的帐户不在隐私用户组中。我发现这个非常有用的博客:

Link 1
Link 2
Link 3

对不起,我不能发布超过1个链接。所以我必须在Code中这样做。希望这可以帮助有同样问题的人。

回答

1

您可能想要在不同的端口上注册CRM服务器(例如我们使用5555),特别是如果它用于开发而不是暴露给客户。

并回答你的问题。地址如下。假设你已经注册了两个组织:猴子驴子

http://localhost:5555/monkey 
http://localhost:5555/donkey 

和Discovery等服务如下(默认端口猴子)。

http://localhost:80/XRMServices/2011/Discovery.svc 
http://localhost:80/CRM-Konsulterna/XRMServices/2011/Organization.svc 
http://localhost:80/CRM-Konsulterna/XRMServices/2011/OrganizationData.svc 

你需要记住两件事(你可能已经知道了)。
1。不需要明确指定端口80,也不需要协议。
2. 本地主机只有当你实际上在服务器上(否则,指定IP)时才会工作。

+0

这只是一个测试。我们使用免费试用版。后来我们可能会购买整个CRM。但现在它终于起作用了。我发布了链接,它帮助我进入我的帖子底部:) – 2013-02-21 13:55:22

+0

我修复了你的链接。现在看起来好多了。 – 2013-02-21 14:00:39

+0

非常感谢:) – 2013-02-21 14:36:15

2

该网址很不错,请检查您是否有其他应用程序在端口80.尝试在iis中设置Windows身份验证,请参阅this。验证AD的访问权限。

+0

如何检查80端口是否有其他应用程序? – 2013-02-21 09:40:34

+0

选中此链接(http://blogs.msdn.com/b/jonasd/archive/2008/01/11/caller-does-not-have-enough-privilege-to-set-callerorigintoken-to-the -specified-value.aspx) – 2013-02-21 10:05:59

相关问题