Welcome, Guest
Please Login or Register.    Lost Password?

Cant conect with ms sql
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Cant conect with ms sql
#560
Cant conect with ms sql 3 Months ago Karma: 0
hi,

i installed ok, ok conection with mysql, but i need Ms sql...

the error

Unable to connect to the database:The MSSQL adapter "mssql" is not available.


any idea?

thanks
marcelo
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#561
Re:Cant conect with ms sql 3 Months ago Karma: 1
Hi,

1. copy ntwdblib.dll to folder where php is installed (e.g. \xampp\php) and also to apache\bin
2. out comment extension=php_mssql.dll in php.ini (delete ; before)
3. try to connect (also try with e.g. SQL server Management Studio if connection is ok)

please see documentation:
si2.php.net/manual/en/mssql.requirements.php
www.helpspot.com/helpdesk/index.php?pg=kb.page&id=13

*if you still cannt connect send me mail customers@toolsjx.com, I will send you my ntwdblib.dll (i think also correct dll version is needed)
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#562
Re:Cant conect with ms sql 3 Months ago Karma: 1
if you have mssql 2000 type in DB type: mssql2000

for 2005 or 2008: mssql

Best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#564
Re:Cant conect with ms sql 3 Months ago Karma: 0
well, i did what you say, but error change.

Unable to connect to the database:Could not connect to MSSQL server H2ASERVER\SQLEXPRESS

my server is w2003server, sql2005 express.

so i use in your soft.
mssql
H2ASERVER\SQLEXPRESS (same than in sqlmanagement)
adminpinamar (same than in sqlmanagement)
pinamar (same than in sqlmanagement)
******* (same than in sqlmanagement)

i try this running inside my server.

when i use this credentials in sql i can conect, but not in cardview.

thanks,
Marcelo
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#567
Re:Cant conect with ms sql 3 Months ago Karma: 1
Hi,

mssql adapter is ok now.

can you check if your credentials to connect to mssql are ok? Case sensitive, user that can connect, ...

Can you replace line 64 with this line below in
\libraries\joomla\database\database\mssql.php
Code:


$this->_errorMsg = 'Could not connect to MSSQL server ' . mssql_get_last_message();



Hope we get some more info about your error.

Best regards,
Viljem
viljem
Admin
Posts: 152
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/07 02:09 By viljem.
The administrator has disabled public write access.
 
#568
Re:Cant conect with ms sql 2 Months, 4 Weeks ago Karma: 0
well finally migrate to mysql and now works ok !
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 12
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting