I have read this: https://knowledge.safe.com/articles/281/failed-to-connect-using-sql-server-2012-native-cli.html
And tried to fix it with all these steps, with no luck.
UPDATE: With respect to workspaces these was updated from FME Server 2015.1.3.1 - Build 15573 - win64 to FME Server 2016.1.2.1 - Build 16674 - win64
2017-01-24 20:12:10| 0.1| 0.0|INFORM|FME Configuration: Using Named Connection values from 'XXX' for MSSQL_ADO_1
2017-01-24 20:12:10| 0.1| 0.0|INFORM|Creating reader for format: Microsoft SQL Server Non-Spatial
2017-01-24 20:12:10| 0.1| 0.0|INFORM|Trying to find a DYNAMIC plugin for reader named `MSSQL_ADO'
2017-01-24 20:12:10| 0.1| 0.0|INFORM|FME API version of module 'MSSQL_ADO' matches current internal version (3.8 20160224)
2017-01-24 20:12:10| 0.1| 0.0|INFORM|Microsoft SQL Server Non-Spatial Reader: Read 2 DEF line(s). Found 9 attribute(s)
2017-01-24 20:12:10| 0.1| 0.0|INFORM|Microsoft SQL Server Non-Spatial Reader: Opening `XXX' for read operation
2017-01-24 20:12:10| 0.1| 0.0|INFORM|Microsoft SQL Server Non-Spatial Reader: Trying to connect using SQL Server 2012 Native Client...
2017-01-24 20:12:25| 0.1| 0.0|ERROR |Microsoft SQL Server Non-Spatial Reader: Failed to connect using SQL Server 2012 Native Client. Provider error '(-2146824582) Provider cannot be found. It may not be properly installed.'. Connection string 'Provider=SQLNCLI11;DataTypeCompatibility=80;Data Source=XXX;Initial Catalog=XXX;User ID=XXX;Password=********'
2017-01-24 20:12:25| 0.1| 0.0|INFORM|Microsoft SQL Server Non-Spatial Reader: Trying to connect using SQL Server 2008 Native Client...
2017-01-24 20:12:25| 0.1| 0.0|ERROR |Microsoft SQL Server Non-Spatial Reader: Failed to connect using SQL Server 2008 Native Client. Provider error '(-2147467259) Named Pipes Provider: Could not open a connection to SQL Server [5]. '. Connection string 'Provider=SQLNCLI10;DataTypeCompatibility=80;Data Source=XXX;Initial Catalog=XXX;User ID=XXX;Password=********'
2017-01-24 20:12:25| 0.1| 0.0|ERROR |Failed to open reader
And these
2017-01-24 20:11:55| 16.9| 0.8|ERROR |Microsoft SQL Server Non-Spatial Reader: Query failed, possibly due to a malformed statement. Query Text `select count(*) as _numodptot from dbo.XXX where XXX= XXX'. Provider error `(-2147467259) Named Pipes Provider: Could not open a connection to SQL Server [5]. '
It happens randomly, on different workspaces, we have a group of 10 workspaces running every 1-5-10 minutes)
It seems some connection,issue - however this does not exist on the staging server (same FME Server version etc). During the upgrade we replaced the Embedded database parameters with Database Connections to simplify things, not sure if that is messing up stuff. Also the SQLExecutors, Joiners, Readers connecting to the MSSQL was created with FME2015 in the beginning and havent been deleted/recreated. The Joiners have been Upgraded to the latest version. Nor sure if there is some changes with the MS SQL Reader / Writer / Joiner that has changed how to connect to MSSQL and that might be an issue? Seems to work fine on FME Desktop 2016 with no issues.
Any help or suggestions appreciated!