Very well might be collation. Look in the master database for the sp_MSforeachdb reference under programming. If you have a server with non-standard collation...
Start SQL Server configuration manager and stop the sql instance. Then, modify the startup parameters by adding ;-m to the end and restart the server. ...