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

Notifications

Announcements

No record found.

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)
  • Aiden Kaskela Profile Picture
    19,696 on at

    Hi.' What version of CRM are you running? The first (easiest) thing to do is you need to ensure the Microsoft services are running. If they are already running, restart them. Same thing with the SQL services. When the services are all running, restart the World Wide Web service (IIS). Those are the basic restarting steps but there could be a million things wrong.

  • Community Member Profile Picture
    on at

    MS Dynamics CRM 2011, I've restarted the services and the server as well. still no goodies. :/

  • Aiden Kaskela Profile Picture
    19,696 on at

    It's really hard to narrow it down. It's a SQL Timeout error but that could be caused by a lot of things. Try opening SQL Server Management Studio and checking to see if there are any open transactions or blocking processes that could be locking up the system. The CRM or Config database could be stopped as well.

  • Community Member Profile Picture
    on at

    Ok, So the CRM Asynchronous Processing Service is hanging. I cant stop that one... I have to kill it via task manager process.   Does that help at all?

  • Community Member Profile Picture
    on at

    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)

  • Aiden Kaskela Profile Picture
    19,696 on at

    Did you check SQL server?

  • Community Member Profile Picture
    on at

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

    No bueno, Repair still under way.

  • Community Member Profile Picture
    on at

    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

  • Aiden Kaskela Profile Picture
    19,696 on at

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

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

  • Aiden Kaskela Profile Picture
    19,696 on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans