Installing ngpsql to use PostgreSQL in PowerBI - npgsql

I'm trying to get data from a PostgreSQL database into PowerBI Desktop but it doesn't seem to work. I think the problem is with the installation with npgsql. When trying to setup a new database connection in PowerBI I type in the database and server, and this is the error message I get:
"Unable to connect
Details: "PostgreSQL: We were unable to find a database provider with invariant name 'Npgsql'.
This error could've 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 the 64-bit (x64) version of, at minimum, 'Npgsql version 2.0.12': https://go.microsoft.com/fwlink/?LinkID=282716""
I've tried going npgsql website and install the required components but I can't seem to get it working. I'm not a developer so this is a bit complicated for me. Does anyone know how to get these components installed? I very much appreciate your help!
I'm using Windows 10 on a Surface Pro 3 if this helps. And I do have Visual Studio Community installed as well.
Best,
Bruno.

I have downloaded and tried it with version 3.6.6
Install npgsql
During the installation stage, enabled "Npgsql GAC Installation" as GAC requires Npgsql.
Restart the PC.
It should work now.

The solution from this page helped me: https://community.powerbi.com/t5/Community-Blog/Configuring-Power-BI-Connectivity-to-PostgreSQL-Database/ba-p/12567
Select the option to install to the GAC during install of the program npgsql v3.x.x downloaded from this page https://github.com/npgsql/Npgsql/releases
It worked for me (although I do not know why:-)

When you install Npgsql you should enable installation into the GAC.
Otherwise component will not be automatically detectable to other programs.

Related

Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'

I am using SSIS with Visual Studio 2019 for creating and deploying packages on SQL Server 2019. Initially when my package was running on SSDT I deployed it on SSMS Integration server but there was no output.
So, I Checked in Visual Studio 2019: Project -> Project Properties -> Configuration Properties -> General -> Target Version, which was set to SQL Server 2022, So I changed it to SQL Server 2019.
When I tried to run the package again in Visual Studio 2019 I got this error:
Failed to load the package "Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{037FE238-12C5-4313-AE13-9E116E90ACEA}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).".
I tried registering the C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\DTS.dll using regsvr32 which shows success, but I am still getting the same error.
I also tried registering Microsoft.SqlServer.DTSRuntimeWrap.dll using gacutil.exe, still no luck.
Can someone tell me why am I getting this error and how to solve this.
Thank you in advance.
here is the workaround.
Here is the workaround: Solution Explorer -> right click project ->properties->debugging->Run64bitRuntime->set to false.
taken from https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects#:~:text=SSIS%20Execute%20Package,set%20to%20false.
I had the same problem with my VS 2019 after update to SSIS Projects 4.0. If possible, uninstall this version and install the latest general availability (GA) version 3.16, which can be downloaded here:
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
https://ssis.gallerycdn.vsassets.io/extensions/ssis/sqlserverintegrationservicesprojects/3.16/1645603822968/Microsoft.DataTools.IntegrationServices.exe
It solved the problem, you can run in 64bit runtime after downgrade.
I have only updated SSIS extension 3.16 to 4.0. I got same error. You should change configuration properties from right click project ->properties->debugging->Run64bitRuntime->set to false.
After that when i want to initiate VS, i got this warning '../Visual Studio 2019.lnk side by side configuration is incorrect'. I resolved the problem through repairing of SQL Server Integration Services Projects on Control Panel-->Programs and Properties.
I had the same problem start after updating Microsoft Data Tools Integration Services VS extension because of prompt by VS. The upgrade was to v4.0 which is not yet generally available.
https://marketplace.visualstudio.com/items?itemName=SSIS.SqlServerIntegrationServicesProjects
On that page it states that "Version 3.16 is the latest general availability (GA) version, which does not support target server version SqlServer2022." There you will find a link to v3.16.
Uninstall v4.0 which, given how recently it was released, is probably still in your downloads folder, otherwise use Extension Manager. Then download and install 3.16. Be warned, both the uninstall and retro install were extremely slow.
Without a reboot, I opened the project and the package that failed with v.4.0, ran first time without problem.
Hope this helps somebody.

Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed

I tried to install the Microsoft Dynamics CRM 2013 Report Authoring Extension (with SQL Server Data Tools support) after I successfully installed the Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012 but an error came out saying I didnĀ“t have the requisites, which was Visual Studio 2010.... and I have 2012... so, I downloaded the 2015 version, and once I tried to install it, after the updates and some downloads the setup does, the error: Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed appeared and it wouldn't let me go any further.
I found this article but is not exactly the same error:
https://support.microsoft.com/en-us/kb/2988630
And it lead me to delete some register files.... which is not always the best practice. If I could find something better.
I'm running Windows 8.1.
Anyhelp would be appreciated.
Ok..... I found the solution, as it is documented in this link:
I took a chance and deleted the specified registry.
"Expand the Windows Registry tree to the following registry directory:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0EF1E6B4EFCDA2649B26A424D56DAACD"
The installation ran smoothly afterwards. Thanks for your time.
I got encountered this error while uninstall the MSCRM and I searched a lot but anything not helped.
At last I got resolved this issue when stopped the Microsof CRM Asynchronous Service from service.msc

dnn 7.0 platform 500 internal server error

im trying to install DNN platform on windows 8 via web platform installer but i keep getting the following error:
this product did not download successfully. the remote server returned an error: (500) internal server error.
can anyone tell me what am i missing here?
I personally would recommend doing a manual installation of DNN. The web platform installer can have problems, and when it does, tracking them down is rather difficult.
I have had a few issues with Web platform installer trying to install Joomla CMS where it constantly fails midway. For DNN, I always do it manually which is not too hard. If you chose this option, find instructions here and even better instructions here if you want to to be able to access the db with Sql Server Management Studio for development purposes. Check out the system requirements here for different versions of DNN

NuGet - Package Manager Not Connecting to Remote Server

In Visual Studio 2012 I try clicking the "Manage NuGet Packages..." option on a project and when the package manager opens it tries to load for a while before giving me "Unable to connect to remote server".
There is a similar question here: Visual Studio/C#: Nuget Unable to connect to remote server
but it doesn't appear to have any answer that I can see.
I have tried updating Visual Studio 2012 as well as updating NuGet (the "Extensions and Updates" option still works just fine) and then restarting but no such luck. It was working earlier, but I have since created a new database connection using the Database Explorer. I don't know if that would affect anything but that's the only change I could think of that I've made since it was working.
Please let me know if you need any other information.
Edit: Okay so apparently this fixes itself after a while. But only AFTER you've submitted a question about it... sigh. I'd still like to know what the issue is if anyone has any idea, but at least it's working now.
While you could certainly access the cached packages on your own machine, if you're working in a team you could install ProGet as an intermediary NuGet server, and it will automatically cache the remote packages on your network for your team.

SSRS - Uninstall Trial Version of VS Business Intelligence

I want to know how to fully uninstall MSSQL 2005.
I've been using the Trial version of SQL Server Reporting Services for a while now. My company finally purchased the software from an online distributor, and for support of Oracle, we needed to upgrade to MSSQL 2005 SP2. Anyway, the "full" version of the software would not install, as it was already installed (It seems the installer doesn't recognize what was installed was the trial version). So I tried uninstalling MSSQL 2005, and everything related (including visual studio), I can not seem to get it reinstalled. The error is a vague error message, and when i click the link to get more information, the usual "no information about this error was found" error.
Microsoft SQL Server 2005 Setup
There was an unexpected failure during
the setup wizard. You may review the
setup logs and/or click the help
button for more information.
For help, click:
http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=50000&EvtType=packageengine%5cinstallpackageaction.cpp%40InstallToolsAction.11%40sqls%3a%3aInstallPackageAction%3a%3aperform%400x643
BUTTONS:
OK
#Mark Struzinski
I actually discovered that it was a problem with the installer, when installing the "Full Version". I discovered, since the product was downloaded, instead of delivered on CD/DVD, that the installer was looking for information in a path that was not correct. There was a MS Knowledge Base article on the topic. Thanks for your reply, tho
I had the exact same problem, and this article helped me clean up all the related files from my system and do a fresh install of both Visual Studio and the SQL client components. Give it a try and let me know if it helps you out:
http://support.citrix.com/article/CTX115270

Resources