大家好,
我在使用powerBI 连接数据库的时候,提示了我如下错误:
目前已知我的PBI是官网下载的最新版本,账号是一个免费版。MySQL连接成功过,并且以前连接成功的还是同一个IP下的另一个数据库。请问有什么解决思路或者建议了吗?拜托大家了。
以下为错误日志:
Feedback Type:
Frown (Error)
Timestamp:
2018-11-02T09:44:53.5831088Z
Local Time:
2018-11-02T17:44:53.5831088+08:00
Session ID:
f5ed0f87-b144-428c-93d0-938b8668dee4
Release:
October 2018
Product Version:
2.63.3272.40461 (18.10) (x64)
Error Message:
提供的名称不是正确格式的帐户名。
Stack Trace:
Microsoft.Mashup.Evaluator.Interface.ErrorException: 提供的名称不是正确格式的帐户名。
---> System.Security.SecurityException: 提供的名称不是正确格式的帐户名。
---> System.Security.SecurityException: 提供的名称不是正确格式的帐户名。
在 System.Security.Principal.WindowsIdentity.KerbS4ULogon(String upn, SafeAccessTokenHandle& safeTokenHandle)
在 System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName, String type)
在 System.Security.Principal.WindowsIdentity..ctor(String sUserPrincipalName)
在 Microsoft.Mashup.Engine1.Runtime.CredentialExtensions.GetImpersonationWrapper(String username, String password, IEngineHost host, IResource resource)
在 Microsoft.Mashup.Engine1.Runtime.CredentialExtensions.GetImpersonationWrapper(IResourceCredential credential, IEngineHost host, IResource resource)
在 Microsoft.Mashup.Engine1.Library.Common.SqlResourceCredentialDispatcher.Apply(WindowsCredential credential)
在 Microsoft.Mashup.Engine1.Library.Common.SqlResourceCredentialDispatcher.Apply(ResourceCredentialCollection credentials)
在 Microsoft.Mashup.Engine1.Library.Common.ConnectionStringResourceCredentialDispatcher.ConstructConnectionString(String server, String database, ResourceCredentialCollection credentials, Nullable1 connectionTimeout) 在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.CreateConnectionInfo() 在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.get_ConnectionInfo() 在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.GetSchemaTable(Func
2 loader, Boolean openConnection, String collectionName, String[] restrictions)
在 Microsoft.Mashup.Engine1.Library.MySQL.MySQLEnvironment.GetTables()
在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.d__9.MoveNext()
在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.LoadTypeCatalog()
在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.LoadCatalog()
在 Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.get_NavigationPropertiesRecord()
在 Microsoft.Mashup.Engine1.Library.Common.DbCatalogTableValue.GetEnumerator()
在 Microsoft.Mashup.Engine1.Language.Query.SkipTakeEnumerable.GetEnumerator()
在 Microsoft.Mashup.Engine1.Language.Query.QueryTableValue.GetEnumerator()
在 Microsoft.Mashup.Engine1.Runtime.TableValue.Microsoft.Mashup.Engine.Interface.ITableValue.GetEnumerator()
在 Microsoft.Mashup.Evaluator.SimpleDocumentEvaluator.ValuePreviewValueSource.TableValuePreviewValueSource.SerializeRows(Int32 count)
在 Microsoft.Mashup.Evaluator.SimpleDocumentEvaluator.ValuePreviewValueSource.TableValuePreviewValueSource.get_SmallValue()
在 Microsoft.Mashup.Evaluator.Interface.TracingPreviewValueSource.get_SmallValue()
在 Microsoft.Mashup.Evaluator.RemotePreviewValueSource.<>cDisplayClass5.b3()
在 Microsoft.Mashup.Evaluator.EvaluationHost.ReportExceptions(IHostTrace trace, IEngineHost engineHost, IMessageChannel channel, Action action)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Mashup.Evaluator.EvaluationHost.<>cDisplayClass7.b6()
在 Microsoft.Mashup.Common.SafeExceptions.IgnoreSafeExceptions(IEngineHost host, IHostTrace trace, Action action)
在 Microsoft.Mashup.Evaluator.EvaluationHost.TryReportException(IHostTrace trace, IEngineHost engineHost, IMessageChannel channel, Exception exception)
在 Microsoft.Mashup.Evaluator.EvaluationHost.ReportExceptions(IHostTrace trace, IEngineHost engineHost, IMessageChannel channel, Action action)
在 Microsoft.Mashup.Evaluator.RemotePreviewValueSource.RunStub(IEngineHost engineHost, IMessageChannel channel, Func1 getPreviewValueSource) 在 Microsoft.Mashup.Evaluator.RemoteDocumentEvaluator.Service.<>c__DisplayClass1e
1.b1b()
在 Microsoft.Mashup.Evaluator.EvaluationHost.ReportExceptions(IHostTrace trace, IEngineHost engineHost, IMessageChannel channel, Action action)
在 Microsoft.Mashup.Evaluator.RemoteDocumentEvaluator.Service.OnBeginGetResult[T](IMessageChannel channel, BeginGetResultMessage message, Action`1 action)
在 Microsoft.Mashup.Evaluator.RemoteDocumentEvaluator.Service.OnBeginGetPreviewValueSource(IMessageChannel channel, BeginGetPreviewValueSourceMessage message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.ChannelMessenger.ChannelMessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.ChannelMessenger.OnMessageWithUnknownChannel(IMessageChannel baseChannel, MessageWithUnknownChannel messageWithUnknownChannel)
在 Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.ChannelMessenger.ChannelMessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.EvaluationHost.Run()
在 Microsoft.Mashup.Evaluator.SafeThread2.<>cDisplayClass15.b__14(Object o)
在 Microsoft.Mashup.Container.EvaluationContainerMain.SafeRun(String[] args)
在 Microsoft.Mashup.Container.EvaluationContainerMain.Main(String[] args)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Mashup.Evaluator.EvaluationHost.OnException(IEngineHost engineHost, IMessageChannel channel, ExceptionMessage message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.ChannelMessenger.ChannelMessageHandlers.TryDispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message)
在 Microsoft.Mashup.Evaluator.Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel)
在 Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.WaitFor(Func1 condition, Boolean disposing) 在 Microsoft.Mashup.Evaluator.RemotePreviewValueSource.PreviewValueSource.get_SmallValue() 在 Microsoft.Mashup.Evaluator.Interface.TracingPreviewValueSource.get_SmallValue() 在 Microsoft.Mashup.Host.Document.Analysis.PackageDocumentAnalysisInfo.PackagePartitionAnalysisInfo.SetPreviewValue(EvaluationResult2
1 result, Func1 getStaleSince, Func
1 getSampled)
Invocation Stack Trace:
在 Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
在 Microsoft.Mashup.Client.UI.Shared.DataImporter.HandleImportEvaluationException(ExceptionResult exceptionView, Query query, String sourceID, String formulaTitle, Boolean isNewQuery, Boolean isFromEditor)
在 Microsoft.Mashup.Client.UI.Shared.DataImporter.OnGetPreviewResult(PreviewResult preview, Query query, String sourceID, String formulaTitle, Nullable1 explicitImportDestination, Boolean isNewQuery, Boolean isFromEditor) 在 Microsoft.Mashup.Client.UI.Shared.DataImporter.GetPreviewResult(Query query, String sourceID, String formulaTitle, Boolean isNewQuery, Boolean isFromEditor, Nullable
1 explicitImportDestination)
在 Microsoft.Mashup.Client.UI.Shared.DataImporter.<>cDisplayClass20.b1d()
在 Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
在 System.Delegate.DynamicInvokeImpl(Object[] args)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在 System.Windows.Forms.Control.InvokeMarshaledCallbacks()
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
在 Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>nFabricatedMethod8(IWindowHandle )
在 Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
在 Microsoft.PowerBI.Client.Program.<>cDisplayClass10.b0()
在 Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>cDisplayClass7.b__6()
在 Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
在 Microsoft.PowerBI.Client.Program.Main(String[] args)
OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 zh-CN)
CLR Version:
4.7 or later [Release Number = 461808]
Peak Virtual Memory:
37.9 GB
Private Memory:
278 MB
Peak Working Set:
431 MB
IE Version:
11.345.17134.0
User ID:
4c3d3e2e-b049-443a-af8f-c158634bfc00
Workbook Package Info:
1* - en-AU, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.
Telemetry Enabled:
True
Model Default Mode:
Empty
Snapshot Trace Logs:
C:\Users\user\Microsoft\Power BI Desktop Store App\FrownSnapShot782530623.zip
Performance Trace Logs:
C:\Users\user\Microsoft\Power BI Desktop Store App\PerformanceTraces.zip
Disabled Preview Features:
PBI_shapeMapVisualEnabled
MIntellisense
PBI_SpanishLinguisticsEnabled
PBI_PdfImport
PBI_ColumnProfiling
PBI_variationUIChange
PBI_PythonSupportEnabled
PBI_showIncrementalRefreshPolicy
PBI_compositeModels
PBI_showManageAggregations
PBI_FuzzyMatching
Disabled DirectQuery Options:
PBI_DirectQuery_Unrestricted
TreatHanaAsRelationalSource
Cloud:
GlobalCloud
DPI Scale:
100%
Supported Services:
Power BI
Formulas:
section Section1;
shared 查询1 = let
源 = MySQL.Database("192.168.XX.XXX", "scrmdata", [ReturnSingleDatabase=true])
in
源;