1

今天我在我的 Windows Server 2008 r2 上安装了 Microsoft Dynamics CRM。

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

谁能告诉我 Microsoft Dynamics CRM 的默认 URL?我刚刚安装了它的 90 天免费试用版。

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

HTTP 错误 401.2 - 未经授权 由于身份验证标头无效,您无权查看此页面。以下是关于我的服务器的一些信息: 详细的错误信息模块 IIS Web 核心通知 AuthenticateRequest 处理程序 StaticFile 错误代码 0x80070005 请求的 URL `http://localhost:80/` 物理路径 C:\inetpub\wwwroot 登录方法尚未确定登录用户尚未确定

我该如何解决?

如果可以的话,我想,我可以在我的网络浏览器中输入 URL,然后来自 CRM 的典型页面会出现吗?

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

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

但是来自 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 

编辑:现在它终于可以工作了。问题是,我的帐户不在隐私用户组中。我在这个非常有用的博客上找到了它:

链接 1
链接 2
链接 3

抱歉,我不能发布超过 1 个链接。所以我不得不在代码中做到这一点。希望这可以帮助有同样问题的人。

4

2 回答 2

2

网址很好,检查端口 80 中是否有其他应用程序。尝试在 iis 中设置 Windows 身份验证,请参阅。还要验证对 AD 的访问。

于 2013-02-21T09:35:49.093 回答
1

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

并回答你的问题。地址如下。假设您注册了两个组织:monkeydonkey

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

并且发现等服务如下(对于默认端口上的猴子)。

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. localhost仅在您实际上在服务器上时才有效(否则,请指定 IP)。

于 2013-02-21T13:49:44.237 回答