[Dbix-class] SQL server 2000 giving error about System Tables
Ascii King
tech at swattermatter.com
Wed Sep 16 15:58:22 GMT 2009
Matt Whipple wrote:
> If you're not going to use them then just remove the classes for them.
>
Thank you both for the help. I found a work-around at the time, but now
I want to set it up properly. I have learned a little bit, so I think I
am better able to describe my problem.
I get the following errors when I try to automatically load a schema
from a MSSQL 2000 server.
DBIx::Class::Row::get_column(): Can't fetch data as class method at
(eval 1413) line 6
Compilation failed in require at
C:/Perl/site/lib/Class/C3/Componentised.pm line 128.
at C:/Perl/site/lib/DBIx/Class/Schema/Loader.pm line 137
It works from MSSQL 2005 or 2008 servers, though. I also get a whole
slew of warnings as it tries to read the system tables. Those are the
warnings that I posted previously in this thread. I have the most
up-to-date
DBIx::Class and DBIx::Class::Schema::Loader. However, when installing
the Loader, I get an error from the DBD::Sybase module. It wants to know
where my Sybase installation is. Since I need sybase for this, do I have
to install it? It sounds like a dumb question, but I'm not actually sure.
I am installing this on a Windows XP system, with the server located
offsite and I have an ODBC connection to it.
Also, if I copy the tables to a MSSQL 2005 or 2008 dtaabase, it all
works fine. Then I just change my ODBC to point back to the original
database and everything runs. This is a pain, though.
More information about the DBIx-Class
mailing list