This topic is locked

Header.asp

1/22/2010 1:50:16 AM
ASPRunnerPro General questions
R
Roger author

I am in a weird way (ok, not me but my project...).
I have a header.asp file (it's very simple - pasted below). I placed it in the projectfiles\asprunner\output\include folder as per this video: How to integrate ASPRunnerPro application into existing website
Now I have a footer.asp file in the output as well.
When I build the project, they do not get copied to the web folder. I can copy them and this is what happens:

  1. the FOOOTER.ASP works fine, just displays the footer - yeah,
  2. the HEADER.ASP seems to get loaded (executed) twice. In other words, my header is displayed Twice.
    This I've never seen before. So, I took my Footer.asp, copied and renamed it to Header.asp (thinking something goofy with header.asp). Remember, the footer.asp works fine. Now when it is copied & renamed to header.asp, the same thing. Displayed twice.
    I've checked this forum and I seem to be doing this correctly. Can anyone point out the problem/solution?
    Thanks.
    HEADER.ASP (this is exactly what is there).
    <TABLE width=100% height="3%" border=0 bgColor=#6598B7>

    <TBODY>

    <TR>

    <TD align=left><FONT class="top">My Sample Web Site - used to development and testing...</FONT>

    </TD>

    </TR>

    </TBODY>

    </TABLE>

Sergey Kornilov admin 1/22/2010

It should not work this way. I suggest to post your project to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL.

R
Roger author 1/22/2010



It should not work this way. I suggest to post your project to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL.


I agree, this is not what is supposed to happen - not at all.
Anyway, I've somewhat resolved the issue. I went to a backup, restored it and regenned. The project (of course without some updates) worked fine. I put the Header.asp and Footer.asp into the .../Include directory, regenned and tried the app.
App worked, no header or footer. I manually copied them and all is well. Header appears only once and the footer (which was fine) works as well.
If this is the least of the effort, then nto a biggy as I just made a cmd file that automatically copies them over if they don't exist.
I'm going to try another "Test" project and see what happens.
btw: normally I would post this, but it uses several com components (it's a web mail app) that we developed to handle mail, authenitcation and such type objects for exchange as well as sql so it would not work so well to post it anyway. Thanks tho...