Forum Discussion
Unable to Connect to SQL Server
this just started happening to me too.
I originally connected to our dev server, and did a bunch of stuff.
The minute I tried to connect to another server, this error started happening.
Now, I cannot connect to any server, not even the original one I have been working with for weeks.
Something got corrupted somewhere.
I have attached my trace files
This is probably not a permissions problem, or an allow remote connections problem.
I did not see a way to attach files, so I am only able to past the data from the first trace file.
Thanks,
Michael
Outut from first trace file (Microsoft.Mashup.Container.NetFX40.7900.2017-03-03T18-42-54-198131)
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2570565Z","Action":"BackgroundThread/RollingTraceWriter/CleanupOldTraces","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":16,"Duration":"00:00:00.0026425"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2581047Z","Action":"SimpleDocumentEvaluator/GetResult/Compile","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0057521"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2639278Z","Action":"SimpleDocumentEvaluator/GetResult/Evaluate","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0002807"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2659280Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":16,"Duration":"00:00:00.0002288"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2657995Z","Action":"CredentialExtensions/GetImpersonationWrapper","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0372305"}
DataMashup.Trace Error: 24579 : {"Start":"2017-03-03T18:42:54.3108133Z","Action":"Engine/IO/Db/SQL/ProcessException","Exception":"Exception:\r\nExceptionType: System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\r\nMessage: \r\nStackTrace:\n at System.Data.ProviderBase.DbConnectionPool.TransactedConnectionPool..ctor(DbConnectionPool pool)\r\n at System.Data.ProviderBase.DbConnectionPool..ctor(DbConnectionFactory connectionFactory, DbConnectionPoolGroup connectionPoolGroup, DbConnectionPoolIdentity identity, DbConnectionPoolProviderInfo connectionPoolProviderInfo)\r\n at System.Data.ProviderBase.DbConnectionPoolGroup.GetConnectionPool(DbConnectionFactory connectionFactory)\r\n at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup)\r\n at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)\r\n at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)\r\n at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)\r\n at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)\r\n at System.Data.SqlClient.SqlConnection.Open()\r\n at Microsoft.Mashup.Engine1.Library.Common.WrappedDbConnection.Open()\r\n at Microsoft.Mashup.Engine1.Library.Common.DbExtensions.<>c__DisplayClass1.<Open>b__0()\r\n at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.RunWithRetryGuard[T](Func`1 action, Func`2 retryAfterSqlError, Action finalizeOnRetry, String dataSourceNameString, IEngineHost host)\r\n at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.ConvertDbExceptions[T](IResource resource, Func`1 action, Func`2 retryAfterSqlError, Action finalizeOnRetry, String dataSourceNameString, IEngineHost host)\r\n\r\n\r\n","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0272186"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.3098370Z","Action":"Engine/IO/Db/Microsoft SQL/RunWithRetry","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0285287"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.3093584Z","Action":"Engine/IO/Db/Microsoft SQL/RunWithRetry","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0296035"}
DataMashup.Trace Error: 24579 : {"Start":"2017-03-03T18:42:54.3407557Z","Action":"Engine/IO/Db/SQL/ProcessException","Exception":"Exception:\r\nExceptionType: System.IO.FileLoadException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\r\nMessage: \r\nStackTrace:\n at System.Data.ProviderBase.DbConnectionPool.TransactedConnectionPool..ctor(DbConnectionPool pool)\r\n at System.Data.ProviderBase.DbConnectionPool..ctor(DbConnectionFactory connectionFactory, DbConnectionPoolGroup connectionPoolGroup, DbConnectionPoolIdentity identity, DbConnectionPoolProviderInfo connectionPoolProviderInfo)\r\n at System.Data.ProviderBase.DbConnectionPoolGroup.GetConnectionPool(DbConnectionFactory connectionFactory)\r\n at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPool(DbConnection owningObject, DbConnectionPoolGroup connectionPoolGroup)\r\n at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)\r\n at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)\r\n at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)\r\n at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)\r\n at System.Data.SqlClient.SqlConnection.Open()\r\n at Microsoft.Mashup.Engine1.Library.Common.WrappedDbConnection.Open()\r\n at Microsoft.Mashup.Engine1.Library.Common.DbExtensions.<>c__DisplayClass1.<Open>b__0()\r\n at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.RunWithRetryGuard[T](Func`1 action, Func`2 retryAfterSqlError, Action finalizeOnRetry, String dataSourceNameString, IEngineHost host)\r\n at Microsoft.Mashup.Engine1.Library.Common.DbEnvironment.ConvertDbExceptions[T](IResource resource, Func`1 action, Func`2 retryAfterSqlError, Action finalizeOnRetry, String dataSourceNameString, IEngineHost host)\r\n\r\n\r\n","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0002405"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.3401397Z","Action":"Engine/IO/Db/Microsoft SQL/RunWithRetry","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0010471"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.3399958Z","Action":"Engine/IO/Db/Microsoft SQL/RunWithRetry","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0014186"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2580756Z","Action":"SimpleDocumentEvaluator/GetResult<IPreviewValueSource>","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0831198"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2574493Z","Action":"FirewallDocumentEvaluator/GetResult<Microsoft.Mashup.Evaluator.Interface.IPreviewValueSource>","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0068143"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2643074Z","Action":"RemotePreviewValueSource/RunStub","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0777113"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.2572071Z","Action":"RemoteDocumentEvaluator/Service/OnBeginGetResult","evaluationID":"11","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"efe5f3d1-262c-41e8-a122-e682e62d5715","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":1,"Duration":"00:00:00.0848898"}
DataMashup.Trace Information: 24579 : {"Start":"2017-03-03T18:42:54.3422285Z","Action":"BackgroundThread/RollingTraceWriter/Flush","ProductVersion":"2.43.4647.541 (PBIDesktop)","ActivityId":"00000000-0000-0000-0000-000000000000","Process":"Microsoft.Mashup.Container.NetFX40","Pid":7900,"Tid":16,"Duration":"00:00:00.0002062"}
Thanks All, for your replies.
I am assuming this happened to me because of limitations on the trial package for Power BI Desktop.
It may be that only one connection is allowed in this scenario.
Michael
- caracarn9 years agoNew Member
I've not tried to connect to anything new yet, but the one test I was doing is working. Not sure that the trial package of PowerBI should not connect well to SQL. I've not seen anything about that type of limitation.
- MJVPBI9 years agoRegular Visitor
Agreed, neither have I .
I just thought it possible as my original connection works without flaw....
Grasping at straws....
Thanks,
Michael