web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Help? CRM Down at non Profit

(0) ShareShare
ReportReport
Posted on by

Hey guys,

Having a slight issue, helping out a non profit, trying to connect to their Microsoft Dynamics CRM, They had a server guy come out and update a ton of stuff, now they cannot connect to the CRM website...

Not sure what to do with this. lol.  Desktop support guy coming into this. 

The help is greatly appreciated. 
 

Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

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: System.Data.SqlClient.SqlException: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

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: 


[SqlException (0x80131904): Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +706
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +89
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +6425630
   System.Data.SqlClient.SqlConnection.Open() +300
   Microsoft.Crm.CrmDbConnection.GetCreateAndOpenConnection() +322
   Microsoft.Crm.CrmDbConnection.Open() +636
   Microsoft.Crm.SharedDatabase.DatabaseMetadata.LoadMetadataXmlFromDatabase(CrmDBConnectionType connectionType, String connectionString, Int32& maxBlobSize) +372
   Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.LoadCache(String connectionString) +39
   Microsoft.Crm.ConfigurationDatabase.ConfigurationMetadata.get_Cache() +127
   Microsoft.Crm.ServerLocatorService.RetrieveById(String tableName, Object primaryKey, String[] columns) +60
   Microsoft.Crm.ServerLocatorService.GetFederationProvider(Guid id, String[] columns) +236
   Microsoft.Crm.ServerLocatorService.GetFederationProvider(Guid id) +34
   Microsoft.Crm.LocatorService.GetFederationProvider(Guid id) +46
   Microsoft.Crm.CrmAuthenticationContext.get_DefaultFederationProvider() +91
   Microsoft.Crm.CrmAuthenticationContext.GetFederationProviderInternal(Guid orgId) +469
   Microsoft.Crm.CrmAuthenticationContext.IsClaimsEnabled(Guid organizationId) +53
   Microsoft.Crm.MapOrgEngine.Init(HttpApplication context) +76
   System.Web.HttpApplication.InitModulesCommon() +122
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1655
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +374
   System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +178
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +329


This may be related as well...

Response is not available in this context.

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: System.Web.HttpException: Response is not available in this context.

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: 


[HttpException (0x80004005): Response is not available in this context.]
   System.Web.HttpContext.get_Response() +12379850
   eNewsletterPro.Setup.UpdatePreferencesCacheVariables() +18683
   eNewsletterPro.Global.UpdateCacheVariablesInMemory() +243
   eNewsletterPro.Global.Application_Start(Object sender, EventArgs e) +68

[HttpException (0x80004005): Response is not available in this context.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12601645
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

[HttpException (0x80004005): Response is not available in this context.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12618692
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12458309


Visual Studio Pro 2010 License Expired recently as well, if that may be the cause. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at
    RE: Help? CRM Down at non Profit

    The likely culprit is from this post:

    support.microsoft.com/.../946620

    CAUSE

    This problem occurs because the Microsoft Dynamics CRM server is missing from the Active Directory directory service PrivUserGroup group.

    RESOLUTION

    {at the link}

    If this fixes your issue, I'd really appreciate if you would mark this as the verified answer.

    Thanks,

     Aiden

  • Suggested answer
    Aiden Kaskela Profile Picture
    19,696 on at
    RE: Help? CRM Down at non Profit

    Since you're getting the error, "CrmSecurityException: Could not find entry for server: NCPA-DLSCRM$" during a call to GetActiveDirectoryEntry, the most likely issue is with the users who are running the CRM services, or the App Pools.

    You might want to check out this post - the writer was trying to use custom service accounts and was getting that same error:

    www.axonom.com/blog

    You way want to reset the service accounts to their recommended users, or dig into permissions to see what the problem is.

  • Community Member Profile Picture
    on at
    RE: Help? CRM Down at non Profit

    Error Description:

    The user Id is invalid.

    Error Details:

    The user Id is invalid.

    Full Stack:

    [CrmException: The user Id is invalid.]

      at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context)

      at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)

      at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)

      at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)

      at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)

      at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)

      at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)

      at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Other Message:

    Error Number:

    0x80041D1F

    Source File:

    Not available

    Line Number:

    Not available

    Error Trace:

    Date: 09-15-2015

    Time: 17:46:02

  • Community Member Profile Picture
    on at
    RE: Help? CRM Down at non Profit

    What do you mean?

  • Aiden Kaskela Profile Picture
    19,696 on at
    RE: Help? CRM Down at non Profit

    It looks like an issue with your AD server based on that last error message.

  • Aiden Kaskela Profile Picture
    19,696 on at
    RE: Help? CRM Down at non Profit

    The CRM database isn't in MySQL - it requires Microsoft SQL Server

    technet.microsoft.com/.../hh699671(v=crm.5).aspx

  • Community Member Profile Picture
    on at
    RE: Help? CRM Down at non Profit

    MS CRM Booted and showed up... this is the new error.

    Error Description:

    Failed to get priv user group information. k = a1b52e1d-e3bb-dd11-a6a2-002215eeb553 privUserGroupId: 45b66f67-6861-4618-9e19-bd926677098e, localSystemAdGuid: 00000000-0000-0000-0000-000000000000, Exception: Microsoft.Crm.CrmSecurityException: Could not find entry for server: NCPA-DLSCRM$ With SearchFilter:samAccountName

    at Microsoft.Crm.SecurityUtils.GetActiveDirectoryEntry(String searchItem, String searchFilter, String searchItemLogInfo, Boolean throwIfNotFound, String domainName)

    at Microsoft.Crm.SecurityUtils.GetLocalSystemGuid()

    at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).

    Error Details:

    Failed to get priv user group information. k = a1b52e1d-e3bb-dd11-a6a2-002215eeb553 privUserGroupId: 45b66f67-6861-4618-9e19-bd926677098e, localSystemAdGuid: 00000000-0000-0000-0000-000000000000, Exception: Microsoft.Crm.CrmSecurityException: Could not find entry for server: NCPA-DLSCRM$ With SearchFilter:samAccountName

      at Microsoft.Crm.SecurityUtils.GetActiveDirectoryEntry(String searchItem, String searchFilter, String searchItemLogInfo, Boolean throwIfNotFound, String domainName)

      at Microsoft.Crm.SecurityUtils.GetLocalSystemGuid()

      at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).

    Full Stack:

    [CrmSecurityException: Could not find entry for server: NCPA-DLSCRM$ With SearchFilter:samAccountName]

      at Microsoft.Crm.SecurityUtils.GetActiveDirectoryEntry(String searchItem, String searchFilter, String searchItemLogInfo, Boolean throwIfNotFound, String domainName)

      at Microsoft.Crm.SecurityUtils.GetLocalSystemGuid()

      at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

    [CrmException: Failed to get priv user group information. k = a1b52e1d-e3bb-dd11-a6a2-002215eeb553 privUserGroupId: 45b66f67-6861-4618-9e19-bd926677098e, localSystemAdGuid: 00000000-0000-0000-0000-000000000000, Exception: Microsoft.Crm.CrmSecurityException: Could not find entry for server: NCPA-DLSCRM$ With SearchFilter:samAccountName

      at Microsoft.Crm.SecurityUtils.GetActiveDirectoryEntry(String searchItem, String searchFilter, String searchItemLogInfo, Boolean throwIfNotFound, String domainName)

      at Microsoft.Crm.SecurityUtils.GetLocalSystemGuid()

      at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context).]

      at Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context)

      at Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context)

      at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key, IOrganizationContext context)

      at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key, IOrganizationContext context)

      at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity identity, IOrganizationContext context)

      at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetPrivilegedUserCallerAndBusinessGuidsFromThread(WindowsIdentity identity, IOrganizationContext context)

      at Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId, LocatorServiceContext locatorServiceContext)

      at Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId)

      at Microsoft.Crm.Authentication.WindowsAuthenticationProviderBase.Authenticate(HttpApplication application, WindowsIdentity userIdentity)

      at Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application)

      at Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application)

      at Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e)

      at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

      at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Other Message:

    Error Number:

    0x80040216

    Source File:

    Not available

    Line Number:

    Not available

    Error Trace

  • Community Member Profile Picture
    on at
    RE: Help? CRM Down at non Profit

    Running MySQL 5.5, Trying a repair on it now, I restarted all the services.

    No bueno, Repair still under way.

  • Aiden Kaskela Profile Picture
    19,696 on at
    RE: Help? CRM Down at non Profit

    Did you check SQL server?

  • Community Member Profile Picture
    on at
    RE: Help? CRM Down at non Profit

    I am even unable to run a simple repair, or the whole process hangs. not sure where to go from here. :/

    ( I do very much appreciate the help)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans