How to look up a business state id number to file state tax

when you dont have a w2