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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PAD Refreshing Power Q...
Power Automate
Unanswered

PAD Refreshing Power Query connection with error

(0) ShareShare
ReportReport
Posted on by

Hi,

I'm running a macro from PAD in an excel workbook that refreshes the power query connection to a sharepoint list. The problem is I'm getting this error and I don't know how to manage this.. tried everything already

If anyone can help

thanks

 

 

Feedback Type:
Frown (Error)

Error Message:
The type initializer for 'Microsoft.Mashup.Engine1.Library.Resources.ResourceKinds' threw an exception.

Stack Trace:
at Microsoft.Mashup.Engine1.Library.Resources.ResourceKinds.AddDelayedResourceKind(String moduleName, ResourceKindInfo info, Exception& error)
at Microsoft.Mashup.Engine1.Library.Modules.TryRegisterDataSources(IEngine engine, Module module, Exception& error)
at Microsoft.Mashup.Engine1.Library.Modules.TryAddOptionalModule(IEngine engine, Module module, Exception& error)
at Microsoft.Mashup.Engine1.Library.Modules.TryDelayedLoadExtension(IEngine engine, IModule moduleInfo, ILibraryService libraryService, Exception& error)
at Microsoft.Mashup.EngineHost.Services.LibraryService.LibraryInfo.Register(HashSet`1 symbols, Exception& error)
at Microsoft.Mashup.EngineHost.Services.LibraryService.EnumerateAndLoadLibraries()
at Microsoft.Mashup.EngineHost.Services.LibraryService.Reinitialize(ILibraryProvider[] providers)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.LoadModules(Trace innerTrace, IList`1 binaryModules, ILibraryProvider[] providers)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHost.Activate(IList`1 libraryExtensions, IApplicationPaths applicationPaths, ILibraryProvider internalProvider, ILibraryProvider remoteExtensionsProvider)
at Microsoft.Mashup.Client.UI.Shared.UiExtensibility.UiExtensionHostManager.RegisterAndActivateUiExtensionHost(UiExtensionHost uiExtensionHost, IList`1 libraryExtensions, IApplicationPaths applicationPaths, ILibraryProvider internalProvider, ILibraryProvider remoteExtensionsProvider)
at Microsoft.Mashup.Client.Excel.Win32.Win32UIExtensionLoader.LoadExtensions(IUIHost uiHost)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

Stack Trace Message:
The type initializer for 'Microsoft.Mashup.Engine1.Library.Resources.ResourceKinds' threw an exception.

Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
at Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
at Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorC2RBase..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorNetStandard..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap.CreateConnector(INativeExcelPowerQueryHost nativeExcelPowerQueryHost)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrapBase..ctor(INativeExcelInterop nativeExcelInterop, INativeExcelTestHooks nativeExcelTestHooks)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap..ctor(IntPtr[] pointers)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)


InnerException0.Stack Trace Message:
The type initializer for 'Microsoft.Mashup.Engine1.Library.Odbc.OdbcModule' threw an exception.

InnerException0.Stack Trace:
at Microsoft.Mashup.Engine1.Library.Odbc.OdbcModule.get_DataSources()
at Microsoft.Mashup.Engine1.Library.Modules.InitializeBuiltinResources()
at Microsoft.Mashup.Engine1.Library.Resources.ResourceKinds..cctor()

InnerException0.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
at Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
at Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorC2RBase..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorNetStandard..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap.CreateConnector(INativeExcelPowerQueryHost nativeExcelPowerQueryHost)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrapBase..ctor(INativeExcelInterop nativeExcelInterop, INativeExcelTestHooks nativeExcelTestHooks)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap..ctor(IntPtr[] pointers)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)


InnerException1.Stack Trace Message:
Could not load DLL 'odbc32.dll': A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file

InnerException1.Stack Trace:
at Microsoft.Mashup.Engine1.Library.Odbc.Interop.OdbcInterop..ctor(String dll)
at Microsoft.Mashup.Engine1.Library.Odbc.OdbcService.WindowsOdbcService.New()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.SafeInitValue()
at System.Lazy`1.get_Value()
at Microsoft.Mashup.Engine1.Library.Odbc.OdbcConnectionStringHandler.<>c.<.cctor>b__10_0()
at System.Lazy`1.LazyInitValue()
at System.Lazy`1.SafeInitValue()
at System.Lazy`1.get_Value()
at Microsoft.Mashup.Engine1.Library.Odbc.OdbcModule..cctor()

InnerException1.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
at Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
at Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorC2RBase..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorNetStandard..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap.CreateConnector(INativeExcelPowerQueryHost nativeExcelPowerQueryHost)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrapBase..ctor(INativeExcelInterop nativeExcelInterop, INativeExcelTestHooks nativeExcelTestHooks)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap..ctor(IntPtr[] pointers)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)


InnerException2.Stack Trace Message:
A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file

InnerException2.Stack Trace:


InnerException2.Invocation Stack Trace:
at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e, String prefix)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e, Int32 depth)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
at Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message, Exception exception, Nullable`1 stackTraceInfo, String messageDetail)
at Microsoft.Mashup.Client.UI.Shared.IUIHostExtensions.RaiseErrorDialog(IUIHost uiHost, IWindowHandle activeWindow, FeedbackPackageInfo feedbackPackageInfo, Exception e, LocalizedString dialogTitle, LocalizedString dialogMessage, Boolean useGDICapture)
at Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorC2RBase..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelConnectorNetStandard..ctor(INativeExcelPowerQueryHost nativeExcelPowerQueryHost, IUIExtensionLoader uiExtensionLoader)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap.CreateConnector(INativeExcelPowerQueryHost nativeExcelPowerQueryHost)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrapBase..ctor(INativeExcelInterop nativeExcelInterop, INativeExcelTestHooks nativeExcelTestHooks)
at Microsoft.Mashup.Client.Excel.NativeExcelBootstrap..ctor(IntPtr[] pointers)
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstanceFromInternal(String assemblyFile, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo)


Supports Premium Content:
True

I have the same question (0)
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at
    Could not load DLL 'odbc32.dll': A required certificate is not within its validity period when verifying against the current system clock or the timestamp in the signed file

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard