Sage 300 crashes on company when sql database was restored from production to test

SOLVED

We restored a backup of one of our companies to test and now when we enter sage login info it just crashes with no error.  Other companies work so it has to be the database but it is the same as in production.  I change the database setup to go straight to the sql server rather than the odbc connection, but it does the same thing.  Any ideas?