locked
Error "Could not find GUID for server" after installing Update Rollup 4, 5 or 6 RRS feed

  • Question

  • Hello,

    after Update Rollup 4, 5 or 6 no users and admins can access CRM anymore.
    The browser shows a generic error message.

    The event log (and CRM trave files) I find an error message:

    Could not find GUID for server: MYCRMSERVER$, ErrorCode: -2147214038

    The problem occurs since Update Rollup 4.
    Fortunately, rolling back an Update works fine.

    There are some forum posts that say that there could be a problem with duplicate AD entries for the computer running CRM or any users having the same username like the server.

    https://community.dynamics.com/forums/t/17650.aspx (Post #3)

    The AD admins say, there can't be any duplicates because the AD has no sub-domains.

    I am not sure if I am on the wrong track to solve this problem...

    Any ideas?

    [2009-08-28 15:53:26.2] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:    9 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmException..ctor
    	at CrmException..ctor(String message, Int32 errorCode)
    	at CrmSecurityException..ctor(String message, Int32 errorCode)
    	at SecurityUtils.GetGuidFromServerName(String serverName)
    	at SecurityUtils.GetLocalSystemGuid()
    	at OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
    	at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
    	at BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
    	at BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
    	at SecurityLibrary.IsOrganizationSpecialUser(Guid organizationId, Guid userId, ExecutionContext context)
    	at UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context)
    	at ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)
    	at BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context)
    	at BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
    	at SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo)
    	at SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId)
    	at CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)
    	at WindowAuthenticationProviderBase.Authenticate(HttpApplication application)
    	at AuthenticationStep.Authenticate(HttpApplication application)
    	at AuthenticationPipeline.Authenticate(HttpApplication application)
    	at AuthenticationEngine.Execute(Object sender, EventArgs e)
    	at SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    	at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    	at ApplicationStepManager.ResumeSteps(Exception error)
    	at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    	at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    	at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
    	at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    >Crm Exception: Message: Could not find GUID for server: MYCRMSERVER$, ErrorCode: -2147214038



    Friday, August 28, 2009 2:49 PM

Answers

  • Maybe this is worth a support case with Microsoft.
    Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com
    Sunday, August 30, 2009 5:10 AM
    Moderator
  • 2147214038 means ObjectNotFoundInAD  you can get the error codes here -> http://msdn.microsoft.com/en-us/library/cc151248.aspx

    I would check to see if your server's account (or which ever account) has the right access to read the OU that has your users and crm groups.


    I would also verify the UserRootPath which came with UR4, I'm not sure if you would have this problem if this were set "bad".

    You can read up on it here http://blogs.msdn.com/crm/archive/2009/07/17/customizing-ou-user-access-in-a-hosted-environment.aspx

    There is a command to remove the UserRootPath setting, this is most likely saved in the mscrm_config organization table.
    SJ
    Monday, August 31, 2009 12:56 AM
  • We finally solved the problem:

    Port 3628 for 'Global Catalog LDAP' was blocked by the firewall.

    Tuesday, October 26, 2010 12:46 PM

All replies

  • Maybe this is worth a support case with Microsoft.
    Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com
    Sunday, August 30, 2009 5:10 AM
    Moderator
  • 2147214038 means ObjectNotFoundInAD  you can get the error codes here -> http://msdn.microsoft.com/en-us/library/cc151248.aspx

    I would check to see if your server's account (or which ever account) has the right access to read the OU that has your users and crm groups.


    I would also verify the UserRootPath which came with UR4, I'm not sure if you would have this problem if this were set "bad".

    You can read up on it here http://blogs.msdn.com/crm/archive/2009/07/17/customizing-ou-user-access-in-a-hosted-environment.aspx

    There is a command to remove the UserRootPath setting, this is most likely saved in the mscrm_config organization table.
    SJ
    Monday, August 31, 2009 12:56 AM
  • Hello Roman

    Did you ever contact MS / Get a solution to this problem.

    We are also experiencing it intermitendtly after applying RU 5.

    Thanks for any help you can give.

    Zak.

    Tuesday, October 13, 2009 10:36 AM
  • Hi SJ,

    I read the article you have mentioned and ran the command to remove the UserRootPath setting. Then did a reboot of CRM server machine. But still getting the same error on login: "Could not find GUID for server <MyCRMServerName>$"

    My setup configuration is as follows: -

    Windows Small Business Server 2008 (x64) with SP2 (in Virtual environment), also hosts a sub-domain
    MS SQL Server 2008 Standard
    CRM 4.0 works fine till RU3, but starts giving the above said error after installing RU4 or above.
    If I un-install the higher RU, CRM starts working again.

    The CRM setup user is the domain admin on the SBS server.


    Please advise if I am missing on something.

    Thanks
    Sunday, February 28, 2010 2:51 PM
  • Hi ajayubbot,

    we are also still on RU3. I haven't tried any version higher than 4,5,6.


    What version did you try to install?

    I will probably open a support ticket at Microsoft. Do you have any additional information that might be helpfull für the support team to solve this issue?


    Roman
    Monday, March 1, 2010 7:29 AM
  • Verify if the user running your crm app pool has access to read the crm server object in AD.

    also

    Just for testing , try running the crm application pool as a domain admin.


    SJ
    Monday, March 1, 2010 3:54 PM
  • We finally solved the problem:

    Port 3628 for 'Global Catalog LDAP' was blocked by the firewall.

    Tuesday, October 26, 2010 12:46 PM
  • This is the wrong port, it should be 3268. (Typo)

    Best regards

    Hans Leysen

    • Proposed as answer by H. Leysen Friday, May 11, 2012 4:50 PM
    Friday, May 11, 2012 4:49 PM
  • opening port 3268 TCP worked for me. Thanks!
    Thursday, June 14, 2012 1:11 AM
  • This is an old thread, but I thought this might help someone.

    I have run into this issue a few times, and each time the solution was to disable NetBIOS of TCP/IP in the network properties of the local NIC.

    Friday, February 15, 2013 3:16 PM