Is Coldfusion 9 compatible with MS SQL Server 2014 and 2016? - coldfusion

Currently in our setup, Coldfusion 9 is connected with MS SQL Server 2008 R2. We will migrate our sql server to MS Sql server 2014/2016. Is Coldfusion 9 compatible with MS SQL Server 2014 and 2016?

Related

Issue with my odbc connector 8.0 that connects to mysql8 in centos7

I tried to connect using isql command (Both are AWS EC2)
# isql -v WebDB
[S1000][unixODBC][MySQL][ODBC 8.0(w) Driver]Can't connect to MySQL server on 'ip:3306' (110)
[ISQL]ERROR: Could not SQLConnect
But I can able connect manually
~**]# mysql -h ip -u useranme -p $pwd**
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 304
Server version: 8.0.29 MySQL Community Server - GPL
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]>
I tried to restart opensips that need to connect remote mysql8
/usr/local/sbin/opensips[2905]: ERROR:db_mysql:db_mysql_connect: driver error(2003): Can't connect to MySQL server on 'ip'
/usr/local/sbin/opensips[2905]: ERROR:db_mysql:db_mysql_new_connection: initial connect failed
/usr/local/sbin/opensips[2905]: ERROR:core:db_do_init: could not add connection to the pool
[2905]: ERROR:dialog:init_dlg_db: unable to connect to the database
/usr/local/sbin/opensips[2905]: ERROR:dialog:mod_init: failed to initialize the DB support

Django remote server is running but I cannot connect to admin interface in local web browser

So I have set up my Django server through an SSH connection to my remote server. It shows me that the server is actually running:
August 10, 2020 - 04:09:47
Django version 3.1, using settings 'risk_areas.settings'
Starting development server at http://xx.xxx.xxx.xxx:8000/
Quit the server with CONTROL-C
However, if I try to go to the URL above (with my IP address in it) it gives me a connection time out error. What might be the reason for this?

Angular: ng test runs but doesnt execute test cases

I get the below messages after executing command ng test. It runs with out any errors but doesn't execute test cases. Any idea why it's not executing the tests?
My project is upgraded from Angular 2 to 4, 5 & now 6. Is it because the karma library has not upgraded properly?
I have created new Angular 6 project and tried ng test it works there but doesn't work on my project. I have deleted the node_modules folder and installed it by npm install, but it is still not working. Any other sugessions?
10% building modules 1/1 modules 0 active(node:9836) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead
28 06 2018 11:23:24.302:WARN [karma]: No captured browser, open http://localhost:9876/
28 06 2018 11:23:24.399:INFO [karma]: Karma v1.7.1 server started at http://0.0.0.0:9876/
28 06 2018 11:23:24.402:INFO [launcher]: Launching browser Chrome with unlimited concurrency
28 06 2018 11:23:24.426:INFO [launcher]: Starting browser Chrome 95% emitting CopyPlugi
28 06 2018 11:24:31.561:WARN [launcher]: Chrome have not captured in 60000 ms, killing.
28 06 2018 11:24:42.702:WARN [karma]: No captured browser, open http://localhost:9876/
28 06 2018 11:24:43.272:INFO [launcher]: Trying to start Chrome again (1/2).
28 06 2018 11:24:48.951:INFO [Chrome 67.0.3396 (Windows 7 0.0.0)]: Connected on socket VC2A92U8dwahjxB5AAAA with id 78549298
Chrome 67.0.3396 (Windows 7 0.0.0): Executed 0 of 41 SUCCESS (0 secs / 0 secs)
28 06 2018 11:25:16.507:WARN [Chrome 67.0.3396 (Windows 7 0.0.0)]: Disconnected (1 times), because no message in 10000 ms.
Chrome 67.0.3396 (Windows 7 0.0.0) ERROR
Chrome 67.0.3396 (Windows 7 0.0.0) ERROR Disconnected, because no message in 10000 ms.
Chrome 67.0.3396 (Windows 7 0.0.0): Executed 0 of 41 DISCONNECTED (10.004 secs / 0 secs)
Chrome 67.0.3396 (Windows 7 0.0.0) ERROR
Chrome 67.0.3396 (Windows 7 0.0.0): Executed 0 of 41 DISCONNECTED (10.004 secs / 0 secs)
I got this working by removing ngx-translation import. But its not fix as with out importing translation I wont be able to proceed further.
Anyone implemented the ngx-translation in Unit test cases.
This happens when jasmine goes in to a loop. Actually because of my translate service, It was going in the loop and which was causing karma not to run any test cases and exit, giving error 0 of 43 test executed.
Just for the information:
To find the exact issue about this, run the test case with -sm=false.
C:\Angular>ng test -sm=false
I was stuck in this for a while. Above command gave me the exact issue needs to be resolved. Hope it will be helpful to others getting this issue.

nanodbc connecting to MSSQL from Linux

I'm getting an "Invalid attribute value" when I try to connect to MSSQL from Linux.
My current /etc/odbcinst.ini file looks as follows:
[ODBC Driver 17 for SQL Server]
Description=Microsoft ODBC Driver 17 for SQL Server
Driver=/opt/microsoft/msodbcsql17/lib64/libmsodbcsql-17.1.so.0.1
Trace=yes
TraceFile=/home/mercury/Desktop/tracefile.txt
UsageCount=1
[ODBC Driver 13 for SQL Server]
Description=Microsoft ODBC Driver 13 for SQL Server
Driver=/opt/microsoft/msodbcsql/lib64/libmsodbcsql-13.1.so.9.2
UsageCount=1
My /etc/odbc.ini file looks like follows (information removed):
[TestServer]
Driver = ODBC Driver 17 for SQL Server
Server = $IP, $PORT
Database = $DATABASE
UserName = $Username
Password = $Password
If I run isql, I can connect with this command:
isql -v TestServer $Username $Password
Before I do the connection with nanodbc I print out the connection string that will be used which is:
DRIVER={ODBC Driver 17 for SQL Server};SERVER=$Server,$Port;DATABASE=$Database;Uid=$Username;Pwd=$Password
I then do:
nanodbc::connection(connectionString); which is where I get the
[unixODBC][Driver Manager]Invalid attribute value
error message.
So after a REALLY long time this turned out to be an issue with Ubuntu 16.04.
unixodbc on Ubuntu 16.04 reports its version wrong so when compiling nanodbc it uses the wrong version of unixodbc.
To fix this, recompile nanodbc with this cmake flag on:
For example:
mkdir build
cd build && cmake .. -DNANODBC_ODBC_VERSION=SQL_OV_ODBC3
This fixed the issue for me.
For future reference, this ticket was the answer: https://github.com/lexicalunit/nanodbc/issues/149

Angular 5 Headless Browser unittesting

I am running unit test using karma, jasmine with Angular 5. As I am deploying on a server we are running them using HealdessChrome.
Everything is working fine on my local computer. However, It's getting stuck on the ubuntu server.
05 03 2018 07:43:02.132:INFO [HeadlessChrome 64.0.3282 (Ubuntu 0.0.0)]: Connected on socket 9NdPfrccf8iYNlPrAAAA with id 56814881
05 03 2018 07:45:21.364:WARN [HeadlessChrome 64.0.3282 (Ubuntu 0.0.0)]: Disconnected (1 times)
HeadlessChrome 64.0.3282 (Ubuntu 0.0.0) ERROR
Disconnectedundefined
For information, it's working using Firefox Headless.
Thank you for your help!