License Issue with Naïve Code

I have two solutions running on one server, one is a managed code windows based application, the second is old mainframe code that is running in naïve code.  My managed code application runs fine, but when I try to start one of the naïve code program .exe, I get an error message 245 no valid product license.  Do I have something setup incorrect?  Confused how one solution can find the license but not the other.