Displaying 20 results from an estimated 7000 matches similar to: "Problems Connecting to SQL Server"
2009 Apr 14
6
SQL Server via DBI/ODBC configuration
I have followed the cookbook on http://wiki.rubyonrails.org/database-support/ms-sql
but am having problems with the rails part. I can connect to the
database using sqsh so I think all the freetds plumbing is good. When
I try to connect to the db with a rake db:migrate or just using script/
console I get this error:
>> Client.find(:first)
DBI::InterfaceError: Unable to load driver
2008 Jun 02
4
Cannot find sqlserver adaptor for ActiveRecord
I have been trying to find the adtiverecord adaptor for MS SQL server
and attempted to install with the command found on the
http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer
wiki page:
gem install activerecord-sqlserver-adapter --source=http://
gems.rubyonrails.org
I then got the error message:
ERROR: could not find activerecord-sqlserver-adapter locally or in
a
2019 Jan 29
3
Conexion a SQLServer
Buenas,
Alguno usa alguno de los paquetes de Microsoft R para la conexion a SQL Server? De ser asi, que paquete y que comandos usais?
Yo hasta ahora he usado odbc, de Rstudio, pero me da siempre problemas con el tipo de datos que tiene SQLServer ...
Un saludo
Jes?s
[[alternative HTML version deleted]]
2019 Jan 30
2
Conexion a SQLServer
Hola,
Yo empleo RODBC, previamente he creado el origen de datos ODBC en mi
equipo y hago:
library(RODBC)
odbc_con <- odbcConnect("origenODBC")
siniestros <- sqlQuery(odbc_con,"
SELECT *
FROM tal.tal")
odbcCloseAll()
Con VPN en remoto y demás, sin problemas. Saludos.
-------- Mensaje Original --------
Asunto: Re: [R-es] Conexion a
2009 Jun 08
2
Connecting to SQLServer
New to rails. Installed rails on my XP desktop, and setup my first app
that will use an existing SQLServer database. I am able to connect to
SQLServer using odbc with following code.
require ''rubygems''
require ''ActiveRecord''
ActiveRecord::Base.establish_connection(
:adapter => ''sqlserver'',
:mode => ''odbc'',
:dsn
2009 Feb 27
1
Realtime mapping for 'queue_log' found to engine 'odbc', but the engine is not available
Hi,
I am trying to log queue_log to odbc (MS SQL) I have res_odbc.conf
configured and modules.conf have
preload => res_odbc.so
preload => res_config_odbc.so
extconfig.conf has queue_log => odbc,asterisk.
When I start asterisk I get the following messages. The important one being:
Realtime mapping for 'queue_log' found to engine 'odbc', but the
engine is not available
2007 Dec 10
8
could not find activerecord-sqlserver-adapter locally or in a repository
I''m trying to connect to a SQL Server db. I thought I installed the
DBI component per the instructions, but its not working.
When trying to start the ruby server, I get the message:
Please install the sqlserver adapter: `gem install activerecord-
sqlserver-adapter`
But when I try to install the repository, I get this error message:
could not find activerecord-sqlserver-adapter
2010 Jan 03
24
SQLServer on Rails
Does any one know how to setup SQLserver with ruby1.9. It was working
on an earlier version and now nothing works! I have installed the
gems dbi ,dbd-odbc and activerecord-odbc-adapter and can connect in
straight Ruby. However, using rails with database.yml nothing works!
I hosed everything and reinstalled rails and now, I get Win32/Parite
virus on ruby.exe. Any ideas? I''m losing
2009 Feb 12
4
Rails & unixODBC
Hello,
I decided to embrace getting a new Rails application to see an
existing MSSQL database and trying to get unixODBC, freeTDS, and
ActiveRecord able to query my MSSQL database.
I''m following the procedure outlined at
http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux
but my system (Ubuntu 8.10 - Intrepid Ibex, Rails 2.3, Ruby 1.8.7)
2006 Jul 26
7
Delete_all causes a deadlock on MSSQL database ???
Hi all,
When i use the ''delete_all'' function to remove a few rows from my
database, it causes a deadlock on the sql server. The delete seems to be
successful, it then redirects to the ''view'' page, and the record does
appear to be deleted as far as the ''view'' rails page shows.
BUT if i go into sql query analyser, i can''t do a
2006 Jan 23
4
Proposal: Deprecate ADO support in the SQL Server adapter
The SQL Server adapter can currently operate in two modes, ADO and
ODBC, each of which uses a different interface to access the db. The
ADO interface is currently the default, while ODBC can be specified as
an option.
I propose this situation is reversed, and that use of the ADO
interface is deprecated, if not removed altogether. Here are some
reasons, I'm sure there are more:
a) ADO uses
2005 Dec 21
4
How can I taalk to our AS/400?
Hello,
I can do this in java, but want to use Rails.
How can I connect to our AS/400?
Thanks
Frank
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2012 May 04
7
Unable to Install ruby-odbc gem on windows 2008 server bit
Hi,
I am trying to install the ruby-odbc gem on windows 2008 server
Enterprise SP2 64 bit version
I have installed the devkit for ruby and it is also getting installed.
When trying to install this ruby-odbc gem some how make.exe file is
getting crashing and I am unable to install it further.
I am able to install the same gem on a 32 bit machine but the same
procedure does not work out on 64
2006 Jan 05
3
MS SQL server connection problems
I am trying to connect to a remote sql server and I am getting the
following error:
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in `connect'': Open
(DBI::Databa
seError)
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
or access
denied.
HRESULT error code:0x80020009
Exception
2011 Jan 06
4
Not able to insert value in rails console
I am using authlogic for authentication in rails 3.0.3 with ruby 1.9.2
Using activerecord-sqlserver-adapter (3.0.5)
windows with sqlserver database
when i create user details in rails console, i am getting below error,
>User.create(:login=>''test'',:password=>''test123'',:password_confirmation=>''test123'')
2008 Jan 17
6
Problems with sqlserver 2000 and ActiveRecord
Hi,
I''m getting some trouble in connecting to a sql server 2000
database with ActiveRecord-2.0.1 and ruby 186-26, from
win XP.
Using the next conenction config:
ActiveRecord::Base.establish_connection(
:adapter => "sqlserver",
:database => "nombre_bd",
:username => "usu",
:password => "contra"
)
I have the next error:
2006 May 29
3
is Sql Server support built in?
Have installed ruby-one-click installer 1.8.4-16 and rails. Am unable to
get an app to talk to by SS2000 database using adapter: sqlserver. Is Sql
Server support built-in, or do I need to install something else?
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory alternative."
--- E.Taft Benson
-------------- next part --------------
An HTML attachment
2007 Apr 12
5
Ruby-ODBC compiled for Windows... Anything newer than 0.997?
Hey :)
We''re doing this large project, based on a legacy MSSQL database.
We''ve had some issues, particularly with datetimes, when communicating
with the server. These issues dissapeared after updating our ruby-odbc
package to a new version (we''re developing on Linux and MacOS X, and
connecting to the remote MSSQL server via FreeTDS and UnixODBC/iODBC,
and then ruby-odbc
2008 Feb 29
17
Is SQL Server not supported in RoR on the Mac?
Hi -- I''ve been having problems connecting to a SQL Server database that
I thought might be related to the fact I was upgrading Rails to 2.0.
However, I also was moving the project to my shiny new macbook.
Anyway, after jumping through a few hoops (instaling DBI, etc.), I
finally get to my latest error message:
<error>
DBI::InterfaceError: Could not load driver (no such file to
2011 Jul 13
1
SQL Server com Ruby on rails
Boa noite pessoal, seu muito trabalho mas consegui fazer conectar o
sqlserver com ruby mas só que quando vou inserir qualquer dado da o seguinte
erro
ODBC::Error: 22008 (242) [Microsoft][ODBC SQL Server Driver][SQL
Server]The conversion of a char data type to a datetime data type
resulted in an out-of-range datetime value.: INSERT INTO [usuarios]
([created_at], [updated_at], [login], [senha],