[Dbix-class] _no_scope_identity_query error

Peter Rabbitson rabbit+dbic at rabbit.us
Thu Oct 11 14:58:32 GMT 2012


On Tue, Oct 09, 2012 at 11:26:57PM -0400, Paul Rogers wrote:
> 
> 
> 
> 
> I'm running ActivePerl v5.16.1 on Win2008 R2 x64. Anyone see the below error message before?  Running same script on x86 machine produces no such error. P:\test>perl "test.pl"
>     Can't locate object method "_no_scope_identity_query" via package "DBIx::Class::
>     Storage::DBI::ODBC::Microsoft_SQL_Server" at C:/Perl64/site/lib/DBIx/Class/Stora
>     ge/DBI/ODBC/Microsoft_SQL_Server.pm line 255. Cheers,Paul ---  		 	   		  

Trap the error (with an eval or something) and dump the contents of your 
%INC *once the problem occurs*. Look carefully at the paths of all 
loaded libs. I bet you are being bitten by a stale "oh we will just 
change something and keep this .pm copy in our tree".

Cheers



More information about the DBIx-Class mailing list