DB2 Client Installation Error - database

I am facing problems while installaing db2 client in my system. Initially I got an error: Cannot find XML_0017.cab.
Then I cancelled the installation, selected the custom installation option and removed all the options related to XML (i.e. XML Extender and the XML Extender Samples) and tried to install. Now i can see that WEBD0000.CAB file is missing.
I am not able to understand how to proceed with the installation. Am I missing something?

DB2 9.1 was not supported on Windows 7 at all. IBM ended support of DB2 9.1 in April, 2012.
I would suggest you download a more recent version of the Data Server client from IBM's website.

CAB file, I assume this is a windows installation.
My DB2 on windows is a little rusty but if this is a client install you should not have to install "XML anything" unless you installing some kind of addon for Visual Studio.
What file did you download?
Can you include a file name, url link etc.?

Related

"Unexpected error from external database driver (1)."

I have .xlsx file with 27,000 rows. When executing the SSIS package on the server I get the above error. I have tried running the package in 32-bit mode, it did not work. Microsoft does not have a good explanation. I have installed access driver on my machine and on the server.
Assuming that you tried running in 32-bit, and you downloaded Access Database Engine and the issue is not solved
This is caused by a windows security update, this is noticed in the Microsoft Support article, also they provided patches link.
There is a similar question on MSDN about this issue, read the accepted answers:
Unexpected error from external database driver (1)
Side Note: Try opening the Excel and saving it as new Excel workbook to ensure that the excel is not damaged
Remove the Ace Oledb driver 10 and install Ace 2016 version .The Security patch Microsoft provided in October 2017 is causing this issue. Test your SSIS package locally ,if everything is fine install Ace 2016 version on your server .
Here is the download link:
Microsoft Access Database Engine 2016 Redistributable
This issue is caused if the Excel file is in Read-Only mode. Changing the Read-Only mode will fix the issue.

Features are missing installing MS SQL SERVER 2016 with SQL Server R Services using web installer and command line

I am trying to install MS SQL SERVER 2016 with SQL Server R Services using web installer and command line.
I am doing this based on this article https://msdn.microsoft.com/en-us/library/mt695943.aspx
Using same web installer, but not command line works perfectly. All desired features are there.
Problem is that command line installation installs only SQLEngine and Replication features.
Logs investigation does not help much. It seems that proper files have not been downloaded and this is the reason why they are missing
My command line is:
SQLServer2016-SSEI-Expr.exe /ConfigurationFile=C:\temp\configuration.ini /IACCEPTSQLSERVERLICENSETERMS /MediaPath=C:\SQLSetup /ENU
And the configuration file content is
[OPTIONS]
Action=Install
INSTANCENAME=MSSQL2016
FEATURES=SQL,AdvancedAnalytics
IACCEPTROPENLICENSETERMS
SECURITYMODE=SQL
SQLSYSADMINACCOUNTS="<username>"
SAPWD="%password%"
What am I doing wrong?
Update: Logs: https://dl.dropboxusercontent.com/u/3028367/20161005_093914.zip
Update 2: I think I have found the reason for missing files
When I run SQLServer2016-SSEI-Expr.exe /? I get this out put:
Optional settings for basic install
==================================
D:\Downloads\SQLServer2016-SSEI-Expr.exe [/ConfigurationFile=C:\Configuration.ini] [/IAcceptSqlServerLicenseTerms] [/Med
iaPath=C:\SqlServer2016Setup] [/ENU]
ConfigurationFile Specifies the ConfigurationFile to use.
IAcceptSqlServerLicenseTerms Required to acknowledge acceptance of the license terms.
MediaPath Location where SQL Server setup media will be downloaded and extracted to.
ENU Use this parameter to install the English version of SQL Server on a localized operating
system.
"Basic!" I need "custom" It is available with the same installer if I use UI
It seems your INI file asks SQLServer to install only few features like SQLEngine and analytics.
when you specify
FEATURES=SQL,Tools
SQL will install..
. The SQL feature will install the database engine, replication, and full-text. The Tools feature will install Management Tools, Books online, SQL Server Data Tools, and other shared components
when you specify
FEATURES=SQLENGINE,REPLICATION,FULLTEXT,CONN,IS,BC,SDK,SSMS,ADV_SSMS,OCS
It will install all the above mentioned features
so you might be missing some features due to the way you are specifying
Due to this article https://support.microsoft.com/en-us/kb/3192738 only basic installation is supported by web installer, at least at this point

Installing ngpsql to use PostgreSQL in PowerBI

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.

Oracle SQL Developer connection to Microsoft SQL Server

I have been trying without any success to get the latest version of Oracle SQL Developer (4.0.2) to connect to Microsoft SQL server using Windows authentication. I have downloaded and copied the ntmlauth.dll (and also JtdsXA.dll) file from jtds-1.3.1-dist to every location I can think of that developer would be looking for it but when I try and set up a new connection via the SQLServer tab clicking on the "Use Windows Authentication" option, all I get is the message "Status: Failure -I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property." I can however connect to the database using Toad for SQL Server or SSMS without any problems, but would prefer if possible to use SQL Developer.
Just copy ..\jtds-1.3.1-dist\x64\SSO\ntlmauth.dll to -> ..\sqldeveloper\jdk\jre\bin folder for x64 systems. Copy-paste similar folder contents for x86 systems as well.
I had the exact same problem. I eventually got it to work by placing the ntlmauth.dll in the jdk\jre\bin folder under the sql-developer directory itself. For some reason sql-developer ships with its own jdk, which I found by browsing around. I spent hours trying to figure out why the placement of the aforementioned DLL in the various system level jre directories (i.e. C:\Program Files\Java\jre7\bin) didn't work.
If anyone here knows why placement of ntlmauth.dll in the sql-developer\jdk\jre\bin folder worked while placement in the system level jre folders did not I would be interested.
My OS = Windows 2007 64-bit
jtds = jtds-1.2.7
The reason is pretty simple; SQLDEVELOPER doesn't know about the system level jre that was installed. Oracle bundles SQLDEVELOPER with and without JAVA. If you downloaded the one without java then when you first start the app you will be prompted for the location of the java_home. If you install the SQLDEVELOPER version that already has java installed then it just works -- no prompt. In your case, you installed the version with java already packaged with the app.
So the root of the question then is the system level jre is not used by SQLDEVELOPER (in your particular installation) so the ntlmauth.dll that you placed in that directory is never used.
After adding jTDS drivers (jtds-1.3.1) to Oracle SQL Developer (Tools->Preferences->Database->Third Party JDBC Drivers), I located the SQL Developer's ide.conf file and added the following lines:
#jTDS
Add64VMOption -Djava.library.path=../../drivers/jtds-1.3.1-dist/x64/SSO
Add32VMOption -Djava.library.path=../../drivers/jtds-1.3.1-dist/x86/SSO
This adds to JVM Library Path the location of ntlmauth.dll library

How can I install SQL Server Express 2008 with Advanced Services?

Has anyone successfully installed SQL Server Express 2008 with Advanced Services?
I've tried several times and half way through the installation I always get the error:
The downloaded file appears to be corrupt.
I found this thread on MSDN but it seems that no one there could get it to work. They were only successful in installing the 'SQL Server 2008 Express with Tools' (default) option.
I need to have Full-text Search so I need the 'Advanced Services' option. If anyone has successfully installed this then would be they so kind as to share the method used?
My experience in XP Pro SP3 and how I got through it. I went to the download page and clicked on the download link to install any version which downloads a bootstrapper (SQLEXP32_x86_ENU_Bootstraper.exe) which if you select the advanced services edition fails to load the install file (SQLEXPRADV_x86_ENU.exe) . After many headaches,disk cleanup, etc. I tried the link for the specific advanced services edition. This downloads the file (SQLEXPRADV_x86_ENU.exe) itself which can then be run. I had to run it from the command prompt, but that's probably just my persinickety system. At any rate, while there are probably more problems ahead, at least this get the installer running. It comes up with the SQL Server Installation and you have to step through it manually.
BTW I tried to post this to the social.microsoft site but couldn't log in.
Just curious if you've tried re-downloading the file from Microsoft's servers? If I remember right there was a 'blip' where some of the files posted to the servers were, in fact, corrupt.
I agree with Thomas that there are some really funny things going on with XP SP3 and SQL Server 2008 installs, particularly if you use a non-English locale. But the log files in that case should yield problems indicating an MSXML 6 problem (due to the MSXML files becoming protected), not a corrupt download file.
If you download the file again and run it, can you post the contents of the most recent Summary*.txt file you find on your C: drive? Just search for summary*.txt and it should be in a folder like...
%Program Files%\Microsoft SQL Server\Setup Bootstrap\Log\
...(but I forget exactly where Express puts this). This log file may yield better errors than the handful of exceptions the GUI has been coded to handle.
Visit http://forums.extremeoverclocking.com/t303972.html
as of Nov 2009 the SQLEXPRADVx86ENU.exe claims to be 502M on the download page, but downloads as 356M, and does not execute. This happens on both a T1 and a DSL connection, so I'm fairly sure it's not the download failing.
I was able to install the "Runtime with Advanced Services" by using the unpleasantly painful Web Platform Installer.

Resources