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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

cannot connect to a remote SQL server
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: cannot connect to a remote SQL server
#54858
cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 0
Hi,

I have a remote sql server running on a dns host name (with dyndns) on port 1433.
I can access it without problems from home on that port using different tools.

When i fill in the hostname (sqlXXXX.dyndns.org:1433) user and correct password, I cannot access the data using ARI data tables.

Can you please help?
The administrator has disabled public write access.
 
#54859
Re:cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 760
Hello,

It is possible to connect via ODBC to MS SQL database. For this check that PHP_ODBC PHP extension is installed on your web server, ODBC driver is installed on database server and an ODBC source is registered on server where your site is located.

Value of "Host" parameter will look like:

Driver={SQL Server Native Client 10.0};Server=sqlXXXX.dyndns.org:1433;Database=ReportsDB;

Regards,
ARI Soft
The administrator has disabled public write access.
 
#54866
Re:cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 0
Hello,

My provider told me that ODBC php is never installed on shared webhosting services so this is not possible using ODBC.
in the description it says your software can read from MSSQL and MS SQL is also selectable in the module? So why do need ODBC then?
The administrator has disabled public write access.
 
#54867
Re:cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 760
It is not true about ODBC extension. For example PHP ODBC extension is installed on BlueHost (HostMonster) shared hosting. This is enough popular hosting.

Some technical information, it is not possible to connect directly in PHP to a DB server. A PHP extension is used for this purpose. For each database type (MS SQL, Oracle and etc.) uses different PHP extensions and this extension should be installed on your server. When "MS SQL" option is selected in module settings, the module tries to connect to MS SQL server using MS SQL PHP extension which were available till PHP 5.2.0 (i can mistake in this version, but in any case it is an old version of PHP). This is not available for latest PHP versions. Another PHP extension exists, but they are not official and buggy enough so it is preferable connect to MS SQL server via ODBC. We leave this option for old "ARI Data Tables" customers to provide a backward compatibility.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#55001
Re:cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 0
Hi,

i changed the hosting to bluehost shared hosting and I have still the same problem.
can you please say what i have to fill in in the different fields?


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

Thanks
The administrator has disabled public write access.
 
#55005
Re:cannot connect to a remote SQL server 9 Years, 5 Months ago Karma: 760
Hello,

Register an ODBC source on server where your site is located (can contact hosting support to get more information about it).

Value of "SQL -> External database -> Host" parameter in module settings will look like:

Driver={SQL Server Native Client 10.0};Server=sqlXXXX.dyndns.org:1433;Database=ReportsDB;

Exact value depends on version of your MS SQL and installed drivers, path to your server and name of your database.

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