Ruby Odbc

XxMasonxX

LOMCN Member
Jun 2, 2011
232
1
45
I got a set of files, Installed sql and management studio etc etc etc - all installed and connected fine.

Goto admin tools to set up the ODBC and some reason when I add a new connection it fails

anyhelp is appriciated

Mason (bck on the game)
 

XxMasonxX

LOMCN Member
Jun 2, 2011
232
1
45
Connection Failed:
SQLState: '01000'
SQL Server Error: 2
[Microsoft}{ODBC SQL Server Driver][Shared Memory]ConnectionOpen
(Connect()).
Connection Failed:
SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC Server Driver][Shared Memory]SQL Server does not exist or access denied.



this is the error message i keep getting dude
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,211
1
144
260
Southern England
Do you have any drivers listed under the drivers tab ?

odbc1.png

... and have you added the particular tables you want to connect to ?

odbc.png


It might be an issue of a missing driver due to differences between windows version and SQL version.
 
Upvote 0

XxMasonxX

LOMCN Member
Jun 2, 2011
232
1
45
Right Drivers are all there but still get the errors when i try and connect ODBC to SQL lom2account etc :)
 
Last edited:
Upvote 0

daneo1989

I am Ancient.
Staff member
Moderator
Dec 5, 2005
5,963
1
223
280
UK
Make sure you are using the correct Local Address, and Username + Password
 
Upvote 0

XxMasonxX

LOMCN Member
Jun 2, 2011
232
1
45
Make sure you are using the correct Local Address, and Username + Password

Ye i followed the guide down to a T, just stuck at connecting ODBC to SQL, I downloaded the Driver and installed but still hitting same results

chers for replys
 
Upvote 0

Ardbeg

Legend
Legendary
Aug 8, 2004
3,211
1
144
260
Southern England
Under UserDSN, select a database and then select Configure.
Name = Database name ie LOM2Account, Description = blank, server name as XYZ-PC\SQLEXPRESS or similar.
Have the ODBC set to work with SQL authentication like the main database and tick the tickbox for connect to SQL. Enter the ID and pw in the fields then click next. (You could also deselect the tickbox then carry on to the end and test the datasource.)

Change the default database should be ticked and the relevant database selected. Click next then click finish.
Click Test Datasource.
 
Upvote 0

XxMasonxX

LOMCN Member
Jun 2, 2011
232
1
45
ArdBeg your a genie, came home from work just follewed what you said and its worked, fkkin love ya

On the Guide it states to select the server name from the drop down menu, it does not state that that SQLEXPRESS should be manually entered.

so for example:

Server : STEPHEN-PC <<<<< this is wrong

should be

Server : STEPHEN-PC\SQLEXPRESS

and this is not stated on the guide :P
 
Last edited:
Upvote 0