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

Report
All responses (
Answers (