How are you trying to migrate the trigger and the test to the production Org.
There are three ways I have used to migrate code from sandbox to Production 1) Ant (which I don't use any more since it doesn't gives me the ability to validate the migration). 2) Eclipse which is really good. 3) SFDC Inbound and Outbound change set. (http://login.salesforce.com/help/doc/en/changesets_about_outbound.htm)
Do make sure that all the dependend code objects and settings are already present in the production Env. Try to set your self in the debug log so that if there is any error then you would be able to get more details about it
There are three ways I have used to migrate code from sandbox to Production
1) Ant (which I don't use any more since it doesn't gives me the ability to validate the migration).
2) Eclipse which is really good.
3) SFDC Inbound and Outbound change set. (http://login.salesforce.com/help/doc/en/changesets_about_outbound.htm)
Do make sure that all the dependend code objects and settings are already present in the production Env. Try to set your self in the debug log so that if there is any error then you would be able to get more details about it
Thanks
Utsav