If I understand you correctly, you are placing asp code in the embedded
content text box. You can not "put" an asp page in this box. You can
only put in HTML, VBScript, JavaScript or XML. If you wish to host an
asp page, you must check Get content from this Link and place the url to
the asp page. Asp uses VBScript, but Asp is not VBScript and the engine
that creates the web part from the definition will not recognize asp
objects natively.