Customized color categories not working on production virtual machine

I created two color categories and wrote VB code to assign them to outlook emails in invoke code activity. It works well on DEV virtual machine(VM). After move the project to production VM, the color categories are not working. does any one know the possible cause?

Thanks in advance,

Yi