Non-Existant Subprogram

I know I posted this issue a few years ago with an issue I was having in V6, but I have also seen this issue in V7, and now in V12.  I created a subprog in a SRC file in X3.  I compiled the source file, then went into X3 subprograms, and tried to add the subprogram that I just created.  When I try to do this, I get a message "Non existant subprogram".  I have verified that the subprogram exists and has been compiled, but it keeps saying it's not a valid subprogram.  The end goal is to create a subprogram so I can publish it as a web service.  Does anybody know what is causing this?