Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Trouble connecting to external MSSQL
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Trouble connecting to external MSSQL
#53633
Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 0
Hello,

I'm having issues connecting to an external MSSQL server (2005). First I got the message:

ARI Data Tables: Couldn't connect to external database.

I installed the MSSQL driver for PHP, and now I get the message:

(mssql): SELECT * from table_name
Error (102):
No data available.


My server is running Ubuntu 14.04 LTS/PHP 5.5.9 and Joomla! 3.4.0

Any suggestions how I can connect?

Regards,

Arne Kristian
The administrator has disabled public write access.
 
#53638
Re:Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 747
Hello,

Try to connect to MS SQL via ODBC. Some information about it can be found here (see "F.A.Q. and troubleshooting" section).

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53647
Re:Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 0
I select connection type ODBC and use Host: Driver={SQL Server Native Client 10.0};Server=DBHOST;Database=DBNAME;

I now get the errormessage: ARI Data Tables: Couldn't connect to external database.

Installed the following ODBC driver askubuntu.com/questions/167491/connecting-ms-sql-using-freetds-and-unixodbc-isql-no-default-driver-specified


Get the following message in the apache2 error.log.

PHP Warning: odbc_connect(): SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /var/www/html/modules/mod_aridatatables/includes/kernel/DB/ADODBLite/adodbSQL_drivers/odbc/odbc_driver.inc on line 42, referer: intranett
The administrator has disabled public write access.
 
#53648
Re:Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 747
Check that ODBC source is registered on server where web server is located.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53649
Re:Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 0
It is now, but I still get the same message from the debug: ARI Data Tables: Couldn't connect to external database. No errors in tha apache log file now.
The administrator has disabled public write access.
 
#53650
Re:Trouble connecting to external MSSQL 9 Years, 1 Month ago Karma: 747
Could you provide a temporary access to your J! backend by email and a link to a page where the problem occurs so we can investigate it?

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12