Welcome, Guest
Please Login or Register.    Lost Password?

Cant conect with ms sql
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 12
TOPIC: Cant conect with ms sql
#560
Cant conect with ms sql 1 Year, 8 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#561
Re:Cant conect with ms sql 1 Year, 8 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)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
viljem
Admin
Posts: 181
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#562
Re:Cant conect with ms sql 1 Year, 8 Months ago Karma: 1
if you have mssql 2000 type in DB type: mssql2000

for 2005 or 2008: mssql

Best regards,
Viljem
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
viljem
Admin
Posts: 181
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#564
Re:Cant conect with ms sql 1 Year, 8 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#567
Re:Cant conect with ms sql 1 Year, 8 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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
viljem
Admin
Posts: 181
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/06/07 02:09 By viljem.
Reply Quote
 
#568
Re:Cant conect with ms sql 1 Year, 8 Months ago Karma: 0
well finally migrate to mysql and now works ok !
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
marxxelo
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12
Moderators: tomaz
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting