如何解决Power BI 或 Excel 2019 Power Query 未连接到“BOE”网页
我正在使用带有 Excel 2019(32 位)和 Power BI 桌面(64 位)的 Windows 10 Pro 尝试连接到 BOE 网页 webpage 使用 Web 连接器并提取一些表。
我使用的是普通笔记本电脑,我没有使用代理或 VPN,因为它是公共文档。
我已尝试访问 pdf 文档版本(下载到我的 PC)和其他变体,包括 XML 链接或文档或永久链接(遵循 BOE 的 ELI 格式,如https://www.boe.es/legislacion/eli.php 中的西班牙语所述)。
带有 Permalink ELI 的网页 https://www.boe.es/eli/es/o/2020/12/28/hac1275/dof/spa/html
这是一个相当大的文档和页面,大约 5 分钟后,我收到一条错误消息“DataSource.Error. Timeout”。
有什么想法或建议吗?
更新: 我尝试将超时设置为 15 分钟并得到相同的错误消息。 在 Excel 中,我也收到了一条错误消息,其中包含以下详细信息:
Feedback Type:
Frown (Error)
Error Message:
Error
Stack Trace:
Stack Trace Message:
Error
Invocation Stack Trace:
en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace,String invocationStackTrace,String exceptionMessage)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message,Exception exception,Nullable`1 stackTraceInfo,String messageDetail)
en Microsoft.Mashup.Client.UI.Windows.UIHost.RaiseErrorDialog(IWindowHandle activeWindow,FeedbackPackageInfo feedbackPackageInfo,Exception e,LocalizedString dialogTitle,LocalizedString dialogMessage,Boolean useGDICapture)
en Microsoft.Mashup.Client.Excel.Native.NativeUserFeedbackServices.ReportException(IWindowHandle activeWindow,IUIHost uiHost,Boolean useGDICapture)
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass15_0.<HandleException>b__0()
en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.SendAndMarshalExceptions(SynchronizationContext context,Action callback)
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
en Microsoft.Mashup.Client.UI.Shared.DataImporter.HandleImportEvaluationException(ExceptionResult exceptionView,Query query,String sourceID,String formulaTitle,Boolean isNewQuery,Boolean isFromEditor)
en Microsoft.Mashup.Client.UI.Shared.DataImporter.OnGetPreviewResult(PreviewResult preview,Nullable`1 explicitImportDestination,Boolean isFromEditor)
en Microsoft.Mashup.Client.UI.Shared.DataImporter.GetPreviewResult(Query query,Boolean isFromEditor,Nullable`1 explicitImportDestination)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.<>c__DisplayClass62_0.<GetPreviewResult>b__1()
en Microsoft.Mashup.Client.Excel.Shim.NativeWorkbookStorageServices.Microsoft.Mashup.Client.Excel.Shim.IDeferredStorageInvoker.InvokeDeferredStorageAction(IWorkbook workbook,Action action)
en Microsoft.Mashup.Client.Excel.Shim.NativeCoAuthServices.InvokeCoauthAction(IWorkbook workbook,UndoableActionType actionType,Action action)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.<>c__DisplayClass62_0.<GetPreviewResult>b__0(IWorkbook workbook)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.<>c__DisplayClass55_1.<NotifyGetDataPresence>b__1()
en Microsoft.Mashup.Client.Excel.Shim.NativeCoAuthServices.NotifyGetDataPresence(IWorkbook workbook,Action action)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.<>c__DisplayClass55_0.<NotifyGetDataPresence>b__0(IWorkbook workbook)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.<>c__DisplayClass56_0.<InvokeOnWorkbook>b__0(IWorkbook workbook,IWindowContext windowContext)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.InvokeOnWorkbook[T](Func`3 action,T defaultValue)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.InvokeOnWorkbook(Action`1 action)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.NotifyGetDataPresence(Action`1 action)
en Microsoft.Mashup.Client.Excel.ExcelDataImporter.GetPreviewResult(Query query,Nullable`1 explicitImportDestination)
en Microsoft.Mashup.Client.UI.Shared.DataImporter.<>c__DisplayClass86_1.<OnQuerySettingsResolved>b__0()
en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler,Action action)
en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass3_0.<Post>b__0(Object null)
en System.RuntimeMethodHandle.InvokeMethod(Object target,Object[] arguments,Signature sig,Boolean constructor)
en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,Object[] parameters,Object[] arguments)
en System.Delegate.DynamicInvokeImpl(Object[] args)
en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback callback,Object state,Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext,Object state)
en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
en System.Windows.Forms.Control.InvokeMarshaledCallbacks()
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd,Int32 msg,IntPtr wparam,IntPtr lparam)
InnerException0.Stack Trace Message:
Container exited unexpectedly with code 0x40010004. PID: 31728.
Used features: (none).
InnerException0.Stack Trace:
en Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
en Microsoft.Mashup.Evaluator.ChannelMessenger.Read(MessageChannel channel)
en Microsoft.Mashup.Evaluator.ChannelMessenger.MessageChannel.Read()
en Microsoft.Mashup.Evaluator.Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel)
en Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.WaitFor(Func`1 condition,Boolean disposing)
en Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.TracingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.NotifyingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.NotifyingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.NotifyingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.NotifyingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Evaluator.Interface.NotifyingPreviewValueSource.get_TableSource()
en Microsoft.Mashup.Host.Document.Analysis.PackageDocumentAnalysisInfo.PackagePartitionAnalysisInfo.SetPreviewValue(EvaluationResult2`1 result,Func`1 getStaleSince,Func`1 getSampled)
InnerException0.Invocation Stack Trace:
en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace,String exceptionMessage)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromException(Exception e,String prefix)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e,Int32 depth)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.CreateAdditionalErrorInfo(Exception e)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo..ctor(String message,IntPtr lparam)
InnerException1.Stack Trace Message:
Container exited unexpectedly with code 0x40010004. PID: 31728.
InnerException1.Stack Trace:
en Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
en Microsoft.Mashup.Evaluator.ErrorTranslatingMessenger.MessageChannel.Read()
InnerException1.Invocation Stack Trace:
en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace,Int32 depth)
en Microsoft.Mashup.Client.UI.Shared.FeedbackErrorInfo.GetFeedbackValuesFromInnerExceptions(Exception e,IntPtr lparam)
Supports Premium Content:
True
Formulas:
section Section1;
shared html = let
Origen = Web.Page(Web.Contents("https://www.boe.es/eli/es/o/2020/12/28/hac1275/dof/spa/html",[Timeout=#duration(0,15,0)]))
in
Origen;
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。