Power Query Update breaks connection to PostgreSQL database

After the update to Power Query 2.11.3625.144, we can't connect our PostgreSQL database anymore. 
Error message is: 
DataSource.NotFound: PostgreSQL: Unable to find a database provider with invariant name 'Npgsql'.
This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
Readding the Npgsql driver doesn't solve the issue. Has the version requirement changed with the Power Query update? Or is PostgreSQL connectivity completely broken?

Hmm, 
If I add the line, I get the following error message in Power Query: 
'Npgsql' returned the error: 'Unrecognized element. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 169)'.
This error may have been the result of provider-specific client software being required but missing on this computer.  To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
The code in the machine config looks like this: 
  <system.data>
        <DbProviderFactories />
        <add description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.12.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" name="Npgsql Data Provider" invariant="Npgsql" support="FF"/>
    </system.data>
The node seems to be empty by default. Can it be that the surrounding stuff has to be differently written in that case?

Similar Messages

  • Power Query Unable to Connect to SSAS

    Hi I am trying to connect Power Query to an SSAS Cube (Tabular). In the navigator, I expand the database, expand the folder and expand the model.  I am running Excel 64bit and PQ 2.18 64 bit. I can connect to an SQL Server and I can connect to the cube
    with PowerPivt.  I can not connect with Power Query.    When I expand the model I get an error saying "Object reference not set to an instance of an object".  When I peek I get the following error:
    Unexpected error: Object reference not set to an instance of an object.
    Details:
           at Microsoft.Mashup.Engine1.Library.AnalysisServices.AnalysisServicesCubeContextProvider.<NewTabularDisplayFolders>b__1(AnalysisServicesMeasure m)
       at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.GroupedEnumerable`3.GetEnumerator()
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
       at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
       at Microsoft.Mashup.Engine1.Library.AnalysisServices.AnalysisServicesCubeContextProvider.NewTabularDisplayFolders()
       at Microsoft.Mashup.Engine1.Library.AnalysisServices.AnalysisServicesCubeContextProvider.get_DisplayFolders()
       at Microsoft.Mashup.Engine1.Runtime.NativeFunctionValue1`2.Invoke(Value arg0)
       at Microsoft.Mashup.Engine1.Language.DebugExpression.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.FunctionInvocationExpression2.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.DebugExpression.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.Force(Int32 index)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.get_Item(Int32 index)
       at Microsoft.Mashup.Engine1.Runtime.RecordValue.get_Item(String field)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.Force(Int32 index)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.get_Item(Int32 index)
       at Microsoft.Mashup.Engine1.Runtime.RecordValue.get_Item(Value key)
       at Microsoft.Mashup.Engine1.Runtime.Library.Linker.BindFunctionValue.TypedInvoke(RecordValue environment, Value section, TextValue name)
       at Microsoft.Mashup.Engine1.Runtime.NativeFunctionValue3`4.Invoke(Value arg0, Value arg1, Value arg2)
       at Microsoft.Mashup.Engine1.Language.MembersFunctionValue0.Invoke()
       at Microsoft.Mashup.Engine1.Language.ListExpression.RuntimeListValue.Force(Int32 index)
       at Microsoft.Mashup.Engine1.Language.ListExpression.RuntimeListValue.get_Item(Int32 index)
       at Microsoft.Mashup.Engine1.Runtime.ListValue.get_Item(Value key)
       at Microsoft.Mashup.Engine1.Language.MembersFunctionValue1.Invoke(Value arg0)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.Force(Int32 index)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.get_Item(Int32 index)
       at Microsoft.Mashup.Engine1.Runtime.RecordValue.get_Item(String field)
       at Microsoft.Mashup.Engine1.Language.FunctionInvocationExpression2.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.Expression.ExecuteCondition(Value frame)
       at Microsoft.Mashup.Engine1.Language.DebugExpression.ExecuteCondition(Value frame)
       at Microsoft.Mashup.Engine1.Language.IfExpression.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.DebugExpression.Execute(Value frame)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.Force(Int32 index)
       at Microsoft.Mashup.Engine1.Language.RecordExpression.RuntimeRecordValue.get_Item(Int32 index)
       at Microsoft.Mashup.Engine1.Runtime.RecordValue.get_Item(String field)
       at Microsoft.Mashup.Engine1.Language.MembersFunctionValue0.Invoke()
       at Microsoft.Mashup.Engine1.Engine.Microsoft.Mashup.Engine.Interface.IEngine.Invoke(IValue function, IValue[] arguments)
       at Microsoft.Mashup.Evaluator.SimpleDocumentEvaluator.BeginGetResult(DocumentEvaluationParameters parameters, Action`1 callback)
       at Microsoft.Mashup.Evaluator.SimpleDocumentEvaluator.BeginGetResult(DocumentEvaluationParameters parameters, Action`1 callback)
       at Microsoft.Mashup.Evaluator.FirewallPartition.BeginGetResult[T](Action`1 callback)
       at Microsoft.Mashup.Evaluator.FirewallDocumentEvaluator.Evaluation`1.OnBufferComplete(Exception exception)
       at Microsoft.Mashup.Evaluator.Firewall.BeginBufferPartitions(Action`1 callback)
       at Microsoft.Mashup.Evaluator.FirewallDocumentEvaluator.BeginGetResultInternal[T](DocumentEvaluationParameters parameters, Action`1 callback)
       at Microsoft.Mashup.Evaluator.RemoteDocumentEvaluator.Service.OnBeginGetPreviewValueSource(IMessageContext context, BeginGetPreviewValueSourceMessage message)
       at Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.ContextMessenger.ContextMessageHandlers.TryDispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.ContextMessenger.OnMessageWithUnknownContext(IMessageContext baseContext, MessageWithUnknownContext messageWithUnknownContext)
       at Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.ContextMessenger.ContextMessageHandlers.TryDispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageContext context, Message message)
       at Microsoft.Mashup.Evaluator.EvaluationHost.Run()
       at Microsoft.Mashup.Host.EvaluationContainer.EvaluationContainerMain.Run(String[] args)
       at Microsoft.Mashup.Host.EvaluationContainer.EvaluationContainerMain.Main(String[] args)
       --- End of inner exception stack trace ---
       at Microsoft.Mashup.Evaluator.RemoteDocumentEvaluator.Service.OnBeginGetPreviewValueSource(IMessageContext context, BeginGetPreviewValueSourceMessage message)
       --- End of inner exception stack trace ---
       at Microsoft.Mashup.Host.Document.Preview.PreviewManager.<>c__DisplayClasse.<StartPreviewEvaluation>b__b(EvaluationResult2`1 result)

    Hi,
    This issue will be fixed in an upcoming release. Certain tabular models can have measures without measure groups, which wasn't considered. The specific case you hit is that when a tabular model has no measures, a default one without a measure group
    is added in order to allow retrieving the dimension members in certain tools.
    Thanks,
    Tristan

  • Help!! How To Connect Java & PostgreSQL Database

    I'm final year student in comp sc. I'm doing java in my thesis.
    How to get/read data from postgresql using java?
    My thesis is "2 Dimensional Graph Statistics Online Viewing Using Java Applet". So i need a mechanism how to read data from postgresql database using java programming. Please Help!!

    Hi,
    getting started you need some basics on JDBC.
    Have a look at the tutorials, or look at this site (its german):
    http://www.furchur.de/de/informatik/laborberichte2.htm#dbswt
    Have a look at the java.sql package.
    First you need to build up a connection using
    java.sql.DriverManager.getConnection(...)
    The parameter for the PostgreSQL you must look somewhere.
    After you have a connection you can use Statements and PreparedStatements to get and set data in the database.
    At the end, make sure, the connection will be closed, otherwise data can be lost.
    Hope that will help you a little bit

  • Power Query Update 2.16.3785.242 (64-bit) has Corrupted Excel

    The most recent update to Power Query has rendered Excel useless.  Any use of the Ctrl key (copying, pasting, etc.) will cause Excel to crash and restart.
    A co-worker had the same problem yesterday and we were perplexed in its origin, though it became clear the update was the source after updating this morning.
    We need a fix ASAP!

    Hi W. If you can still repro the crashes, can you please do the following to get a crash dump and then send it to us? (You can use the Send a Frown functionality on the working version of PQ.)
    Edit the registry, open the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting and change the DWORD value ForceQueue to 1
    Open %LOCALAPPDATA%\Microsoft\Windows\WER\ReportQueue in Windows Explorer to monitor it
    Reproduce the crash – at this point something should appear briefly in the ReportQueue folder 
    Thanks,
    Ehren

  • Where to download the power query updates

    Hi,
    I am keep on getting alert to download latest updates for power query. when I open the link, I am unable to see the download button. Will you please let me know where can I download latest updates for power query?
    Regards,
    Raj

    As you've noticed, there is a mistake in this blog post and the link was accidentally left out. You can still see the link on that page by looking in the right column for "Download Power Query for Excel." Alternatively you can search Bing for: download
    power query. Or you can just click right here:
    http://www.microsoft.com/en-us/download/details.aspx?id=39379

  • CONNECTION OF POSTGRESQL database to JDEVELOPER

    i'm trying to connect the database of POSTGRESQL to jdeveloper but i encountered some errors especially when i run the form.. i already check the drivers.. PLEASE REPLY IMMEDIATELY THANKS. THESE ARE THE ERRORS:
    (oracle.jbo.common.ampool.ApplicationPoolException) JBO-30003: The application pool (XAMPLE.model.xampleAppModuleLocal) failed to checkout an application module due to the following exception:
    ----- LEVEL 1: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 2: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 3: DETAIL 0 -----
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 4: DETAIL 0 -----
    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.
    ----- LEVEL 5: DETAIL 0 -----
    (java.sql.SQLException) No suitable driver

    Hi,
    I always put them in [jdev_install_dir]j2ee\home\applib (one of quite a few directories in the JDev classpath). The above document suggests <jdevhome>/jdev/lib
    and also the WEB-INF\lib of your J2EE project if it is not already in the server classpath.
    regards,
    Brenden

  • Can't install the June (2014) Power Query Update

    Hi, I can't seem to install the June update.  The MSI file does not run.  I'm using the Microsoft Office 365 ProPlus product and update 15.0.4631.1002 32-bit.  All office programs are closed.  Any ideas?
    Thanks Graham

    Do you have the same problem with the July release that was just announced?

  • Trouble connecting to SQL 2014 Database using Power Query

    I am trying to connect to a SQL 2014 Database using Power Query.  My connection string requires that I set the "Application Intent" setting to a value of "readonly", The connection parameter is required by SQL 2014 because of
    the failover cluster configuration.   
    I have successfully been able to connect via PowerPivot with the following connection string:
    Provider=SQLNCLI11;Data Source=<Server>;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=<DB>;Application Intent=readonly
    I cannot seem to find the correct syntax to connect via SQL 2014.  This is the syntax that I have been attempting: 
    Sql.Database("<Server>", "<DB>",[Application Intent=readonly])
    Is this currently supported?
    Thanks, Barbara

    It's not yet, I'm afraid, but it's something we're aware of and have vague plans to address :/.

  • Connect to Linkedin API with Power Query

    Hello
    Is there a way to create Power Query queries that connect to Linkedin API permanently (like Power Query does with Facebook)? I know it is possible to access Linkedin API the way Shish Shridar did it, but it is pretty limited and thus frustrating (see his
    article entitled "Analyzing LinkedIn Data using PowerBI" on his blog).
    I am sorry to ask without more technical details, but I am pretty new to Power query. I guess it has something to do with OAuth2 authentification not being implemented in Power query...
    I would be delighted If someone would be kind enough to provide me some insight on this issue !

    Thanks for your answer.
    What if I create an app to get the required access token etc? I know an excel add-on could be considered as a Twitter app, and thus be able to connect to the website's API (I'm thinking about Analytics for Twitter 2013 for instance) - is there any way to
    do the same with Linkedin?
    I guess this is far beyond my capacities for now, but any insight would be very much appreciated !
    [EDIT]
    I did a little more research... I created a Linkedin app and then followed the steps described on the official documentation to enable it to make authenticated API calls to LinkedIn using OAuth 2.0 (I cannot use hyperlink for now, but here is the full link
    to the official doc : https://developer.linkedin.com/docs/oauth2)
    Maybe some VBA would be able to request an authorization code following this type of URL : https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=MYCLEINTID&state=STATE&redirect_uri=MYREDIRECTURL
    - Then the user will be presented with LinkedIn's authentication dialog box. Is VBA able to fill in this login form?
    -If it is, then it should get the code displayed in the redirection URL, which looks like :
    MYREDIRECTURL?code=THECODETOGETWITHVBA&state=STATE
    -If VBA could, then it just has to go to this new URL : https://www.linkedin.com/uas/oauth2/accessToken?grant_type=authorization_code&code=THECODETOGETWITHVBA&redirect_uri=MYREDIRECTURL&client_id=MYCLIENTID&state=STATE&client_secret=MYCLIENTSECRET
    -At this point, the last URL returns the access token, which could then be stored somewhere in Excel and thus used in Power Query (pretty easy to do using a headers like this:
    Headers=[#"Authorization"="Bearer Access Token"]])
    Hope someone will see this and tell me if it is feasible and likely to succeed.

  • Power Query Cannot Connect to NAV Database

    I can access the NAV database and get data by PowerPivot, however when I connect to NAV database with Power Query and enter my user name and password.  Power Query will pops out error message "The User Was Not Authorized".  But my account
    works fine in powerPivot.  Can anyone provide me some help please?
    Thanks
    Henry

    In Power Query, there are usually different types of credentials that you can choose on the left side of the dialog. Are you sure you've chosen the right type of credentials (ie. SQL auth vs Windows auth)?

  • How to use Power BI designer preview to access a postgresql database

    We have a postgresql 9.1 database which we want to connect to Power BI Designer Preview. I’ve setup the machine according to the instructions given in support.office.com
    I am getting a error displaying:
    DataSource.Error: PostgreSQL: Failed to establish a connection to <IP>.

    Hi,
    Did you provide your username/password through the Power Query credential dialog?
    What authentication method is the database configured for?
    Tristan
    Hi Abhirich,
    Have you been able to successfully authenticate the user after considering the questions presented by Tristan?
    Regards,
    Michael Amadi
    Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to vote it as helpful :)
    Website: http://www.nimblelearn.com, Twitter:
    @nimblelearn

  • Using an existing connection in the Excel 2013 file in Power Query

    Hi,
    I've created an Excel workbook and a SQL Server data connection in this workbook.
    When I open Power Query I cannot to use this created data connection.
    In general, inside Power Query can I use a data connection created in the original Excel workbook?
    Many thanks

    Following on from Ehren's advice please find the following screen shot and link; -
    https://support.office.com/en-gb/article/Connect-to-a-SQL-Server-database-Power-Query-e5004318-0f2e-46a3-8b15-1559aa3c04db?ui=en-US&rs=en-GB&ad=GB
    Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/

  • Power Query: Connect to Microsoft Access protected by password

    Hi,
    I'm trying to connect to Access 2003 database using Power Query addin in Excel 2010. The access database is protected with password. Power Query returns an error Not a valid password, while i cannot find any place or 'M' formula to pass the password to power
    query. Pls help. 

    I believe we don't currently support connecting to password-protected Access databases from within Power Query.
    I guess a similar situation occurs with password protected excel files?
    Are there any plans to add a functionality to connect to such files?

  • Update to power query does not refresh the pivot table

    Hello all,
    whenever i make a change to power query dataset and do a refresh, the data will not be refreshed on the pivot table build on the power query dataset.
    Is there anything which i missed while updating the powerquery?
    Thanks
    Satya

    I have created the Powerquery dataset and loaded it into Data model. Then i have created the pivot table using the external connection.
    After making changes to dataset and then loaded the dataset to Data model. After these changes, once I click on the refresh pivot table or refresh all from data tab nothing changes on the pivot tables.
    Thanks
    Satya

  • Connecting to aa Oracle Server Using Power Query

    Hi 
    Just got started with Power Query, 
    I want to get connected to the remote Oracle Server, which is used as DB  by our Internal Ticketing system.
    Can Any one let me know how can  I get connected to Oracle Server.  I had gone through some documentation from below link 
    http://office.microsoft.com/en-us/excel-help/connect-to-an-oracle-database-HA104019815.aspx?CTT=5&origin=HA104003952 
    and downloaded the "instantclient-basic-windows.x64-12.1.0.1.0" from Oracle Site too.
    Can some one guide me on how to proceed further.
    Regards
    Surya

    Any ideas for Surya?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

Maybe you are looking for

  • Firefox 3.6.9 on mac running 10.4.11 does not have option for custom headers when printing.

    I am trying to print web content for a college project, it requires custom headers and footers. Firefox 3.6.9 does not have a custom option in the header/footer lists. In the help pages for Firefox is shows this option. Is this missing only on the Ma

  • UCCX 9 on 7816-I5

    Trying to install UCCX on a MCS7816-I5 and receiveing a Hardware not Compatible message after HW verification. As far as this MCS is compatible, do you have any idea of what is happening? All latest firmware and BIOS updates are installed.

  • My MacBook Pro keeps crashing and restarting

    My macbook keeps crashing and restarting itself it is OS X Yosemite 10.10.1, heres some info from the diagnostics report: z  …¤¶Ç)(€€  0ÐÝ ‚€€    ¿¤¶Ç)  z  †¤¶Ç)(€€  0ÐÝ ‚€€    ¿¤¶Ç)  z  †¤¶Ç)(€€  0ÐÝ ‚€€    ¿¤¶Ç)  z  †¤¶Ç)(€€  0ÐÝ ‚€€    ¿¤¶

  • US Time Capsule in EU?

    Hi there! I brought my Time Capsule from the United States to the EU (Scandinavia) and I'm having minor problems here. At first the "Wireless Network Options" dialog doesn't give any other options for county than American ones (US, Canada, Brazil, Ve

  • Person Responsible in cost center master data

    Currently in cost center master data the field -"Person Responsible "is mandatory. How can I delete this definition-meaning make it as not mandatory. Also how can I hide this field. Thanks