Runtime Error 1004 0xC0000374 when refreshing ODBC connections

Copper Contributor

Hi everyone,

 

I currently have the following issue in MS Excel. When refreshing ODBC connections, I receive the following error:

timbauer132_0-1680633838045.png


What's strange about this:
The error does not occur all the time. Sometimes it works, sometimes it doesn't. Sometimes it works on other computers, sometimes the issue occurs on different several computers.

 

Here are some more error details:

 

Feedback Type:
Frown (Error)

Error Message:
Der Container wurde unerwartet mit Code 0xC0000374 beendet. PID: 17464.
Verwendete Funktionen: Odbc.DataSource/OdbcFb/02.00.0156/Firebird/06.03.27020 LI-V Firebird 2.5.

Stack Trace:

Server stack trace: 
   bei Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
   bei Microsoft.Mashup.Evaluator.ChannelMessenger.Read(MessageChannel channel)
   bei Microsoft.Mashup.Evaluator.ChannelMessenger.MessageChannel.Read()
   bei Microsoft.Mashup.Evaluator.Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel)
   bei Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunkAndCheckIfClosed()
   bei Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk()
   bei Microsoft.Mashup.Common.ChunkedInputStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   bei Microsoft.Mashup.Common.VirtualStream.Read(Byte[] buffer, Int32 offset, Int32 count)
   bei Microsoft.OleDb.Serialization.PageReader.Read(Byte[] buffer, Int32 offset, Int32 count)
   bei Microsoft.OleDb.Serialization.PageReader.Read(Void* dst, Int32 length)
   bei Microsoft.OleDb.Serialization.PageReader.ReadArray(Char[] values, Int32 offset, Int32 count)
   bei Microsoft.OleDb.Serialization.PageReader.ReadChars(Int32 count)
   bei Microsoft.OleDb.Serialization.PageReader.ReadArray(String[] values, Int32 offset, Int32 count)
   bei Microsoft.OleDb.StringColumn.Deserialize(PageReader reader)
   bei Microsoft.OleDb.NullableColumn.Deserialize(PageReader reader)
   bei Microsoft.OleDb.Serialization.ColumnsPage.Deserialize(PageReader reader)
   bei Microsoft.OleDb.Serialization.OleDbPageReader.Read(ColumnsPage page)
   bei Microsoft.OleDb.Serialization.OleDbPageReader.Read(IPage page)
   bei Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page)
   bei Microsoft.Mashup.Common.DelegatingPageReader.Read(IPage page)
   bei Microsoft.Mashup.Engine.Interface.Tracing.TracingPageReader.Read(IPage page)
   bei Microsoft.Mashup.Evaluator.SoftCancellingDocumentEvaluator.DataReaderSourceEvaluation.SoftCancellingDataReaderSource.SoftCancellingPageReader.Read(IPage page)
   bei Microsoft.Mashup.OleDbProvider.DataHost.BufferingMashupEvaluator.BufferingMashupEvaluation.SerializeResult(IDataReaderSource dataReaderSource, Stream stream)
   bei Microsoft.Mashup.OleDbProvider.DataHost.BufferingMashupEvaluator.BufferingMashupEvaluation.GetBufferedReaderSource(AsyncResult`1 result)
   bei Microsoft.Mashup.OleDbProvider.DataHost.BufferingMashupEvaluator.BufferingMashupEvaluation.OnEvaluationComplete(AsyncResult`1 result)

Exception rethrown at [0]: 
   bei Microsoft.Mashup.OleDbProvider.MashupCommandEvaluation.get_PageReader()
   bei Microsoft.Mashup.OleDbProvider.MashupRowset.get__Rowset()
   bei Microsoft.Mashup.OleDbProvider.MashupRowset.get_ColumnsInfo()
   bei Microsoft.OleDb.Rowset.Microsoft.OleDb.IColumnsInfo.GetColumnInfo(DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)
   bei Microsoft.Mashup.OleDbProvider.TracingRowset.Microsoft.OleDb.IColumnsInfo.GetColumnInfo(DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)

Stack Trace Message:
Der Container wurde unerwartet mit Code 0xC0000374 beendet. PID: 17464.
Verwendete Funktionen: Odbc.DataSource/OdbcFb/02.00.0156/Firebird/06.03.27020 LI-V Firebird 2.5.

Invocation Stack Trace:
   bei Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
   bei Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
   bei Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
   bei Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
   bei Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
   bei Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
   bei Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context, Action callback)
   bei Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
   bei Microsoft.Mashup.Client.Excel.OleDbProvider.ExcelMashupClassFactory.TraceAndReportException(String method, Exception exception)
   bei Microsoft.Mashup.OleDbProvider.TracingRowset.Microsoft.OleDb.IColumnsInfo.GetColumnInfo(DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)
   bei Microsoft.OleDb.PInvokeInterop.ColumnsInfoTypeInfo.GetColumnInfo(IntPtr objHandle, DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)


InnerException0.Stack Trace Message:
Der Container wurde unerwartet mit Code 0xC0000374 beendet. PID: 17464.

InnerException0.Stack Trace:
   bei Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
   bei Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()

InnerException0.Invocation Stack Trace:
   bei Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
   bei Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
   bei Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
   bei Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
   bei Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
   bei Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
   bei Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
   bei Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
   bei Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
   bei Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context, Action callback)
   bei Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
   bei Microsoft.Mashup.Client.Excel.OleDbProvider.ExcelMashupClassFactory.TraceAndReportException(String method, Exception exception)
   bei Microsoft.Mashup.OleDbProvider.TracingRowset.Microsoft.OleDb.IColumnsInfo.GetColumnInfo(DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)
   bei Microsoft.OleDb.PInvokeInterop.ColumnsInfoTypeInfo.GetColumnInfo(IntPtr objHandle, DBORDINAL& countColumnInfos, DBCOLUMNINFO*& nativeColumnInfos, Char*& nativeStrings)


Error Additional Details:
EvaluationContainerLoader.cpp(116): Container starting with arguments: 9884 10128 77fa747f-53db-4898-b2a6-50cc69aafbac 1
EvaluationContainerLoader.cpp(59): Enumerating .net runtimes
EvaluationContainerLoader.cpp(78): v2.0.50727
EvaluationContainerLoader.cpp(78): v4.0.30319
EvaluationContainerLoader.cpp(82): Found match
EvaluationContainerLoader.cpp(149): Loading runtime
EvaluationContainerLoader.cpp(163): Starting runtime
EvaluationContainerLoader.cpp(176): Executing managed entry point
Container Managed entry point has started
Container has started to run
Pipes were set up
Running the evaluation host


Supports Premium Content:
False

Formulas:


section Section1;

SCRIPT...

 

 

Maybe anybody here has a solution to this? I am looking forward to your reply.

Best regards

Tim

0 Replies