Forum: Ruby on Rails edge_rails, sqlserver, and an error!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Adam B. (Guest)
on 2006-03-30 02:15
(Received via mailing list)
Hello,

Using Edge_Rails and SQL Server I get an error in my schema.rb file
after
issuing "rake migrate".

database.yml
---------------------------------
development:
  adapter: sqlserver
  database: triage_development
  username: user
  password: pass
  host: server

schema.rb
---------------------------------
# Could not dump table "categories" because of following
DBI::DatabaseError
#   EOF
    OLE error code:800A0E78 in ADODB.Recordset
      Operation is not allowed when the object is closed.
    HRESULT error code:0x80020009
      Exception occurred.

Any ideas?  If you need more info, I'll be happy to supply it.
I probably missed something, but I'm not seeing it.
Thanks for lending an eye!
Anonymous (Guest)
on 2006-04-21 15:21
(Received via mailing list)
Hi,

I have also met this error on tables without any index (on relation
tables created by older Rails version). So I have created an unique
index on its keys and the error disappeared.

Regards,
Karel
Anonymous (Guest)
on 2006-05-10 04:19
(Received via mailing list)
home equity line of credit
This topic is locked and can not be replied to.