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 :
Finance | Project Operations, Human Resources, ...
Answered

Facing issue while opening D365FO url

(0) ShareShare
ReportReport
Posted on by 10

Recently I downloaded VHD from LCS of version 10.0.5 but we needed 10.0.7 with PU31.

So I created a VM with the version I downloaded and then I installed 'Service Update - Version 10.0.7 with Platform update 31' by following below link.

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/deployment/install-deployable-package

It was successfully installed then I Build, Synchronized and restarted the environment

Now whenever I'm trying to connect to D365FO it is opening debugger as shown in below screenshot but sometimes it opens D365FO without any issue, I don't know why.

Opening debuuger

And when I check the event log, it shows:

7652.eventvwr.png

These 2 errors are being shown.

For Microsoft Dynamics 365 for Finance and Operations.

The description for Event ID 110 from source Microsoft Dynamics 365 for Finance and Operations cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

AX is shutting down due to an error.
Aos startup failed, allowing w3wp to terminate execution.
Exception details:
System.AggregateException: Error loading metadata. Load table objects. Data entity name: SysMetaFormNameLookup, id: 5628 ---> System.Data.SqlClient.SqlException: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlCommandExtensions.<>c__DisplayClass4.<ExecuteReaderWithRetry>b__3()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.<>c__DisplayClass31_0.<ExecuteReaderAction>b__0(SqlCommand command)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.HandleException(ExceptionDispatchInfo edi, SqlExecutionInfo execInfo)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.OnlineTableObjectIdProvider.PopulateIdsForDependantObject[T](T table, Int32 tableId, Int32 rootId, NameAccumulator`1 accumulator, TableObjectKernelCallback callback, Boolean lookupWithRoot, Boolean isForFields)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.TableObjectIdProvider.PopulateIdsForFields(AxTable table, IEnumerable`1 extensions, Int32 tableId, Int32 rootId, TableObjectKernelCallback callback)
at Microsoft.Dynamics.AX.Kernel.ApplicationId.ApplicationIdBridge.LoadTableObjects(ApplicationIdBridge* , CAxTable* pTable, Int32 tableId, DependantObjectIdDelegate* fieldCb, DependantObjectIdDelegate* indexCb, DependantObjectIdDelegate* fullTextCb)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.AX.Kernel.ApplicationId.LogOrRethrowFormattedMessage(Exception exception, String loadMessage, AxDataEntity dataEntity, Int32 typeId)
at Microsoft.Dynamics.AX.Kernel.ApplicationId.ApplicationIdBridge.LoadTableObjects(ApplicationIdBridge* , CAxTable* pTable, Int32 tableId, DependantObjectIdDelegate* fieldCb, DependantObjectIdDelegate* indexCb, DependantObjectIdDelegate* fullTextCb)
at gopts(Int32 , Char** )
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception (0x80004005): The wait operation timed out
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlCommandExtensions.<>c__DisplayClass4.<ExecuteReaderWithRetry>b__3()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.<>c__DisplayClass31_0.<ExecuteReaderAction>b__0(SqlCommand command)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.HandleException(ExceptionDispatchInfo edi, SqlExecutionInfo execInfo)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.OnlineTableObjectIdProvider.PopulateIdsForDependantObject[T](T table, Int32 tableId, Int32 rootId, NameAccumulator`1 accumulator, TableObjectKernelCallback callback, Boolean lookupWithRoot, Boolean isForFields)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.TableObjectIdProvider.PopulateIdsForFields(AxTable table, IEnumerable`1 extensions, Int32 tableId, Int32 rootId, TableObjectKernelCallback callback)
at Microsoft.Dynamics.AX.Kernel.ApplicationId.ApplicationIdBridge.LoadTableObjects(ApplicationIdBridge* , CAxTable* pTable, Int32 tableId, DependantObjectIdDelegate* fieldCb, DependantObjectIdDelegate* indexCb, DependantObjectIdDelegate* fullTextCb)
ClientConnectionId:3fb51d4f-24e6-48b6-a8b5-ee63dad19006
Error Number:-2,State:0,Class:11<---

For .NET runtime:

Application: w3wp.exe
Framework Version: v4.0.30319
Description: The application requested process termination through System.Environment.FailFast(string message).
Message: Tearing the process down due to an unhandled exception.
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at <Module>.FailFast(UInt32, System.String, System.Exception)
at <Module>.OnAppDomainUnhandledException(System.Object, System.UnhandledExceptionEventArgs)
at Microsoft.Dynamics.AX.AosConfig.AzureConfig.Init()
at Microsoft.Dynamics.Ax.AosWeb.AxAutoStart.<AppInitialize>b__0(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

For ASP.NET

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/2/ROOT

Process ID: 8804

Exception: System.AggregateException

Message: Error loading metadata. Load table objects. Data entity name: SysMetaFormNameLookup, id: 5628

StackTrace: at Microsoft.Dynamics.AX.Kernel.ApplicationId.LogOrRethrowFormattedMessage(Exception exception, String loadMessage, AxDataEntity dataEntity, Int32 typeId)
at Microsoft.Dynamics.AX.Kernel.ApplicationId.ApplicationIdBridge.LoadTableObjects(ApplicationIdBridge* , CAxTable* pTable, Int32 tableId, DependantObjectIdDelegate* fieldCb, DependantObjectIdDelegate* indexCb, DependantObjectIdDelegate* fullTextCb)
at gopts(Int32 , Char** )
at Microsoft.Dynamics.AX.AOS.StartupInternal(String[] Arguments)
at Microsoft.Dynamics.AX.AOS.Startup()
at Microsoft.Dynamics.AX.AosConfig.AzureConfig.Init()
at Microsoft.Dynamics.Ax.AosWeb.AxAutoStart.<AppInitialize>b__0(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

InnerException: System.Data.SqlClient.SqlException

Message: Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.

StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.SqlCommandExtensions.<>c__DisplayClass4.<ExecuteReaderWithRetry>b__3()
at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.<>c__DisplayClass31_0.<ExecuteReaderAction>b__0(SqlCommand command)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.HandleException(ExceptionDispatchInfo edi, SqlExecutionInfo execInfo)
at Microsoft.Dynamics.AX.Data.Sql.SqlDataAccessManager.ExecuteSql[T](SqlCommand cmd, Func`2 sqlFunc)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.OnlineTableObjectIdProvider.PopulateIdsForDependantObject[T](T table, Int32 tableId, Int32 rootId, NameAccumulator`1 accumulator, TableObjectKernelCallback callback, Boolean lookupWithRoot, Boolean isForFields)
at Microsoft.Dynamics.AX.Kernel.ApplicationIdImpl.TableObjectIdProvider.PopulateIdsForFields(AxTable table, IEnumerable`1 extensions, Int32 tableId, Int32 rootId, TableObjectKernelCallback callback)
at Microsoft.Dynamics.AX.Kernel.ApplicationId.ApplicationIdBridge.LoadTableObjects(ApplicationIdBridge* , CAxTable* pTable, Int32 tableId, DependantObjectIdDelegate* fieldCb, DependantObjectIdDelegate* indexCb, DependantObjectIdDelegate* fullTextCb)

InnerException: System.ComponentModel.Win32Exception

Message: The wait operation timed out

For Appilication:

Faulting application name: w3wp.exe, version: 10.0.14393.0, time stamp: 0x57899b8a
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0x80131623
Fault offset: 0x00007ff8fd069d1e
Faulting process id: 0x2264
Faulting application start time: 0x01d5e7bc09b06d33
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: unknown
Report Id: 811b29de-9421-472d-9fa4-690b5250ce8d
Faulting package full name:

I don't know how to fix this, I need help. Thanks in advance.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Hi Rizwan,

    The details are mentioning a time out. It might be due to lack of system resources. Can you check the allocated CPUs, memory and if the VM is running on a fast SSD?

  • Verified answer
    Joris dG Profile Picture
    17,775 on at

    I agree with Andre. This could a resource issue. Check memory available to SQL and whether the database are all up (use SQL Management Studio running as administrator). Sometimes if SQL is having trouble it can't even properly load the database and they are in some sort of recovery state.

    If you have limited memory resources you can give, you can change the SQL server settings and make sure SQL doesn't take all the memory it can get, there's an upper limit you can set.

  • zhifeng Profile Picture
    on at

    The error message shows "System.Data.SqlClient.SqlException: Execution Timeout Expired", can you check SQL connection and make sure we can connect and we have enough resource. In addition to that can we restart batch service successfully?

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans