Thanks for your inquiry.
Please ensure you have followed the steps found on applying licenses documentation here for Aspose.Words and here for Aspose.Pdf
If this does not help, could you please elaborate further regarding how exactly the licese is not working? Is it throwing any exception? or does it just leave an evaluation watermark in your generated documents?
If you are including the license file in the folder with the Aspose.Words.dll/Aspose.Pdf.dll you may want to try including it with your application .exe instead. If this has no effect you should then try referencing the license by an explict path (pass the full path to your license file to the SetLicense method) and see if that works.