similar to: Connectivity to Microsoft SQL Server using ADO

Displaying 20 results from an estimated 1000 matches similar to: "Connectivity to Microsoft SQL Server using ADO"

2006 Mar 28
8
Problem connecting with an SQL Server 2000 database
Hi, I?m working on a rails application that uses data from an existing ms sqlserver 2000 database. Unfortunately I can?t get the connection to work properly. I used http://wiki.rubyonrails.com/rails/pages/HowtoConnectToMicrosoftSQLServer to make the connection. - Inserted the ado.rb - Changed my database.yml to development: adapter: sqlserver database: database_name host:
2006 Apr 05
0
[SPAM] Problem with scaffolding on test setup
Yet another newbie question here. My setup is thus: I have lighty running with scgi (working fine) on windows XP sp 2. Rails 1.1 and ruby 1.8.x. The server and scgi are working. I know this because I can get a test page to work easily enough. I did the following: ruby script\generate model Recipe [following the Rolling with Rails Tutorial] ruby script\generate controller Recipe I also
2006 Jun 14
0
Mssql Multiple Database Access Error
Hi All, I am having a problem to access multiple databases with mssql I am running Ruby 1.8.4 and Rails 1.1 on Windows 2000 Advanced Server. I am simply trying to integrate the application I wrote before for Oracle to Mssql. The application works perfectly with Oracle with the installed driver OCI8. The app retrives data based on a search criteria from those databases. I followed the directions
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 Jun 03
1
Unable to connect to ms sql server.
I get the following error message when trying to connect to ms sql server: Open OLE error code:80040E4D in Microsoft OLE DB Provider for SQL Server Login failed for user ''XXXXXXXX''. HRESULT error code:0x80020009 Exception occurred. I google''d for those error codes but nothing useful so far. To set up ruby for ms sql server, I followed the
2006 May 01
1
Rails: Ho to connect to SQL Server
Hi, I tried the steps explained in this link: http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServer The article t refers me to: src/lib/dbd_ado/ADO.rb But the file: dbi-0.1.0.tar.gz does not contain the src folder. Instead, it contains this file: \lib\dbd/ADO.rb Am I missing some steps, or this is a document inconsistency? Thank you, Alan -- Posted via
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all... Please help me solve the issue. While trying to create a connection with MS SQL database in RubyOnRails, I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net for the same.) System details: OS: Windows Xp Ruby version: 1.8.6 Rails: 2.1.2 Gems: 1.3.1 RadRails: 0.7.2
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
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
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 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they are Microsoft-heads. While I can probably sell them on trying Rails, they are definitely going to want the database to sit in our SQL Server instance with our other databases. I can''t get instiki to create the tables in sql server though (I''ve added ADO.rb, and gotten a connection). When I run the
2006 Nov 04
0
Weak DBI support for MSSQL (was rails and MSSQL transactions)
There is something seriously wrong with DBI support for SQL server. I have tried both DBI::ODBC and DBI:ADO and the following code always fails. ---------- Code require ''dbi'' host= "DEVELOPMENT_DATABASE_SERVER" database="adventureworks2000" username="someusername" password="Somepwd" db = DBI.connect("DBI:ADO:Provider=SQLOLEDB;Data
2007 Sep 04
0
RoR on windows with MS SQL Server DBI:ADO driver Memory Leak
i''m running ruby 1.8.5 and rails 1.2.3 on windows with a bunch of mongrels that are proxybalanced via apache 2.2.4 the db adapter i''m using is the sqlserver one in ADO mode. so it''s using win32ole. when a mongrel service is freshly started it consumes about 40 megs of ram. but about each and every request is leaking memory. about 20 megs per hour(!!!). so after half a
2005 Dec 15
2
Migrations on SQLServer ??
Hello all, I''ve spent a while looking for a sniff of this on the wiki or google at large.. Does migrations work for SQL Server on 1.0 ? -- ------------------------------ Joyeux Noël ------------------------------ Peter Fitzgibbons _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2017 Feb 21
4
Problems with my simple write conf files method
I have been creating conf files and similar with the following method that I picked up (I think from psotfix docs): cat <<EOF>>/etc/aliases || exit 1 root: youremail EOF See: http://medon.htt-consult.com/Centos7-armv7.html But with postfixadmin I stumbled onto a problem. The following: cat <<EOF>/usr/share/postfixadmin/config.local.php || exit 1 <?php
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
2008 Dec 03
4
ActiveX & ADO?
Hi Folks I recently got back the message below form a company I suggested supporting WINE with their software. Is there any answer - or is it, as they suggest, a lost cause? The error I get from WINE is: RTG Bills (title) ADO error 1AD ActiveX component can't create object [OK](button) Is there anyway to have ActiveX & ADO work with WINE? Regards, Morgan. > No, RTG Bills won't
2006 Jun 28
0
RV: RV: error in VB6 aplication
This error appears when y try to login into a SQL server . I run the aplication Silverlab.exe ( in VB6) , and in the first windows appear a image and two butonms 1 for exit an 2 to login ... I press a bottom "Login " and .... in a windows the wine put: Database Engine Open Error ! Server Name : Connection_String = Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial
2003 Nov 19
0
Map and Guide & ADO
Hello! Well, I actually have dcom98 installed. I've started it with option /c (that unpacks all the files in one directory) and copied the files to windows/system. Otherwise the installation of dcom98 failed. But dcom should work as Internet Explorer needs it - and IE works fine. Might it be, that I should try an older version of wine? I've the impression that some programs worked better
2017 Feb 21
1
Problems with my simple write conf files method
On 02/21/2017 11:03 AM, KM wrote: > I have never used this method per se, but in general in any script if you want to preserve the $ (dollar sign) or variable name you must use a backslash to preserve it. For example change your $CONF to \$CONF. The $CONF should then be printed into your conf file. Thanks that worked. > KM > > From: Robert Moskowitz <rgm at