How can a program find out if it is running in Windows Server 2016 or Windows Server 2019? - windows-server

It seems both have a version string starting with 10.0 and the only difference is the build number.

Related

Can Not Use SSIS for Oracle

I install the VS 2019 and SSDT after that SQL SERVER 2019 Dev Edition.
[Oracle Destination [223]] Error: The SSIS runtime version 15.0.2000.5
is too low for this Oracle connector. Please install a newer version
of SSIS (later than SQL Server 2019 RTM).
if you are running in Visual Studio by default it will run in 32bit mode because Visual Studio is 32bit. If you also have SQL Server 2019 installed on the same machine then you can run in 64bit mode. You mentioned that you downloaded the 64bit connector, so I suppose you are running the package in 64bit mode, in which case it will launch the package with SSIS bits that came from the SQL Server 2019 installation.
The version 15.0.2070.41 is the RTM version of SQL Server 2019. For the Oracle connector to work properly, it requires at least the CU1 (cumulative update) version of SQL Server 2019 to be installed. The latest one is already CU4 now. See https://support.microsoft.com/en-us/help/4548597/cumulative-update-4-for-sql-server-2019. Please upgrade your SQL Server installation to CU4 and try again.****
After Upgrade, all worked fine!

MySQL ODBC 5.3 64-bit installation

I have run into this Problem trying to install the MySQL Connector/ODBC 5.3 64-bit Version; the 32-bit install runs fine.
I tried on Windows Server 2012 R2.
On my Windows 7 machine bothworked flawlessly.
I have found a lot of Posts suggesting - None of the tips worked:
to install the 64-bit Version BEFORE the 32-bit Version
to install the Microsoft Visual Studio redistributable package, both 64-bit and 32-bit (which I have installed for several years...). I even have the same Versions installed on the Server and on my Client.
to replace some DLLs (msvc*.dll) in C:\windows\syswow64
Finally, the last Suggestion brought me on the right track:
to replace some DLLs (msvc*.dll) in C:\windows\syswow64
together with a Forum post suggesting to not use the installer but the ZIP from the Oracle site.
When running the install.bat from the ZIP I finally got the correct error message:
So I copied the MSVCR120.dll from the C:\Windows\System32 on my Windows 7 machine where the Installation of the 64-bit Driver was working fine before over to the C:\Windows\System32 Windows Server 2012 R2 machine - where indeed it was missing! - and then Installation ran through.

MySQL .NET data provider doesn't appear in results from GetFactoryClasses

An application developed with VS 2010 and .NET 4, originally and successfully deployed on Vista, after installing on Windows 8.1 has exhibited the following problem (after installing the official MySQL data provider version 5.0.9):
A call to DbProviderFactories.GetFactoryClasses returns all the other providers (ODBC, SQL Server, etc.), but not the MySQL provider.
What could be wrong? Is the version not compatible with 8.1? Does the installer not register it so that DbProviderFactories.GetFactoryClasses can find it? Could there be a 64 vs 32 bit issue?

SQL Server 2008 'RECONFIGURE' doesn't work for 'sp_configure filestream_access_level' on Windows 8

Okay, this is strange.
I installed Windows 8 and SQL Server 2008. The database I am working with has FileStream enabled and so I need to enable FileStream. And so, I did:
EXEC sp_configure filestream_access_level, 2
RECONFIGURE
It didn't work.
So I tried using the UI in SQL Server Management Studio. Like this:
Notice under configured value it is displaying "full access"
And under "running values":
And notice under "running values" it is displaying "disabled".
So I did:
Ran RECONFIGURE, it returns Command(s) completed successfully. Didn't work.
Restart SQL Server 2008. Didn't work.
Restart machine. Didn't work as well.
Now I wonder if I RECONFIGURE is broken or my UI is broken. So I tried changing Default Language to UK - English and ran RECONFIGURE. It worked! The language changed to UK under "running values".
So I guess the problem is Filestream access changes didn't get applied. But why?
I am running Windows 8 64 bit and this version of SQL Server:
Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (X64) Jul 9 2008 14:17:44
Copyright (c) 1988-2008 Microsoft Corporation Enterprise Edition (64-bit)
on Windows NT 6.2 <X64> (Build 9200: )
filestream access level Server Configuration Option:
Before this option has any effect, the Windows administration settings for FILESTREAM must be enabled. You can enable these settings when you install SQL Server or by using SQL Server Configuration Manager.

SQLNCLI10 Provider with windows 8

I'm facing a trouble with Windows 8.
I've an application in VB6 using SQL Server 2008 through the net with SQLNCLI10 provider, which I always install with sqlncli10.msi, but when I tried to install in a PC with Windows 8, I can't... said something it's no more supported.
I use ADO for connection, and the string connection is:
Provider=SQLNCLI10;Server=SERVER\SQLEXPRESS;Database=MyDataBase;
Any ideas?
Are you installing on a 64-bit machine? If you are, you may need to create a reference directly to the C:\Windows\SysWow64\sqlncli.dll.